FieldRef
A reference to one row field, received by query callbacks such as
where((post) => eq(post.teamId, 1))
.
Value
is the field's type, so operators accept only values of that type.
Import
import { FieldRef } from "@hyper-fetch/db"
Source
Package
Preview
type FieldRef<Name,Value> = {
__value?: Value;
field: Name;
kind: field;
}
Structure
FieldRef
| Name | Type | Description |
|---|---|---|
| __value | | Type-only marker, never set at runtime |
| field | | |
| kind | |
