function queryCollectionOptions<TItem, TError, TQueryKey, TKey, TInsertInput>(config): CollectionConfig<TItem, string | number, StandardSchemaV1<unknown, unknown>, TItem> & object
function queryCollectionOptions<TItem, TError, TQueryKey, TKey, TInsertInput>(config): CollectionConfig<TItem, string | number, StandardSchemaV1<unknown, unknown>, TItem> & object
Defined in: packages/query-db-collection/src/query.ts:277
Creates query collection options for use with a standard Collection
• TItem extends object
• TError = unknown
• TQueryKey extends readonly unknown[] = readonly unknown[]
• TKey extends string | number = string | number
• TInsertInput extends object = TItem
QueryCollectionConfig<TItem, TError, TQueryKey>
Configuration options for the Query collection
CollectionConfig<TItem, string | number, StandardSchemaV1<unknown, unknown>, TItem> & object
Collection options with utilities
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.