Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

CurrentStateAsChangesOptions.md

50 lines1.0 KB

1---
2id: CurrentStateAsChangesOptions
3title: CurrentStateAsChangesOptions
4---
5​
6Defined in: [packages/db/src/types.ts:1137](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1137)
7​
8Options for getting current state as changes
9​
10## Properties
11​
12### limit?
13​
14```ts
15optional limit: number;
16```
17​
18Defined in: [packages/db/src/types.ts:1141](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1141)
19​
20***
21​
22### optimizedOnly?
23​
24```ts
25optional optimizedOnly: boolean;
26```
27​
28Defined in: [packages/db/src/types.ts:1142](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1142)
29​
30***
31​
32### orderBy?
33​
34```ts
35optional orderBy: OrderBy;
36```
37​
38Defined in: [packages/db/src/types.ts:1140](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1140)
39​
40***
41​
42### where?
43​
44```ts
45optional where: BasicExpression<boolean>;
46```
47​
48Defined in: [packages/db/src/types.ts:1139](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1139)
49​
50Pre-compiled expression for filtering the current state