Versions in this module Expand all Collapse all v0 v0.1.10 Dec 11, 2024 v0.1.9 Nov 10, 2024 v0.1.8 Nov 10, 2024 v0.1.7 Nov 10, 2024 v0.1.6 Nov 10, 2024 v0.1.5 Nov 10, 2024 v0.1.4 Nov 10, 2024 v0.1.3 Nov 10, 2024 v0.1.2 Nov 10, 2024 v0.1.1 Nov 9, 2024 v0.1.0 Nov 9, 2024 Changes in this version + type BinaryExpr struct + Op Op + X Expr + Y Expr + func (e *BinaryExpr) Negate() P + func (e *BinaryExpr) String() string + type BoolP interface + func BoolAnd(x, y BoolP, z ...BoolP) BoolP + func BoolEQ(v bool) BoolP + func BoolNEQ(v bool) BoolP + func BoolNil() BoolP + func BoolNot(x BoolP) BoolP + func BoolNotNil() BoolP + func BoolOr(x, y BoolP, z ...BoolP) BoolP + type BytesP interface + func BytesAnd(x, y BytesP, z ...BytesP) BytesP + func BytesEQ(v []byte) BytesP + func BytesNEQ(v []byte) BytesP + func BytesNil() BytesP + func BytesNot(x BytesP) BytesP + func BytesNotNil() BytesP + func BytesOr(x, y BytesP, z ...BytesP) BytesP + type CallExpr struct + Args []Expr + Func Func + func (e *CallExpr) Negate() P + func (e *CallExpr) String() string + type Edge struct + Name string + func (e *Edge) String() string + type Expr interface + type Field struct + Name string + func F(name string) *Field + func (f *Field) String() string + type Fielder interface + Field func(string) P + type Float32P interface + func Float32And(x, y Float32P, z ...Float32P) Float32P + func Float32EQ(v float32) Float32P + func Float32GT(v float32) Float32P + func Float32GTE(v float32) Float32P + func Float32LT(v float32) Float32P + func Float32LTE(v float32) Float32P + func Float32NEQ(v float32) Float32P + func Float32Nil() Float32P + func Float32Not(x Float32P) Float32P + func Float32NotNil() Float32P + func Float32Or(x, y Float32P, z ...Float32P) Float32P + type Float64P interface + func Float64And(x, y Float64P, z ...Float64P) Float64P + func Float64EQ(v float64) Float64P + func Float64GT(v float64) Float64P + func Float64GTE(v float64) Float64P + func Float64LT(v float64) Float64P + func Float64LTE(v float64) Float64P + func Float64NEQ(v float64) Float64P + func Float64Nil() Float64P + func Float64Not(x Float64P) Float64P + func Float64NotNil() Float64P + func Float64Or(x, y Float64P, z ...Float64P) Float64P + type Func string + const FuncContains + const FuncContainsFold + const FuncEqualFold + const FuncHasEdge + const FuncHasPrefix + const FuncHasSuffix + type Int16P interface + func Int16And(x, y Int16P, z ...Int16P) Int16P + func Int16EQ(v int16) Int16P + func Int16GT(v int16) Int16P + func Int16GTE(v int16) Int16P + func Int16LT(v int16) Int16P + func Int16LTE(v int16) Int16P + func Int16NEQ(v int16) Int16P + func Int16Nil() Int16P + func Int16Not(x Int16P) Int16P + func Int16NotNil() Int16P + func Int16Or(x, y Int16P, z ...Int16P) Int16P + type Int32P interface + func Int32And(x, y Int32P, z ...Int32P) Int32P + func Int32EQ(v int32) Int32P + func Int32GT(v int32) Int32P + func Int32GTE(v int32) Int32P + func Int32LT(v int32) Int32P + func Int32LTE(v int32) Int32P + func Int32NEQ(v int32) Int32P + func Int32Nil() Int32P + func Int32Not(x Int32P) Int32P + func Int32NotNil() Int32P + func Int32Or(x, y Int32P, z ...Int32P) Int32P + type Int64P interface + func Int64And(x, y Int64P, z ...Int64P) Int64P + func Int64EQ(v int64) Int64P + func Int64GT(v int64) Int64P + func Int64GTE(v int64) Int64P + func Int64LT(v int64) Int64P + func Int64LTE(v int64) Int64P + func Int64NEQ(v int64) Int64P + func Int64Nil() Int64P + func Int64Not(x Int64P) Int64P + func Int64NotNil() Int64P + func Int64Or(x, y Int64P, z ...Int64P) Int64P + type Int8P interface + func Int8And(x, y Int8P, z ...Int8P) Int8P + func Int8EQ(v int8) Int8P + func Int8GT(v int8) Int8P + func Int8GTE(v int8) Int8P + func Int8LT(v int8) Int8P + func Int8LTE(v int8) Int8P + func Int8NEQ(v int8) Int8P + func Int8Nil() Int8P + func Int8Not(x Int8P) Int8P + func Int8NotNil() Int8P + func Int8Or(x, y Int8P, z ...Int8P) Int8P + type IntP interface + func IntAnd(x, y IntP, z ...IntP) IntP + func IntEQ(v int) IntP + func IntGT(v int) IntP + func IntGTE(v int) IntP + func IntLT(v int) IntP + func IntLTE(v int) IntP + func IntNEQ(v int) IntP + func IntNil() IntP + func IntNot(x IntP) IntP + func IntNotNil() IntP + func IntOr(x, y IntP, z ...IntP) IntP + type NaryExpr struct + Op Op + Xs []Expr + func (e *NaryExpr) Negate() P + func (e *NaryExpr) String() string + type Op int + const OpAnd + const OpEQ + const OpGT + const OpGTE + const OpIn + const OpLT + const OpLTE + const OpNEQ + const OpNot + const OpNotIn + const OpOr + func (o Op) String() string + type OtherP interface + func OtherAnd(x, y OtherP, z ...OtherP) OtherP + func OtherEQ(v driver.Valuer) OtherP + func OtherNEQ(v driver.Valuer) OtherP + func OtherNil() OtherP + func OtherNot(x OtherP) OtherP + func OtherNotNil() OtherP + func OtherOr(x, y OtherP, z ...OtherP) OtherP + type P interface + Negate func() P + func And(x, y P, z ...P) P + func EQ(x, y Expr) P + func FieldContains(name, substr string) P + func FieldContainsFold(name, substr string) P + func FieldEQ(name string, v any) P + func FieldEqualFold(name, v string) P + func FieldGT(name string, v any) P + func FieldGTE(name string, v any) P + func FieldHasPrefix(name, prefix string) P + func FieldHasSuffix(name, suffix string) P + func FieldIn(name string, vs ...any) P + func FieldLT(name string, v any) P + func FieldLTE(name string, v any) P + func FieldNEQ(name string, v any) P + func FieldNil(name string) P + func FieldNotIn(name string, vs ...any) P + func FieldNotNil(name string) P + func GT(x, y Expr) P + func GTE(x, y Expr) P + func HasEdge(name string) P + func HasEdgeWith(name string, p ...P) P + func LT(x, y Expr) P + func LTE(x, y Expr) P + func NEQ(x, y Expr) P + func Not(x P) P + func Or(x, y P, z ...P) P + type StringP interface + func StringAnd(x, y StringP, z ...StringP) StringP + func StringEQ(v string) StringP + func StringGT(v string) StringP + func StringGTE(v string) StringP + func StringLT(v string) StringP + func StringLTE(v string) StringP + func StringNEQ(v string) StringP + func StringNil() StringP + func StringNot(x StringP) StringP + func StringNotNil() StringP + func StringOr(x, y StringP, z ...StringP) StringP + type TimeP interface + func TimeAnd(x, y TimeP, z ...TimeP) TimeP + func TimeEQ(v time.Time) TimeP + func TimeGT(v time.Time) TimeP + func TimeGTE(v time.Time) TimeP + func TimeLT(v time.Time) TimeP + func TimeLTE(v time.Time) TimeP + func TimeNEQ(v time.Time) TimeP + func TimeNil() TimeP + func TimeNot(x TimeP) TimeP + func TimeNotNil() TimeP + func TimeOr(x, y TimeP, z ...TimeP) TimeP + type Uint16P interface + func Uint16And(x, y Uint16P, z ...Uint16P) Uint16P + func Uint16EQ(v uint16) Uint16P + func Uint16GT(v uint16) Uint16P + func Uint16GTE(v uint16) Uint16P + func Uint16LT(v uint16) Uint16P + func Uint16LTE(v uint16) Uint16P + func Uint16NEQ(v uint16) Uint16P + func Uint16Nil() Uint16P + func Uint16Not(x Uint16P) Uint16P + func Uint16NotNil() Uint16P + func Uint16Or(x, y Uint16P, z ...Uint16P) Uint16P + type Uint32P interface + func Uint32And(x, y Uint32P, z ...Uint32P) Uint32P + func Uint32EQ(v uint32) Uint32P + func Uint32GT(v uint32) Uint32P + func Uint32GTE(v uint32) Uint32P + func Uint32LT(v uint32) Uint32P + func Uint32LTE(v uint32) Uint32P + func Uint32NEQ(v uint32) Uint32P + func Uint32Nil() Uint32P + func Uint32Not(x Uint32P) Uint32P + func Uint32NotNil() Uint32P + func Uint32Or(x, y Uint32P, z ...Uint32P) Uint32P + type Uint64P interface + func Uint64And(x, y Uint64P, z ...Uint64P) Uint64P + func Uint64EQ(v uint64) Uint64P + func Uint64GT(v uint64) Uint64P + func Uint64GTE(v uint64) Uint64P + func Uint64LT(v uint64) Uint64P + func Uint64LTE(v uint64) Uint64P + func Uint64NEQ(v uint64) Uint64P + func Uint64Nil() Uint64P + func Uint64Not(x Uint64P) Uint64P + func Uint64NotNil() Uint64P + func Uint64Or(x, y Uint64P, z ...Uint64P) Uint64P + type Uint8P interface + func Uint8And(x, y Uint8P, z ...Uint8P) Uint8P + func Uint8EQ(v uint8) Uint8P + func Uint8GT(v uint8) Uint8P + func Uint8GTE(v uint8) Uint8P + func Uint8LT(v uint8) Uint8P + func Uint8LTE(v uint8) Uint8P + func Uint8NEQ(v uint8) Uint8P + func Uint8Nil() Uint8P + func Uint8Not(x Uint8P) Uint8P + func Uint8NotNil() Uint8P + func Uint8Or(x, y Uint8P, z ...Uint8P) Uint8P + type UintP interface + func UintAnd(x, y UintP, z ...UintP) UintP + func UintEQ(v uint) UintP + func UintGT(v uint) UintP + func UintGTE(v uint) UintP + func UintLT(v uint) UintP + func UintLTE(v uint) UintP + func UintNEQ(v uint) UintP + func UintNil() UintP + func UintNot(x UintP) UintP + func UintNotNil() UintP + func UintOr(x, y UintP, z ...UintP) UintP + type UnaryExpr struct + Op Op + X Expr + func (e *UnaryExpr) Negate() P + func (e *UnaryExpr) String() string + type Value struct + V any + func (v *Value) String() string + type ValueP interface + func ValueAnd(x, y ValueP, z ...ValueP) ValueP + func ValueEQ(v driver.Valuer) ValueP + func ValueNEQ(v driver.Valuer) ValueP + func ValueNil() ValueP + func ValueNot(x ValueP) ValueP + func ValueNotNil() ValueP + func ValueOr(x, y ValueP, z ...ValueP) ValueP