@textile/hub > Query > and
Query.and() method
and concatenates a new condition in an existing field.
Signature:
and(fieldPath: string): Criterion;
Parameters
Parameter | Type | Description |
---|---|---|
fieldPath | string | The field name to query on. Can be a hierarchical path. |
Returns:
Criterion