File: LoadSubsetOptions.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Framework
React
Version
Latest
Search...
+ K
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
Framework
React
Version
Latest
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
On this page
Copy Markdown
Type Alias: LoadSubsetOptions
=============================
ts
type LoadSubsetOptions = object;
type LoadSubsetOptions = object;
Defined in: packages/db/src/types.ts:237
Properties
----------
### limit?
ts
optional limit: number;
optional limit: number;
Defined in: packages/db/src/types.ts:243
The limit of the data to load
ts
optional orderBy: OrderBy;
optional orderBy: OrderBy;
Defined in: packages/db/src/types.ts:241
The order by clause to sort the data
ts
optional subscription: Subscription;
optional subscription: Subscription;
Defined in: packages/db/src/types.ts:252
The subscription that triggered the load. Advanced sync implementations can use this for:
Available when called from CollectionSubscription, may be undefined for direct calls
ts
optional where: BasicExpression<boolean>;
optional where: BasicExpression<boolean>;
Defined in: packages/db/src/types.ts:239
The where expression to filter the data
