Skip to main content
Version: 2.0.0-alpha

Interface: FetchCollectionProps<M>

Type parameters

Name
M

Properties

collection

collection: EntityCollection<M, string, User> | ResolvedEntityCollection<M>

Defined in

lib/src/models/datasource.ts:30


filter

Optional filter: Partial<Record<Extract<keyof M, string>, [WhereFilterOp, any]>>

Defined in

lib/src/models/datasource.ts:31


limit

Optional limit: number

Defined in

lib/src/models/datasource.ts:32


order

Optional order: "asc" | "desc"

Defined in

lib/src/models/datasource.ts:36


orderBy

Optional orderBy: string

Defined in

lib/src/models/datasource.ts:34


path

path: string

Defined in

lib/src/models/datasource.ts:29


searchString

Optional searchString: string

Defined in

lib/src/models/datasource.ts:35


startAfter

Optional startAfter: any[]

Defined in

lib/src/models/datasource.ts:33