Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OASTypes) predicate.OASTypes
- func Bool(v bool) predicate.OASTypes
- func BoolEQ(v bool) predicate.OASTypes
- func BoolNEQ(v bool) predicate.OASTypes
- func Bytes(v []byte) predicate.OASTypes
- func BytesEQ(v []byte) predicate.OASTypes
- func BytesGT(v []byte) predicate.OASTypes
- func BytesGTE(v []byte) predicate.OASTypes
- func BytesIn(vs ...[]byte) predicate.OASTypes
- func BytesLT(v []byte) predicate.OASTypes
- func BytesLTE(v []byte) predicate.OASTypes
- func BytesNEQ(v []byte) predicate.OASTypes
- func BytesNotIn(vs ...[]byte) predicate.OASTypes
- func Float32(v float32) predicate.OASTypes
- func Float32EQ(v float32) predicate.OASTypes
- func Float32GT(v float32) predicate.OASTypes
- func Float32GTE(v float32) predicate.OASTypes
- func Float32In(vs ...float32) predicate.OASTypes
- func Float32LT(v float32) predicate.OASTypes
- func Float32LTE(v float32) predicate.OASTypes
- func Float32NEQ(v float32) predicate.OASTypes
- func Float32NotIn(vs ...float32) predicate.OASTypes
- func Float64(v float64) predicate.OASTypes
- func Float64EQ(v float64) predicate.OASTypes
- func Float64GT(v float64) predicate.OASTypes
- func Float64GTE(v float64) predicate.OASTypes
- func Float64In(vs ...float64) predicate.OASTypes
- func Float64LT(v float64) predicate.OASTypes
- func Float64LTE(v float64) predicate.OASTypes
- func Float64NEQ(v float64) predicate.OASTypes
- func Float64NotIn(vs ...float64) predicate.OASTypes
- func ID(id int) predicate.OASTypes
- func IDEQ(id int) predicate.OASTypes
- func IDGT(id int) predicate.OASTypes
- func IDGTE(id int) predicate.OASTypes
- func IDIn(ids ...int) predicate.OASTypes
- func IDLT(id int) predicate.OASTypes
- func IDLTE(id int) predicate.OASTypes
- func IDNEQ(id int) predicate.OASTypes
- func IDNotIn(ids ...int) predicate.OASTypes
- func Int(v int) predicate.OASTypes
- func Int16(v int16) predicate.OASTypes
- func Int16EQ(v int16) predicate.OASTypes
- func Int16GT(v int16) predicate.OASTypes
- func Int16GTE(v int16) predicate.OASTypes
- func Int16In(vs ...int16) predicate.OASTypes
- func Int16LT(v int16) predicate.OASTypes
- func Int16LTE(v int16) predicate.OASTypes
- func Int16NEQ(v int16) predicate.OASTypes
- func Int16NotIn(vs ...int16) predicate.OASTypes
- func Int32(v int32) predicate.OASTypes
- func Int32EQ(v int32) predicate.OASTypes
- func Int32GT(v int32) predicate.OASTypes
- func Int32GTE(v int32) predicate.OASTypes
- func Int32In(vs ...int32) predicate.OASTypes
- func Int32LT(v int32) predicate.OASTypes
- func Int32LTE(v int32) predicate.OASTypes
- func Int32NEQ(v int32) predicate.OASTypes
- func Int32NotIn(vs ...int32) predicate.OASTypes
- func Int64(v int64) predicate.OASTypes
- func Int64EQ(v int64) predicate.OASTypes
- func Int64GT(v int64) predicate.OASTypes
- func Int64GTE(v int64) predicate.OASTypes
- func Int64In(vs ...int64) predicate.OASTypes
- func Int64LT(v int64) predicate.OASTypes
- func Int64LTE(v int64) predicate.OASTypes
- func Int64NEQ(v int64) predicate.OASTypes
- func Int64NotIn(vs ...int64) predicate.OASTypes
- func Int8(v int8) predicate.OASTypes
- func Int8EQ(v int8) predicate.OASTypes
- func Int8GT(v int8) predicate.OASTypes
- func Int8GTE(v int8) predicate.OASTypes
- func Int8In(vs ...int8) predicate.OASTypes
- func Int8LT(v int8) predicate.OASTypes
- func Int8LTE(v int8) predicate.OASTypes
- func Int8NEQ(v int8) predicate.OASTypes
- func Int8NotIn(vs ...int8) predicate.OASTypes
- func IntEQ(v int) predicate.OASTypes
- func IntGT(v int) predicate.OASTypes
- func IntGTE(v int) predicate.OASTypes
- func IntIn(vs ...int) predicate.OASTypes
- func IntLT(v int) predicate.OASTypes
- func IntLTE(v int) predicate.OASTypes
- func IntNEQ(v int) predicate.OASTypes
- func IntNotIn(vs ...int) predicate.OASTypes
- func Not(p predicate.OASTypes) predicate.OASTypes
- func Or(predicates ...predicate.OASTypes) predicate.OASTypes
- func Other(v *schema.Link) predicate.OASTypes
- func OtherEQ(v *schema.Link) predicate.OASTypes
- func OtherGT(v *schema.Link) predicate.OASTypes
- func OtherGTE(v *schema.Link) predicate.OASTypes
- func OtherIn(vs ...*schema.Link) predicate.OASTypes
- func OtherLT(v *schema.Link) predicate.OASTypes
- func OtherLTE(v *schema.Link) predicate.OASTypes
- func OtherNEQ(v *schema.Link) predicate.OASTypes
- func OtherNotIn(vs ...*schema.Link) predicate.OASTypes
- func StateEQ(v State) predicate.OASTypes
- func StateIn(vs ...State) predicate.OASTypes
- func StateNEQ(v State) predicate.OASTypes
- func StateNotIn(vs ...State) predicate.OASTypes
- func StateValidator(s State) error
- func StringField(v string) predicate.OASTypes
- func StringFieldContains(v string) predicate.OASTypes
- func StringFieldContainsFold(v string) predicate.OASTypes
- func StringFieldEQ(v string) predicate.OASTypes
- func StringFieldEqualFold(v string) predicate.OASTypes
- func StringFieldGT(v string) predicate.OASTypes
- func StringFieldGTE(v string) predicate.OASTypes
- func StringFieldHasPrefix(v string) predicate.OASTypes
- func StringFieldHasSuffix(v string) predicate.OASTypes
- func StringFieldIn(vs ...string) predicate.OASTypes
- func StringFieldLT(v string) predicate.OASTypes
- func StringFieldLTE(v string) predicate.OASTypes
- func StringFieldNEQ(v string) predicate.OASTypes
- func StringFieldNotIn(vs ...string) predicate.OASTypes
- func Text(v string) predicate.OASTypes
- func TextContains(v string) predicate.OASTypes
- func TextContainsFold(v string) predicate.OASTypes
- func TextEQ(v string) predicate.OASTypes
- func TextEqualFold(v string) predicate.OASTypes
- func TextGT(v string) predicate.OASTypes
- func TextGTE(v string) predicate.OASTypes
- func TextHasPrefix(v string) predicate.OASTypes
- func TextHasSuffix(v string) predicate.OASTypes
- func TextIn(vs ...string) predicate.OASTypes
- func TextLT(v string) predicate.OASTypes
- func TextLTE(v string) predicate.OASTypes
- func TextNEQ(v string) predicate.OASTypes
- func TextNotIn(vs ...string) predicate.OASTypes
- func Time(v time.Time) predicate.OASTypes
- func TimeEQ(v time.Time) predicate.OASTypes
- func TimeGT(v time.Time) predicate.OASTypes
- func TimeGTE(v time.Time) predicate.OASTypes
- func TimeIn(vs ...time.Time) predicate.OASTypes
- func TimeLT(v time.Time) predicate.OASTypes
- func TimeLTE(v time.Time) predicate.OASTypes
- func TimeNEQ(v time.Time) predicate.OASTypes
- func TimeNotIn(vs ...time.Time) predicate.OASTypes
- func UUID(v uuid.UUID) predicate.OASTypes
- func UUIDEQ(v uuid.UUID) predicate.OASTypes
- func UUIDGT(v uuid.UUID) predicate.OASTypes
- func UUIDGTE(v uuid.UUID) predicate.OASTypes
- func UUIDIn(vs ...uuid.UUID) predicate.OASTypes
- func UUIDLT(v uuid.UUID) predicate.OASTypes
- func UUIDLTE(v uuid.UUID) predicate.OASTypes
- func UUIDNEQ(v uuid.UUID) predicate.OASTypes
- func UUIDNotIn(vs ...uuid.UUID) predicate.OASTypes
- func Uint(v uint) predicate.OASTypes
- func Uint16(v uint16) predicate.OASTypes
- func Uint16EQ(v uint16) predicate.OASTypes
- func Uint16GT(v uint16) predicate.OASTypes
- func Uint16GTE(v uint16) predicate.OASTypes
- func Uint16In(vs ...uint16) predicate.OASTypes
- func Uint16LT(v uint16) predicate.OASTypes
- func Uint16LTE(v uint16) predicate.OASTypes
- func Uint16NEQ(v uint16) predicate.OASTypes
- func Uint16NotIn(vs ...uint16) predicate.OASTypes
- func Uint32(v uint32) predicate.OASTypes
- func Uint32EQ(v uint32) predicate.OASTypes
- func Uint32GT(v uint32) predicate.OASTypes
- func Uint32GTE(v uint32) predicate.OASTypes
- func Uint32In(vs ...uint32) predicate.OASTypes
- func Uint32LT(v uint32) predicate.OASTypes
- func Uint32LTE(v uint32) predicate.OASTypes
- func Uint32NEQ(v uint32) predicate.OASTypes
- func Uint32NotIn(vs ...uint32) predicate.OASTypes
- func Uint64(v uint64) predicate.OASTypes
- func Uint64EQ(v uint64) predicate.OASTypes
- func Uint64GT(v uint64) predicate.OASTypes
- func Uint64GTE(v uint64) predicate.OASTypes
- func Uint64In(vs ...uint64) predicate.OASTypes
- func Uint64LT(v uint64) predicate.OASTypes
- func Uint64LTE(v uint64) predicate.OASTypes
- func Uint64NEQ(v uint64) predicate.OASTypes
- func Uint64NotIn(vs ...uint64) predicate.OASTypes
- func Uint8(v uint8) predicate.OASTypes
- func Uint8EQ(v uint8) predicate.OASTypes
- func Uint8GT(v uint8) predicate.OASTypes
- func Uint8GTE(v uint8) predicate.OASTypes
- func Uint8In(vs ...uint8) predicate.OASTypes
- func Uint8LT(v uint8) predicate.OASTypes
- func Uint8LTE(v uint8) predicate.OASTypes
- func Uint8NEQ(v uint8) predicate.OASTypes
- func Uint8NotIn(vs ...uint8) predicate.OASTypes
- func UintEQ(v uint) predicate.OASTypes
- func UintGT(v uint) predicate.OASTypes
- func UintGTE(v uint) predicate.OASTypes
- func UintIn(vs ...uint) predicate.OASTypes
- func UintLT(v uint) predicate.OASTypes
- func UintLTE(v uint) predicate.OASTypes
- func UintNEQ(v uint) predicate.OASTypes
- func UintNotIn(vs ...uint) predicate.OASTypes
- func ValidColumn(column string) bool
- type State
Constants ¶
const ( // Label holds the string label denoting the oastypes type in the database. Label = "oas_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" // FieldStringField holds the string denoting the string_field field in the database. FieldStringField = "string_field" // 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" // FieldStrings holds the string denoting the strings field in the database. FieldStrings = "strings" // FieldInts holds the string denoting the ints field in the database. FieldInts = "ints" // FieldFloats holds the string denoting the floats field in the database. FieldFloats = "floats" // FieldBytes holds the string denoting the bytes field in the database. FieldBytes = "bytes" // FieldNicknames holds the string denoting the nicknames field in the database. FieldNicknames = "nicknames" // FieldJSONSlice holds the string denoting the json_slice field in the database. FieldJSONSlice = "json_slice" // FieldJSONObj holds the string denoting the json_obj field in the database. FieldJSONObj = "json_obj" // FieldOther holds the string denoting the other field in the database. FieldOther = "other" // Table holds the table name of the oastypes in the database. Table = "oas_types" )
Variables ¶
var ( // DefaultUUID holds the default value on creation for the "uuid" field. DefaultUUID func() uuid.UUID // DefaultOther holds the default value on creation for the "other" field. DefaultOther *schema.Link )
var Columns = []string{ FieldID, FieldInt, FieldInt8, FieldInt16, FieldInt32, FieldInt64, FieldUint, FieldUint8, FieldUint16, FieldUint32, FieldUint64, FieldFloat32, FieldFloat64, FieldStringField, FieldBool, FieldUUID, FieldTime, FieldText, FieldState, FieldStrings, FieldInts, FieldFloats, FieldBytes, FieldNicknames, FieldJSONSlice, FieldJSONObj, FieldOther, }
Columns holds all SQL columns for oastypes 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 Other ¶
Other applies equality check predicate on the "other" field. It's identical to OtherEQ.
func OtherNotIn ¶
OtherNotIn applies the NotIn predicate on the "other" 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 StringField ¶
StringField applies equality check predicate on the "string_field" field. It's identical to StringFieldEQ.
func StringFieldContains ¶
StringFieldContains applies the Contains predicate on the "string_field" field.
func StringFieldContainsFold ¶
StringFieldContainsFold applies the ContainsFold predicate on the "string_field" field.
func StringFieldEQ ¶
StringFieldEQ applies the EQ predicate on the "string_field" field.
func StringFieldEqualFold ¶
StringFieldEqualFold applies the EqualFold predicate on the "string_field" field.
func StringFieldGT ¶
StringFieldGT applies the GT predicate on the "string_field" field.
func StringFieldGTE ¶
StringFieldGTE applies the GTE predicate on the "string_field" field.
func StringFieldHasPrefix ¶
StringFieldHasPrefix applies the HasPrefix predicate on the "string_field" field.
func StringFieldHasSuffix ¶
StringFieldHasSuffix applies the HasSuffix predicate on the "string_field" field.
func StringFieldIn ¶
StringFieldIn applies the In predicate on the "string_field" field.
func StringFieldLT ¶
StringFieldLT applies the LT predicate on the "string_field" field.
func StringFieldLTE ¶
StringFieldLTE applies the LTE predicate on the "string_field" field.
func StringFieldNEQ ¶
StringFieldNEQ applies the NEQ predicate on the "string_field" field.
func StringFieldNotIn ¶
StringFieldNotIn applies the NotIn predicate on the "string_field" 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).