QueryConfig
The configuration for a query, specifying the database, source, predicate, sort descriptor, schema, id, context, and limit.
Definition
Type: QueryConfig = { ctx?: CTX; db: GoatDB<Schema>; id?: string; limit?: number; predicate?: Predicate<IS, CTX>; schema?: IS; sortBy?: SortDescriptor<OS, CTX> | keyof SchemaDataType<OS>; sortDescending?: boolean; source: QuerySource<IS, OS> }