# DatabaseInfo

Defined in: [packages/indexeddb-db-collection/src/indexeddb.ts:198](https://github.com/TanStack/db/blob/main/packages/indexeddb-db-collection/src/indexeddb.ts#L198)

Database information returned by getDatabaseInfo()

## Properties

### estimatedSize?

```ts
optional estimatedSize: number;
```

Defined in: [packages/indexeddb-db-collection/src/indexeddb.ts:203](https://github.com/TanStack/db/blob/main/packages/indexeddb-db-collection/src/indexeddb.ts#L203)

Origin-wide storage usage in bytes, including other databases and caches.

***

### name

```ts
name: string;
```

Defined in: [packages/indexeddb-db-collection/src/indexeddb.ts:199](https://github.com/TanStack/db/blob/main/packages/indexeddb-db-collection/src/indexeddb.ts#L199)

***

### objectStores

```ts
objectStores: string[];
```

Defined in: [packages/indexeddb-db-collection/src/indexeddb.ts:201](https://github.com/TanStack/db/blob/main/packages/indexeddb-db-collection/src/indexeddb.ts#L201)

***

### version

```ts
version: number;
```

Defined in: [packages/indexeddb-db-collection/src/indexeddb.ts:200](https://github.com/TanStack/db/blob/main/packages/indexeddb-db-collection/src/indexeddb.ts#L200)
