<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [DatabaseInfoSuccess](./git-documentdb.databaseinfosuccess.md)

## DatabaseInfoSuccess type

Database information (success)

<b>Signature:</b>

```typescript
export declare type DatabaseInfoSuccess = {
    ok: true;
    is_new: boolean;
    is_clone: boolean;
    is_created_by_gitddb: boolean;
    is_valid_version: boolean;
};
```

## Remarks

- ok: Boolean which shows if a database is successfully opened.

- is\_new: Whether a repository is newly created or existing.

- is\_clone: Whether a repository is cloned from a remote repository or not.

- is\_created\_by\_gitddb: Whether a repository is created by GitDocumentDB or other means.

- is\_valid\_version: Whether a repository version equals to the current databaseVersion of GitDocumentDB. The version is described in .git/description.

