Versions in this module Expand all Collapse all v0 v0.1.1 May 3, 2024 Changes in this version + const FieldBoolOptional + const FieldBytesOptional + const FieldFloatOptional + const FieldID + const FieldIntOptional + const FieldStrOptional + const FieldTimeOptional + const FieldUUIDOptional + const FieldUintOptional + const Label + const Table + var Columns = []string + func And(predicates ...predicate.MessageWithOptionals) predicate.MessageWithOptionals + func BoolOptional(v bool) predicate.MessageWithOptionals + func BoolOptionalEQ(v bool) predicate.MessageWithOptionals + func BoolOptionalIsNil() predicate.MessageWithOptionals + func BoolOptionalNEQ(v bool) predicate.MessageWithOptionals + func BoolOptionalNotNil() predicate.MessageWithOptionals + func BytesOptional(v []byte) predicate.MessageWithOptionals + func BytesOptionalEQ(v []byte) predicate.MessageWithOptionals + func BytesOptionalGT(v []byte) predicate.MessageWithOptionals + func BytesOptionalGTE(v []byte) predicate.MessageWithOptionals + func BytesOptionalIn(vs ...[]byte) predicate.MessageWithOptionals + func BytesOptionalIsNil() predicate.MessageWithOptionals + func BytesOptionalLT(v []byte) predicate.MessageWithOptionals + func BytesOptionalLTE(v []byte) predicate.MessageWithOptionals + func BytesOptionalNEQ(v []byte) predicate.MessageWithOptionals + func BytesOptionalNotIn(vs ...[]byte) predicate.MessageWithOptionals + func BytesOptionalNotNil() predicate.MessageWithOptionals + func FloatOptional(v float32) predicate.MessageWithOptionals + func FloatOptionalEQ(v float32) predicate.MessageWithOptionals + func FloatOptionalGT(v float32) predicate.MessageWithOptionals + func FloatOptionalGTE(v float32) predicate.MessageWithOptionals + func FloatOptionalIn(vs ...float32) predicate.MessageWithOptionals + func FloatOptionalIsNil() predicate.MessageWithOptionals + func FloatOptionalLT(v float32) predicate.MessageWithOptionals + func FloatOptionalLTE(v float32) predicate.MessageWithOptionals + func FloatOptionalNEQ(v float32) predicate.MessageWithOptionals + func FloatOptionalNotIn(vs ...float32) predicate.MessageWithOptionals + func FloatOptionalNotNil() predicate.MessageWithOptionals + func ID(id int) predicate.MessageWithOptionals + func IDEQ(id int) predicate.MessageWithOptionals + func IDGT(id int) predicate.MessageWithOptionals + func IDGTE(id int) predicate.MessageWithOptionals + func IDIn(ids ...int) predicate.MessageWithOptionals + func IDLT(id int) predicate.MessageWithOptionals + func IDLTE(id int) predicate.MessageWithOptionals + func IDNEQ(id int) predicate.MessageWithOptionals + func IDNotIn(ids ...int) predicate.MessageWithOptionals + func IntOptional(v int8) predicate.MessageWithOptionals + func IntOptionalEQ(v int8) predicate.MessageWithOptionals + func IntOptionalGT(v int8) predicate.MessageWithOptionals + func IntOptionalGTE(v int8) predicate.MessageWithOptionals + func IntOptionalIn(vs ...int8) predicate.MessageWithOptionals + func IntOptionalIsNil() predicate.MessageWithOptionals + func IntOptionalLT(v int8) predicate.MessageWithOptionals + func IntOptionalLTE(v int8) predicate.MessageWithOptionals + func IntOptionalNEQ(v int8) predicate.MessageWithOptionals + func IntOptionalNotIn(vs ...int8) predicate.MessageWithOptionals + func IntOptionalNotNil() predicate.MessageWithOptionals + func Not(p predicate.MessageWithOptionals) predicate.MessageWithOptionals + func Or(predicates ...predicate.MessageWithOptionals) predicate.MessageWithOptionals + func StrOptional(v string) predicate.MessageWithOptionals + func StrOptionalContains(v string) predicate.MessageWithOptionals + func StrOptionalContainsFold(v string) predicate.MessageWithOptionals + func StrOptionalEQ(v string) predicate.MessageWithOptionals + func StrOptionalEqualFold(v string) predicate.MessageWithOptionals + func StrOptionalGT(v string) predicate.MessageWithOptionals + func StrOptionalGTE(v string) predicate.MessageWithOptionals + func StrOptionalHasPrefix(v string) predicate.MessageWithOptionals + func StrOptionalHasSuffix(v string) predicate.MessageWithOptionals + func StrOptionalIn(vs ...string) predicate.MessageWithOptionals + func StrOptionalIsNil() predicate.MessageWithOptionals + func StrOptionalLT(v string) predicate.MessageWithOptionals + func StrOptionalLTE(v string) predicate.MessageWithOptionals + func StrOptionalNEQ(v string) predicate.MessageWithOptionals + func StrOptionalNotIn(vs ...string) predicate.MessageWithOptionals + func StrOptionalNotNil() predicate.MessageWithOptionals + func TimeOptional(v time.Time) predicate.MessageWithOptionals + func TimeOptionalEQ(v time.Time) predicate.MessageWithOptionals + func TimeOptionalGT(v time.Time) predicate.MessageWithOptionals + func TimeOptionalGTE(v time.Time) predicate.MessageWithOptionals + func TimeOptionalIn(vs ...time.Time) predicate.MessageWithOptionals + func TimeOptionalIsNil() predicate.MessageWithOptionals + func TimeOptionalLT(v time.Time) predicate.MessageWithOptionals + func TimeOptionalLTE(v time.Time) predicate.MessageWithOptionals + func TimeOptionalNEQ(v time.Time) predicate.MessageWithOptionals + func TimeOptionalNotIn(vs ...time.Time) predicate.MessageWithOptionals + func TimeOptionalNotNil() predicate.MessageWithOptionals + func UUIDOptional(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalEQ(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalGT(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalGTE(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalIn(vs ...uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalIsNil() predicate.MessageWithOptionals + func UUIDOptionalLT(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalLTE(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalNEQ(v uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalNotIn(vs ...uuid.UUID) predicate.MessageWithOptionals + func UUIDOptionalNotNil() predicate.MessageWithOptionals + func UintOptional(v uint8) predicate.MessageWithOptionals + func UintOptionalEQ(v uint8) predicate.MessageWithOptionals + func UintOptionalGT(v uint8) predicate.MessageWithOptionals + func UintOptionalGTE(v uint8) predicate.MessageWithOptionals + func UintOptionalIn(vs ...uint8) predicate.MessageWithOptionals + func UintOptionalIsNil() predicate.MessageWithOptionals + func UintOptionalLT(v uint8) predicate.MessageWithOptionals + func UintOptionalLTE(v uint8) predicate.MessageWithOptionals + func UintOptionalNEQ(v uint8) predicate.MessageWithOptionals + func UintOptionalNotIn(vs ...uint8) predicate.MessageWithOptionals + func UintOptionalNotNil() predicate.MessageWithOptionals + func ValidColumn(column string) bool + type OrderOption func(*sql.Selector) + func ByBoolOptional(opts ...sql.OrderTermOption) OrderOption + func ByFloatOptional(opts ...sql.OrderTermOption) OrderOption + func ByID(opts ...sql.OrderTermOption) OrderOption + func ByIntOptional(opts ...sql.OrderTermOption) OrderOption + func ByStrOptional(opts ...sql.OrderTermOption) OrderOption + func ByTimeOptional(opts ...sql.OrderTermOption) OrderOption + func ByUUIDOptional(opts ...sql.OrderTermOption) OrderOption + func ByUintOptional(opts ...sql.OrderTermOption) OrderOption