Skip to main content
Version: v10.0.0

gt

Matches rows whose field is greater than the value


Import
import { gt } from "@hyper-fetch/db"

Parameters​

gt<Name, Value>(ref: FieldRef<Name, Value>, value: NoInferValue<NonNullable<Value>>)
Parameters
NameTypeDescription
ref
FieldRef<Name, Value>
value
NoInferValue<NonNullable<Value>>

Returns​

type Condition<Tokens,Eq> = {
__eq?: Eq;
__tokens?: Tokens;
kind: condition;
node: ExpressionNode;
}
gt
NameTypeDescription
__eq
Eq

Type-only marker, never set at runtime

__tokens
Tokens

Type-only marker, never set at runtime

kind
condition
node
ExpressionNode