# DehydrateDbClientOptions

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
type DehydrateDbClientOptions = object;
```

Defined in: [packages/db/src/client.ts:195](https://github.com/TanStack/db/blob/main/packages/db/src/client.ts#L195)

## Properties

### shouldDehydrateCollection?

```ts
optional shouldDehydrateCollection?: (collection) => boolean;
```

Defined in: [packages/db/src/client.ts:196](https://github.com/TanStack/db/blob/main/packages/db/src/client.ts#L196)

#### Parameters

##### collection

[`Collection`](../interfaces/Collection.md)

#### Returns

`boolean`

***

### shouldDehydrateLiveQuery?

```ts
optional shouldDehydrateLiveQuery?: (query) => boolean;
```

Defined in: [packages/db/src/client.ts:197](https://github.com/TanStack/db/blob/main/packages/db/src/client.ts#L197)

#### Parameters

##### query

[`DbClientLiveQuery`](DbClientLiveQuery.md)

#### Returns

`boolean`
