@@ -364,13 +364,14 @@ export type QueryFilterConstraint =
364
364
| QueryCompositeFilterConstraint ;
365
365
366
366
/**
367
- * Creates a {@link QueryCompositeFilterConstraint} that performs a logical OR
368
- * of all the provided {@link QueryFilterConstraint}s.
367
+ * Creates a new {@link QueryCompositeFilterConstraint} that is a disjunction of
368
+ * the given filter constraints. A disjunction filter includes a document if it
369
+ * satisfies any of the given filters.
369
370
*
370
- * @param queryConstraints - Optional. The { @link QueryFilterConstraint}s
371
- * for OR operation. These must be created with calls to { @link where},
372
- * {@link or}, or {@link and}.
373
- * @returns The created {@link QueryCompositeFilterConstraint}.
371
+ * @param queryConstraints - Optional. The list of
372
+ * { @link QueryFilterConstraint}s to perform a disjunction for. These must be
373
+ * created with calls to { @link where}, {@link or}, or {@link and}.
374
+ * @returns The newly created {@link QueryCompositeFilterConstraint}.
374
375
* @internal TODO remove this internal tag with OR Query support in the server
375
376
*/
376
377
export function or (
@@ -388,13 +389,14 @@ export function or(
388
389
}
389
390
390
391
/**
391
- * Creates a {@link QueryCompositeFilterConstraint} that performs a logical AND
392
- * of all the provided {@link QueryFilterConstraint}s.
392
+ * Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
393
+ * the given filter constraints. A conjunction filter includes a document if it
394
+ * satisfies all of the given filters.
393
395
*
394
- * @param queryConstraints - Optional. The { @link QueryFilterConstraint}s
395
- * for AND operation. These must be created with calls to { @link where},
396
- * {@link or}, or {@link and}.
397
- * @returns The created {@link QueryCompositeFilterConstraint}.
396
+ * @param queryConstraints - Optional. The list of
397
+ * { @link QueryFilterConstraint}s to perform a conjunction for. These must be
398
+ * created with calls to { @link where}, {@link or}, or {@link and}.
399
+ * @returns The newly created {@link QueryCompositeFilterConstraint}.
398
400
* @internal TODO remove this internal tag with OR Query support in the server
399
401
*/
400
402
export function and (
0 commit comments