DbNotation
The db-wide notation that loaders use for operators and orders they declare with
true
Import
import { DbNotation } from "@hyper-fetch/db"
Source
Package
Preview
type Notation = {
orderBy?: (field: string, direction: SortDirection) => AnyRequestPatch;
where?: Partial<Record<ComparisonOperator, (field: string, value: unknown) => AnyRequestPatch>>;
}
Structure
DbNotation
| Name | Type | Description |
|---|---|---|
| where | | |
| orderBy | |
