Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AllTypes) predicate.AllTypes
- func Bool(v bool) predicate.AllTypes
- func BoolEQ(v bool) predicate.AllTypes
- func BoolNEQ(v bool) predicate.AllTypes
- func Bytes(v []byte) predicate.AllTypes
- func BytesEQ(v []byte) predicate.AllTypes
- func BytesGT(v []byte) predicate.AllTypes
- func BytesGTE(v []byte) predicate.AllTypes
- func BytesIn(vs ...[]byte) predicate.AllTypes
- func BytesLT(v []byte) predicate.AllTypes
- func BytesLTE(v []byte) predicate.AllTypes
- func BytesNEQ(v []byte) predicate.AllTypes
- func BytesNotIn(vs ...[]byte) predicate.AllTypes
- func Float32(v float32) predicate.AllTypes
- func Float32EQ(v float32) predicate.AllTypes
- func Float32GT(v float32) predicate.AllTypes
- func Float32GTE(v float32) predicate.AllTypes
- func Float32In(vs ...float32) predicate.AllTypes
- func Float32LT(v float32) predicate.AllTypes
- func Float32LTE(v float32) predicate.AllTypes
- func Float32NEQ(v float32) predicate.AllTypes
- func Float32NotIn(vs ...float32) predicate.AllTypes
- func Float64(v float64) predicate.AllTypes
- func Float64EQ(v float64) predicate.AllTypes
- func Float64GT(v float64) predicate.AllTypes
- func Float64GTE(v float64) predicate.AllTypes
- func Float64In(vs ...float64) predicate.AllTypes
- func Float64LT(v float64) predicate.AllTypes
- func Float64LTE(v float64) predicate.AllTypes
- func Float64NEQ(v float64) predicate.AllTypes
- func Float64NotIn(vs ...float64) predicate.AllTypes
- func ID(id uint32) predicate.AllTypes
- func IDEQ(id uint32) predicate.AllTypes
- func IDGT(id uint32) predicate.AllTypes
- func IDGTE(id uint32) predicate.AllTypes
- func IDIn(ids ...uint32) predicate.AllTypes
- func IDLT(id uint32) predicate.AllTypes
- func IDLTE(id uint32) predicate.AllTypes
- func IDNEQ(id uint32) predicate.AllTypes
- func IDNotIn(ids ...uint32) predicate.AllTypes
- func Int(v int) predicate.AllTypes
- func Int16(v int16) predicate.AllTypes
- func Int16EQ(v int16) predicate.AllTypes
- func Int16GT(v int16) predicate.AllTypes
- func Int16GTE(v int16) predicate.AllTypes
- func Int16In(vs ...int16) predicate.AllTypes
- func Int16LT(v int16) predicate.AllTypes
- func Int16LTE(v int16) predicate.AllTypes
- func Int16NEQ(v int16) predicate.AllTypes
- func Int16NotIn(vs ...int16) predicate.AllTypes
- func Int32(v int32) predicate.AllTypes
- func Int32EQ(v int32) predicate.AllTypes
- func Int32GT(v int32) predicate.AllTypes
- func Int32GTE(v int32) predicate.AllTypes
- func Int32In(vs ...int32) predicate.AllTypes
- func Int32LT(v int32) predicate.AllTypes
- func Int32LTE(v int32) predicate.AllTypes
- func Int32NEQ(v int32) predicate.AllTypes
- func Int32NotIn(vs ...int32) predicate.AllTypes
- func Int64(v int64) predicate.AllTypes
- func Int64EQ(v int64) predicate.AllTypes
- func Int64GT(v int64) predicate.AllTypes
- func Int64GTE(v int64) predicate.AllTypes
- func Int64In(vs ...int64) predicate.AllTypes
- func Int64LT(v int64) predicate.AllTypes
- func Int64LTE(v int64) predicate.AllTypes
- func Int64NEQ(v int64) predicate.AllTypes
- func Int64NotIn(vs ...int64) predicate.AllTypes
- func Int8(v int8) predicate.AllTypes
- func Int8EQ(v int8) predicate.AllTypes
- func Int8GT(v int8) predicate.AllTypes
- func Int8GTE(v int8) predicate.AllTypes
- func Int8In(vs ...int8) predicate.AllTypes
- func Int8LT(v int8) predicate.AllTypes
- func Int8LTE(v int8) predicate.AllTypes
- func Int8NEQ(v int8) predicate.AllTypes
- func Int8NotIn(vs ...int8) predicate.AllTypes
- func IntEQ(v int) predicate.AllTypes
- func IntGT(v int) predicate.AllTypes
- func IntGTE(v int) predicate.AllTypes
- func IntIn(vs ...int) predicate.AllTypes
- func IntLT(v int) predicate.AllTypes
- func IntLTE(v int) predicate.AllTypes
- func IntNEQ(v int) predicate.AllTypes
- func IntNotIn(vs ...int) predicate.AllTypes
- func Nilable(v string) predicate.AllTypes
- func NilableContains(v string) predicate.AllTypes
- func NilableContainsFold(v string) predicate.AllTypes
- func NilableEQ(v string) predicate.AllTypes
- func NilableEqualFold(v string) predicate.AllTypes
- func NilableGT(v string) predicate.AllTypes
- func NilableGTE(v string) predicate.AllTypes
- func NilableHasPrefix(v string) predicate.AllTypes
- func NilableHasSuffix(v string) predicate.AllTypes
- func NilableIn(vs ...string) predicate.AllTypes
- func NilableLT(v string) predicate.AllTypes
- func NilableLTE(v string) predicate.AllTypes
- func NilableNEQ(v string) predicate.AllTypes
- func NilableNotIn(vs ...string) predicate.AllTypes
- func Not(p predicate.AllTypes) predicate.AllTypes
- func Or(predicates ...predicate.AllTypes) predicate.AllTypes
- func StateEQ(v State) predicate.AllTypes
- func StateIn(vs ...State) predicate.AllTypes
- func StateNEQ(v State) predicate.AllTypes
- func StateNotIn(vs ...State) predicate.AllTypes
- func StateValidator(s State) error
- func StringType(v string) predicate.AllTypes
- func StringTypeContains(v string) predicate.AllTypes
- func StringTypeContainsFold(v string) predicate.AllTypes
- func StringTypeEQ(v string) predicate.AllTypes
- func StringTypeEqualFold(v string) predicate.AllTypes
- func StringTypeGT(v string) predicate.AllTypes
- func StringTypeGTE(v string) predicate.AllTypes
- func StringTypeHasPrefix(v string) predicate.AllTypes
- func StringTypeHasSuffix(v string) predicate.AllTypes
- func StringTypeIn(vs ...string) predicate.AllTypes
- func StringTypeLT(v string) predicate.AllTypes
- func StringTypeLTE(v string) predicate.AllTypes
- func StringTypeNEQ(v string) predicate.AllTypes
- func StringTypeNotIn(vs ...string) predicate.AllTypes
- func Text(v string) predicate.AllTypes
- func TextContains(v string) predicate.AllTypes
- func TextContainsFold(v string) predicate.AllTypes
- func TextEQ(v string) predicate.AllTypes
- func TextEqualFold(v string) predicate.AllTypes
- func TextGT(v string) predicate.AllTypes
- func TextGTE(v string) predicate.AllTypes
- func TextHasPrefix(v string) predicate.AllTypes
- func TextHasSuffix(v string) predicate.AllTypes
- func TextIn(vs ...string) predicate.AllTypes
- func TextLT(v string) predicate.AllTypes
- func TextLTE(v string) predicate.AllTypes
- func TextNEQ(v string) predicate.AllTypes
- func TextNotIn(vs ...string) predicate.AllTypes
- func Time(v time.Time) predicate.AllTypes
- func TimeEQ(v time.Time) predicate.AllTypes
- func TimeGT(v time.Time) predicate.AllTypes
- func TimeGTE(v time.Time) predicate.AllTypes
- func TimeIn(vs ...time.Time) predicate.AllTypes
- func TimeLT(v time.Time) predicate.AllTypes
- func TimeLTE(v time.Time) predicate.AllTypes
- func TimeNEQ(v time.Time) predicate.AllTypes
- func TimeNotIn(vs ...time.Time) predicate.AllTypes
- func UUID(v uuid.UUID) predicate.AllTypes
- func UUIDEQ(v uuid.UUID) predicate.AllTypes
- func UUIDGT(v uuid.UUID) predicate.AllTypes
- func UUIDGTE(v uuid.UUID) predicate.AllTypes
- func UUIDIn(vs ...uuid.UUID) predicate.AllTypes
- func UUIDLT(v uuid.UUID) predicate.AllTypes
- func UUIDLTE(v uuid.UUID) predicate.AllTypes
- func UUIDNEQ(v uuid.UUID) predicate.AllTypes
- func UUIDNotIn(vs ...uuid.UUID) predicate.AllTypes
- func Uint(v uint) predicate.AllTypes
- func Uint16(v uint16) predicate.AllTypes
- func Uint16EQ(v uint16) predicate.AllTypes
- func Uint16GT(v uint16) predicate.AllTypes
- func Uint16GTE(v uint16) predicate.AllTypes
- func Uint16In(vs ...uint16) predicate.AllTypes
- func Uint16LT(v uint16) predicate.AllTypes
- func Uint16LTE(v uint16) predicate.AllTypes
- func Uint16NEQ(v uint16) predicate.AllTypes
- func Uint16NotIn(vs ...uint16) predicate.AllTypes
- func Uint32(v uint32) predicate.AllTypes
- func Uint32EQ(v uint32) predicate.AllTypes
- func Uint32GT(v uint32) predicate.AllTypes
- func Uint32GTE(v uint32) predicate.AllTypes
- func Uint32In(vs ...uint32) predicate.AllTypes
- func Uint32LT(v uint32) predicate.AllTypes
- func Uint32LTE(v uint32) predicate.AllTypes
- func Uint32NEQ(v uint32) predicate.AllTypes
- func Uint32NotIn(vs ...uint32) predicate.AllTypes
- func Uint64(v uint64) predicate.AllTypes
- func Uint64EQ(v uint64) predicate.AllTypes
- func Uint64GT(v uint64) predicate.AllTypes
- func Uint64GTE(v uint64) predicate.AllTypes
- func Uint64In(vs ...uint64) predicate.AllTypes
- func Uint64LT(v uint64) predicate.AllTypes
- func Uint64LTE(v uint64) predicate.AllTypes
- func Uint64NEQ(v uint64) predicate.AllTypes
- func Uint64NotIn(vs ...uint64) predicate.AllTypes
- func Uint8(v uint8) predicate.AllTypes
- func Uint8EQ(v uint8) predicate.AllTypes
- func Uint8GT(v uint8) predicate.AllTypes
- func Uint8GTE(v uint8) predicate.AllTypes
- func Uint8In(vs ...uint8) predicate.AllTypes
- func Uint8LT(v uint8) predicate.AllTypes
- func Uint8LTE(v uint8) predicate.AllTypes
- func Uint8NEQ(v uint8) predicate.AllTypes
- func Uint8NotIn(vs ...uint8) predicate.AllTypes
- func UintEQ(v uint) predicate.AllTypes
- func UintGT(v uint) predicate.AllTypes
- func UintGTE(v uint) predicate.AllTypes
- func UintIn(vs ...uint) predicate.AllTypes
- func UintLT(v uint) predicate.AllTypes
- func UintLTE(v uint) predicate.AllTypes
- func UintNEQ(v uint) predicate.AllTypes
- func UintNotIn(vs ...uint) predicate.AllTypes
- func ValidColumn(column string) bool
- type State
Constants ¶
const ( // Label holds the string label denoting the alltypes type in the database. Label = "all_types" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInt holds the string denoting the int field in the database. FieldInt = "int" // FieldInt8 holds the string denoting the int8 field in the database. FieldInt8 = "int8" // FieldInt16 holds the string denoting the int16 field in the database. FieldInt16 = "int16" // FieldInt32 holds the string denoting the int32 field in the database. FieldInt32 = "int32" // FieldInt64 holds the string denoting the int64 field in the database. FieldInt64 = "int64" // FieldUint holds the string denoting the uint field in the database. FieldUint = "uint" // FieldUint8 holds the string denoting the uint8 field in the database. FieldUint8 = "uint8" // FieldUint16 holds the string denoting the uint16 field in the database. FieldUint16 = "uint16" // FieldUint32 holds the string denoting the uint32 field in the database. FieldUint32 = "uint32" // FieldUint64 holds the string denoting the uint64 field in the database. FieldUint64 = "uint64" // FieldFloat32 holds the string denoting the float32 field in the database. FieldFloat32 = "float32" // FieldFloat64 holds the string denoting the float64 field in the database. FieldFloat64 = "float64" // FieldStringType holds the string denoting the string_type field in the database. FieldStringType = "string_type" // FieldBool holds the string denoting the bool field in the database. FieldBool = "bool" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldText holds the string denoting the text field in the database. FieldText = "text" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldBytes holds the string denoting the bytes field in the database. FieldBytes = "bytes" // FieldNilable holds the string denoting the nilable field in the database. FieldNilable = "nilable" // Table holds the table name of the alltypes in the database. Table = "all_types" )
Variables ¶
var Columns = []string{ FieldID, FieldInt, FieldInt8, FieldInt16, FieldInt32, FieldInt64, FieldUint, FieldUint8, FieldUint16, FieldUint32, FieldUint64, FieldFloat32, FieldFloat64, FieldStringType, FieldBool, FieldUUID, FieldTime, FieldText, FieldState, FieldBytes, FieldNilable, }
Columns holds all SQL columns for alltypes fields.
Functions ¶
func Bytes ¶
Bytes applies equality check predicate on the "bytes" field. It's identical to BytesEQ.
func BytesNotIn ¶
BytesNotIn applies the NotIn predicate on the "bytes" field.
func Float32 ¶
Float32 applies equality check predicate on the "float32" field. It's identical to Float32EQ.
func Float32GTE ¶
Float32GTE applies the GTE predicate on the "float32" field.
func Float32LTE ¶
Float32LTE applies the LTE predicate on the "float32" field.
func Float32NEQ ¶
Float32NEQ applies the NEQ predicate on the "float32" field.
func Float32NotIn ¶
Float32NotIn applies the NotIn predicate on the "float32" field.
func Float64 ¶
Float64 applies equality check predicate on the "float64" field. It's identical to Float64EQ.
func Float64GTE ¶
Float64GTE applies the GTE predicate on the "float64" field.
func Float64LTE ¶
Float64LTE applies the LTE predicate on the "float64" field.
func Float64NEQ ¶
Float64NEQ applies the NEQ predicate on the "float64" field.
func Float64NotIn ¶
Float64NotIn applies the NotIn predicate on the "float64" field.
func Int16 ¶
Int16 applies equality check predicate on the "int16" field. It's identical to Int16EQ.
func Int16NotIn ¶
Int16NotIn applies the NotIn predicate on the "int16" field.
func Int32 ¶
Int32 applies equality check predicate on the "int32" field. It's identical to Int32EQ.
func Int32NotIn ¶
Int32NotIn applies the NotIn predicate on the "int32" field.
func Int64 ¶
Int64 applies equality check predicate on the "int64" field. It's identical to Int64EQ.
func Int64NotIn ¶
Int64NotIn applies the NotIn predicate on the "int64" field.
func Nilable ¶
Nilable applies equality check predicate on the "nilable" field. It's identical to NilableEQ.
func NilableContains ¶
NilableContains applies the Contains predicate on the "nilable" field.
func NilableContainsFold ¶
NilableContainsFold applies the ContainsFold predicate on the "nilable" field.
func NilableEqualFold ¶
NilableEqualFold applies the EqualFold predicate on the "nilable" field.
func NilableGTE ¶
NilableGTE applies the GTE predicate on the "nilable" field.
func NilableHasPrefix ¶
NilableHasPrefix applies the HasPrefix predicate on the "nilable" field.
func NilableHasSuffix ¶
NilableHasSuffix applies the HasSuffix predicate on the "nilable" field.
func NilableLTE ¶
NilableLTE applies the LTE predicate on the "nilable" field.
func NilableNEQ ¶
NilableNEQ applies the NEQ predicate on the "nilable" field.
func NilableNotIn ¶
NilableNotIn applies the NotIn predicate on the "nilable" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateValidator ¶
StateValidator is a validator for the "state" field enum values. It is called by the builders before save.
func StringType ¶
StringType applies equality check predicate on the "string_type" field. It's identical to StringTypeEQ.
func StringTypeContains ¶
StringTypeContains applies the Contains predicate on the "string_type" field.
func StringTypeContainsFold ¶
StringTypeContainsFold applies the ContainsFold predicate on the "string_type" field.
func StringTypeEQ ¶
StringTypeEQ applies the EQ predicate on the "string_type" field.
func StringTypeEqualFold ¶
StringTypeEqualFold applies the EqualFold predicate on the "string_type" field.
func StringTypeGT ¶
StringTypeGT applies the GT predicate on the "string_type" field.
func StringTypeGTE ¶
StringTypeGTE applies the GTE predicate on the "string_type" field.
func StringTypeHasPrefix ¶
StringTypeHasPrefix applies the HasPrefix predicate on the "string_type" field.
func StringTypeHasSuffix ¶
StringTypeHasSuffix applies the HasSuffix predicate on the "string_type" field.
func StringTypeIn ¶
StringTypeIn applies the In predicate on the "string_type" field.
func StringTypeLT ¶
StringTypeLT applies the LT predicate on the "string_type" field.
func StringTypeLTE ¶
StringTypeLTE applies the LTE predicate on the "string_type" field.
func StringTypeNEQ ¶
StringTypeNEQ applies the NEQ predicate on the "string_type" field.
func StringTypeNotIn ¶
StringTypeNotIn applies the NotIn predicate on the "string_type" field.
func TextContains ¶
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEqualFold ¶
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextHasPrefix ¶
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func Uint16 ¶
Uint16 applies equality check predicate on the "uint16" field. It's identical to Uint16EQ.
func Uint16NotIn ¶
Uint16NotIn applies the NotIn predicate on the "uint16" field.
func Uint32 ¶
Uint32 applies equality check predicate on the "uint32" field. It's identical to Uint32EQ.
func Uint32NotIn ¶
Uint32NotIn applies the NotIn predicate on the "uint32" field.
func Uint64 ¶
Uint64 applies equality check predicate on the "uint64" field. It's identical to Uint64EQ.
func Uint64NotIn ¶
Uint64NotIn applies the NotIn predicate on the "uint64" field.
func Uint8 ¶
Uint8 applies equality check predicate on the "uint8" field. It's identical to Uint8EQ.
func Uint8NotIn ¶
Uint8NotIn applies the NotIn predicate on the "uint8" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).