react-query-firebase / firestore / QueryElement
Type Alias: QueryElement<DbModelType>
ts
type QueryElement<DbModelType> = Partial<QueryCompositeFilterConstraint> & object;
Defined in: src/firestore/useCompositeFilter.ts:15
Type declaration
children?
ts
optional children: QueryElement[];
field?
ts
optional field: keyof DbModelType & object;
op?
ts
optional op: WhereFilterOp;
value?
ts
optional value: DbModelType[keyof DbModelType];
Type Parameters
• DbModelType extends CompositeFilterDocumentData
= CompositeFilterDocumentData