and
Matches rows that match every condition. Top-level
and
is where the db splits a query: the conditions a loader
declares are sent to the backend and the rest run on the rows the db holds.
Import
import { and } from "@hyper-fetch/db"
Source
Package
Parameters
and<Conditions>(...conditions: Conditions)
Parameters
| Name | Type | Description |
|---|---|---|
| conditions | |
Returns
type Condition<Tokens,Eq> = {
__eq?: Eq;
__tokens?: Tokens;
kind: condition;
node: ExpressionNode;
}
and
| Name | Type | Description |
|---|---|---|
| __eq | | Type-only marker, never set at runtime |
| __tokens | | Type-only marker, never set at runtime |
| kind | | |
| node | |
