oastypes

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for oastypes fields.

Functions

func And

func And(predicates ...predicate.OASTypes) predicate.OASTypes

And groups predicates with the AND operator between them.

func Bool

func Bool(v bool) predicate.OASTypes

Bool applies equality check predicate on the "bool" field. It's identical to BoolEQ.

func BoolEQ

func BoolEQ(v bool) predicate.OASTypes

BoolEQ applies the EQ predicate on the "bool" field.

func BoolNEQ

func BoolNEQ(v bool) predicate.OASTypes

BoolNEQ applies the NEQ predicate on the "bool" field.

func Bytes

func Bytes(v []byte) predicate.OASTypes

Bytes applies equality check predicate on the "bytes" field. It's identical to BytesEQ.

func BytesEQ

func BytesEQ(v []byte) predicate.OASTypes

BytesEQ applies the EQ predicate on the "bytes" field.

func BytesGT

func BytesGT(v []byte) predicate.OASTypes

BytesGT applies the GT predicate on the "bytes" field.

func BytesGTE

func BytesGTE(v []byte) predicate.OASTypes

BytesGTE applies the GTE predicate on the "bytes" field.

func BytesIn

func BytesIn(vs ...[]byte) predicate.OASTypes

BytesIn applies the In predicate on the "bytes" field.

func BytesLT

func BytesLT(v []byte) predicate.OASTypes

BytesLT applies the LT predicate on the "bytes" field.

func BytesLTE

func BytesLTE(v []byte) predicate.OASTypes

BytesLTE applies the LTE predicate on the "bytes" field.

func BytesNEQ

func BytesNEQ(v []byte) predicate.OASTypes

BytesNEQ applies the NEQ predicate on the "bytes" field.

func BytesNotIn

func BytesNotIn(vs ...[]byte) predicate.OASTypes

BytesNotIn applies the NotIn predicate on the "bytes" field.

func Float32

func Float32(v float32) predicate.OASTypes

Float32 applies equality check predicate on the "float32" field. It's identical to Float32EQ.

func Float32EQ

func Float32EQ(v float32) predicate.OASTypes

Float32EQ applies the EQ predicate on the "float32" field.

func Float32GT

func Float32GT(v float32) predicate.OASTypes

Float32GT applies the GT predicate on the "float32" field.

func Float32GTE

func Float32GTE(v float32) predicate.OASTypes

Float32GTE applies the GTE predicate on the "float32" field.

func Float32In

func Float32In(vs ...float32) predicate.OASTypes

Float32In applies the In predicate on the "float32" field.

func Float32LT

func Float32LT(v float32) predicate.OASTypes

Float32LT applies the LT predicate on the "float32" field.

func Float32LTE

func Float32LTE(v float32) predicate.OASTypes

Float32LTE applies the LTE predicate on the "float32" field.

func Float32NEQ

func Float32NEQ(v float32) predicate.OASTypes

Float32NEQ applies the NEQ predicate on the "float32" field.

func Float32NotIn

func Float32NotIn(vs ...float32) predicate.OASTypes

Float32NotIn applies the NotIn predicate on the "float32" field.

func Float64

func Float64(v float64) predicate.OASTypes

Float64 applies equality check predicate on the "float64" field. It's identical to Float64EQ.

func Float64EQ

func Float64EQ(v float64) predicate.OASTypes

Float64EQ applies the EQ predicate on the "float64" field.

func Float64GT

func Float64GT(v float64) predicate.OASTypes

Float64GT applies the GT predicate on the "float64" field.

func Float64GTE

func Float64GTE(v float64) predicate.OASTypes

Float64GTE applies the GTE predicate on the "float64" field.

func Float64In

func Float64In(vs ...float64) predicate.OASTypes

Float64In applies the In predicate on the "float64" field.

func Float64LT

func Float64LT(v float64) predicate.OASTypes

Float64LT applies the LT predicate on the "float64" field.

func Float64LTE

func Float64LTE(v float64) predicate.OASTypes

Float64LTE applies the LTE predicate on the "float64" field.

func Float64NEQ

func Float64NEQ(v float64) predicate.OASTypes

Float64NEQ applies the NEQ predicate on the "float64" field.

func Float64NotIn

func Float64NotIn(vs ...float64) predicate.OASTypes

Float64NotIn applies the NotIn predicate on the "float64" field.

func ID

func ID(id int) predicate.OASTypes

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.OASTypes

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OASTypes

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OASTypes

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.OASTypes

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OASTypes

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OASTypes

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OASTypes

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.OASTypes

IDNotIn applies the NotIn predicate on the ID field.

func Int

func Int(v int) predicate.OASTypes

Int applies equality check predicate on the "int" field. It's identical to IntEQ.

func Int16

func Int16(v int16) predicate.OASTypes

Int16 applies equality check predicate on the "int16" field. It's identical to Int16EQ.

func Int16EQ

func Int16EQ(v int16) predicate.OASTypes

Int16EQ applies the EQ predicate on the "int16" field.

func Int16GT

func Int16GT(v int16) predicate.OASTypes

Int16GT applies the GT predicate on the "int16" field.

func Int16GTE

func Int16GTE(v int16) predicate.OASTypes

Int16GTE applies the GTE predicate on the "int16" field.

func Int16In

func Int16In(vs ...int16) predicate.OASTypes

Int16In applies the In predicate on the "int16" field.

func Int16LT

func Int16LT(v int16) predicate.OASTypes

Int16LT applies the LT predicate on the "int16" field.

func Int16LTE

func Int16LTE(v int16) predicate.OASTypes

Int16LTE applies the LTE predicate on the "int16" field.

func Int16NEQ

func Int16NEQ(v int16) predicate.OASTypes

Int16NEQ applies the NEQ predicate on the "int16" field.

func Int16NotIn

func Int16NotIn(vs ...int16) predicate.OASTypes

Int16NotIn applies the NotIn predicate on the "int16" field.

func Int32

func Int32(v int32) predicate.OASTypes

Int32 applies equality check predicate on the "int32" field. It's identical to Int32EQ.

func Int32EQ

func Int32EQ(v int32) predicate.OASTypes

Int32EQ applies the EQ predicate on the "int32" field.

func Int32GT

func Int32GT(v int32) predicate.OASTypes

Int32GT applies the GT predicate on the "int32" field.

func Int32GTE

func Int32GTE(v int32) predicate.OASTypes

Int32GTE applies the GTE predicate on the "int32" field.

func Int32In

func Int32In(vs ...int32) predicate.OASTypes

Int32In applies the In predicate on the "int32" field.

func Int32LT

func Int32LT(v int32) predicate.OASTypes

Int32LT applies the LT predicate on the "int32" field.

func Int32LTE

func Int32LTE(v int32) predicate.OASTypes

Int32LTE applies the LTE predicate on the "int32" field.

func Int32NEQ

func Int32NEQ(v int32) predicate.OASTypes

Int32NEQ applies the NEQ predicate on the "int32" field.

func Int32NotIn

func Int32NotIn(vs ...int32) predicate.OASTypes

Int32NotIn applies the NotIn predicate on the "int32" field.

func Int64

func Int64(v int64) predicate.OASTypes

Int64 applies equality check predicate on the "int64" field. It's identical to Int64EQ.

func Int64EQ

func Int64EQ(v int64) predicate.OASTypes

Int64EQ applies the EQ predicate on the "int64" field.

func Int64GT

func Int64GT(v int64) predicate.OASTypes

Int64GT applies the GT predicate on the "int64" field.

func Int64GTE

func Int64GTE(v int64) predicate.OASTypes

Int64GTE applies the GTE predicate on the "int64" field.

func Int64In

func Int64In(vs ...int64) predicate.OASTypes

Int64In applies the In predicate on the "int64" field.

func Int64LT

func Int64LT(v int64) predicate.OASTypes

Int64LT applies the LT predicate on the "int64" field.

func Int64LTE

func Int64LTE(v int64) predicate.OASTypes

Int64LTE applies the LTE predicate on the "int64" field.

func Int64NEQ

func Int64NEQ(v int64) predicate.OASTypes

Int64NEQ applies the NEQ predicate on the "int64" field.

func Int64NotIn

func Int64NotIn(vs ...int64) predicate.OASTypes

Int64NotIn applies the NotIn predicate on the "int64" field.

func Int8

func Int8(v int8) predicate.OASTypes

Int8 applies equality check predicate on the "int8" field. It's identical to Int8EQ.

func Int8EQ

func Int8EQ(v int8) predicate.OASTypes

Int8EQ applies the EQ predicate on the "int8" field.

func Int8GT

func Int8GT(v int8) predicate.OASTypes

Int8GT applies the GT predicate on the "int8" field.

func Int8GTE

func Int8GTE(v int8) predicate.OASTypes

Int8GTE applies the GTE predicate on the "int8" field.

func Int8In

func Int8In(vs ...int8) predicate.OASTypes

Int8In applies the In predicate on the "int8" field.

func Int8LT

func Int8LT(v int8) predicate.OASTypes

Int8LT applies the LT predicate on the "int8" field.

func Int8LTE

func Int8LTE(v int8) predicate.OASTypes

Int8LTE applies the LTE predicate on the "int8" field.

func Int8NEQ

func Int8NEQ(v int8) predicate.OASTypes

Int8NEQ applies the NEQ predicate on the "int8" field.

func Int8NotIn

func Int8NotIn(vs ...int8) predicate.OASTypes

Int8NotIn applies the NotIn predicate on the "int8" field.

func IntEQ

func IntEQ(v int) predicate.OASTypes

IntEQ applies the EQ predicate on the "int" field.

func IntGT

func IntGT(v int) predicate.OASTypes

IntGT applies the GT predicate on the "int" field.

func IntGTE

func IntGTE(v int) predicate.OASTypes

IntGTE applies the GTE predicate on the "int" field.

func IntIn

func IntIn(vs ...int) predicate.OASTypes

IntIn applies the In predicate on the "int" field.

func IntLT

func IntLT(v int) predicate.OASTypes

IntLT applies the LT predicate on the "int" field.

func IntLTE

func IntLTE(v int) predicate.OASTypes

IntLTE applies the LTE predicate on the "int" field.

func IntNEQ

func IntNEQ(v int) predicate.OASTypes

IntNEQ applies the NEQ predicate on the "int" field.

func IntNotIn

func IntNotIn(vs ...int) predicate.OASTypes

IntNotIn applies the NotIn predicate on the "int" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.OASTypes) predicate.OASTypes

Or groups predicates with the OR operator between them.

func Other

func Other(v *schema.Link) predicate.OASTypes

Other applies equality check predicate on the "other" field. It's identical to OtherEQ.

func OtherEQ

func OtherEQ(v *schema.Link) predicate.OASTypes

OtherEQ applies the EQ predicate on the "other" field.

func OtherGT

func OtherGT(v *schema.Link) predicate.OASTypes

OtherGT applies the GT predicate on the "other" field.

func OtherGTE

func OtherGTE(v *schema.Link) predicate.OASTypes

OtherGTE applies the GTE predicate on the "other" field.

func OtherIn

func OtherIn(vs ...*schema.Link) predicate.OASTypes

OtherIn applies the In predicate on the "other" field.

func OtherLT

func OtherLT(v *schema.Link) predicate.OASTypes

OtherLT applies the LT predicate on the "other" field.

func OtherLTE

func OtherLTE(v *schema.Link) predicate.OASTypes

OtherLTE applies the LTE predicate on the "other" field.

func OtherNEQ

func OtherNEQ(v *schema.Link) predicate.OASTypes

OtherNEQ applies the NEQ predicate on the "other" field.

func OtherNotIn

func OtherNotIn(vs ...*schema.Link) predicate.OASTypes

OtherNotIn applies the NotIn predicate on the "other" field.

func StateEQ

func StateEQ(v State) predicate.OASTypes

StateEQ applies the EQ predicate on the "state" field.

func StateIn

func StateIn(vs ...State) predicate.OASTypes

StateIn applies the In predicate on the "state" field.

func StateNEQ

func StateNEQ(v State) predicate.OASTypes

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...State) predicate.OASTypes

StateNotIn applies the NotIn predicate on the "state" field.

func StateValidator

func StateValidator(s State) error

StateValidator is a validator for the "state" field enum values. It is called by the builders before save.

func StringField

func StringField(v string) predicate.OASTypes

StringField applies equality check predicate on the "string_field" field. It's identical to StringFieldEQ.

func StringFieldContains

func StringFieldContains(v string) predicate.OASTypes

StringFieldContains applies the Contains predicate on the "string_field" field.

func StringFieldContainsFold

func StringFieldContainsFold(v string) predicate.OASTypes

StringFieldContainsFold applies the ContainsFold predicate on the "string_field" field.

func StringFieldEQ

func StringFieldEQ(v string) predicate.OASTypes

StringFieldEQ applies the EQ predicate on the "string_field" field.

func StringFieldEqualFold

func StringFieldEqualFold(v string) predicate.OASTypes

StringFieldEqualFold applies the EqualFold predicate on the "string_field" field.

func StringFieldGT

func StringFieldGT(v string) predicate.OASTypes

StringFieldGT applies the GT predicate on the "string_field" field.

func StringFieldGTE

func StringFieldGTE(v string) predicate.OASTypes

StringFieldGTE applies the GTE predicate on the "string_field" field.

func StringFieldHasPrefix

func StringFieldHasPrefix(v string) predicate.OASTypes

StringFieldHasPrefix applies the HasPrefix predicate on the "string_field" field.

func StringFieldHasSuffix

func StringFieldHasSuffix(v string) predicate.OASTypes

StringFieldHasSuffix applies the HasSuffix predicate on the "string_field" field.

func StringFieldIn

func StringFieldIn(vs ...string) predicate.OASTypes

StringFieldIn applies the In predicate on the "string_field" field.

func StringFieldLT

func StringFieldLT(v string) predicate.OASTypes

StringFieldLT applies the LT predicate on the "string_field" field.

func StringFieldLTE

func StringFieldLTE(v string) predicate.OASTypes

StringFieldLTE applies the LTE predicate on the "string_field" field.

func StringFieldNEQ

func StringFieldNEQ(v string) predicate.OASTypes

StringFieldNEQ applies the NEQ predicate on the "string_field" field.

func StringFieldNotIn

func StringFieldNotIn(vs ...string) predicate.OASTypes

StringFieldNotIn applies the NotIn predicate on the "string_field" field.

func Text

func Text(v string) predicate.OASTypes

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.OASTypes

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.OASTypes

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

func TextEQ(v string) predicate.OASTypes

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.OASTypes

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

func TextGT(v string) predicate.OASTypes

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.OASTypes

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.OASTypes

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.OASTypes

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.OASTypes

TextIn applies the In predicate on the "text" field.

func TextLT

func TextLT(v string) predicate.OASTypes

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.OASTypes

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.OASTypes

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.OASTypes

TextNotIn applies the NotIn predicate on the "text" field.

func Time

func Time(v time.Time) predicate.OASTypes

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.OASTypes

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v time.Time) predicate.OASTypes

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.OASTypes

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.OASTypes

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v time.Time) predicate.OASTypes

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.OASTypes

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.OASTypes

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.OASTypes

TimeNotIn applies the NotIn predicate on the "time" field.

func UUID

func UUID(v uuid.UUID) predicate.OASTypes

UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.

func UUIDEQ

func UUIDEQ(v uuid.UUID) predicate.OASTypes

UUIDEQ applies the EQ predicate on the "uuid" field.

func UUIDGT

func UUIDGT(v uuid.UUID) predicate.OASTypes

UUIDGT applies the GT predicate on the "uuid" field.

func UUIDGTE

func UUIDGTE(v uuid.UUID) predicate.OASTypes

UUIDGTE applies the GTE predicate on the "uuid" field.

func UUIDIn

func UUIDIn(vs ...uuid.UUID) predicate.OASTypes

UUIDIn applies the In predicate on the "uuid" field.

func UUIDLT

func UUIDLT(v uuid.UUID) predicate.OASTypes

UUIDLT applies the LT predicate on the "uuid" field.

func UUIDLTE

func UUIDLTE(v uuid.UUID) predicate.OASTypes

UUIDLTE applies the LTE predicate on the "uuid" field.

func UUIDNEQ

func UUIDNEQ(v uuid.UUID) predicate.OASTypes

UUIDNEQ applies the NEQ predicate on the "uuid" field.

func UUIDNotIn

func UUIDNotIn(vs ...uuid.UUID) predicate.OASTypes

UUIDNotIn applies the NotIn predicate on the "uuid" field.

func Uint

func Uint(v uint) predicate.OASTypes

Uint applies equality check predicate on the "uint" field. It's identical to UintEQ.

func Uint16

func Uint16(v uint16) predicate.OASTypes

Uint16 applies equality check predicate on the "uint16" field. It's identical to Uint16EQ.

func Uint16EQ

func Uint16EQ(v uint16) predicate.OASTypes

Uint16EQ applies the EQ predicate on the "uint16" field.

func Uint16GT

func Uint16GT(v uint16) predicate.OASTypes

Uint16GT applies the GT predicate on the "uint16" field.

func Uint16GTE

func Uint16GTE(v uint16) predicate.OASTypes

Uint16GTE applies the GTE predicate on the "uint16" field.

func Uint16In

func Uint16In(vs ...uint16) predicate.OASTypes

Uint16In applies the In predicate on the "uint16" field.

func Uint16LT

func Uint16LT(v uint16) predicate.OASTypes

Uint16LT applies the LT predicate on the "uint16" field.

func Uint16LTE

func Uint16LTE(v uint16) predicate.OASTypes

Uint16LTE applies the LTE predicate on the "uint16" field.

func Uint16NEQ

func Uint16NEQ(v uint16) predicate.OASTypes

Uint16NEQ applies the NEQ predicate on the "uint16" field.

func Uint16NotIn

func Uint16NotIn(vs ...uint16) predicate.OASTypes

Uint16NotIn applies the NotIn predicate on the "uint16" field.

func Uint32

func Uint32(v uint32) predicate.OASTypes

Uint32 applies equality check predicate on the "uint32" field. It's identical to Uint32EQ.

func Uint32EQ

func Uint32EQ(v uint32) predicate.OASTypes

Uint32EQ applies the EQ predicate on the "uint32" field.

func Uint32GT

func Uint32GT(v uint32) predicate.OASTypes

Uint32GT applies the GT predicate on the "uint32" field.

func Uint32GTE

func Uint32GTE(v uint32) predicate.OASTypes

Uint32GTE applies the GTE predicate on the "uint32" field.

func Uint32In

func Uint32In(vs ...uint32) predicate.OASTypes

Uint32In applies the In predicate on the "uint32" field.

func Uint32LT

func Uint32LT(v uint32) predicate.OASTypes

Uint32LT applies the LT predicate on the "uint32" field.

func Uint32LTE

func Uint32LTE(v uint32) predicate.OASTypes

Uint32LTE applies the LTE predicate on the "uint32" field.

func Uint32NEQ

func Uint32NEQ(v uint32) predicate.OASTypes

Uint32NEQ applies the NEQ predicate on the "uint32" field.

func Uint32NotIn

func Uint32NotIn(vs ...uint32) predicate.OASTypes

Uint32NotIn applies the NotIn predicate on the "uint32" field.

func Uint64

func Uint64(v uint64) predicate.OASTypes

Uint64 applies equality check predicate on the "uint64" field. It's identical to Uint64EQ.

func Uint64EQ

func Uint64EQ(v uint64) predicate.OASTypes

Uint64EQ applies the EQ predicate on the "uint64" field.

func Uint64GT

func Uint64GT(v uint64) predicate.OASTypes

Uint64GT applies the GT predicate on the "uint64" field.

func Uint64GTE

func Uint64GTE(v uint64) predicate.OASTypes

Uint64GTE applies the GTE predicate on the "uint64" field.

func Uint64In

func Uint64In(vs ...uint64) predicate.OASTypes

Uint64In applies the In predicate on the "uint64" field.

func Uint64LT

func Uint64LT(v uint64) predicate.OASTypes

Uint64LT applies the LT predicate on the "uint64" field.

func Uint64LTE

func Uint64LTE(v uint64) predicate.OASTypes

Uint64LTE applies the LTE predicate on the "uint64" field.

func Uint64NEQ

func Uint64NEQ(v uint64) predicate.OASTypes

Uint64NEQ applies the NEQ predicate on the "uint64" field.

func Uint64NotIn

func Uint64NotIn(vs ...uint64) predicate.OASTypes

Uint64NotIn applies the NotIn predicate on the "uint64" field.

func Uint8

func Uint8(v uint8) predicate.OASTypes

Uint8 applies equality check predicate on the "uint8" field. It's identical to Uint8EQ.

func Uint8EQ

func Uint8EQ(v uint8) predicate.OASTypes

Uint8EQ applies the EQ predicate on the "uint8" field.

func Uint8GT

func Uint8GT(v uint8) predicate.OASTypes

Uint8GT applies the GT predicate on the "uint8" field.

func Uint8GTE

func Uint8GTE(v uint8) predicate.OASTypes

Uint8GTE applies the GTE predicate on the "uint8" field.

func Uint8In

func Uint8In(vs ...uint8) predicate.OASTypes

Uint8In applies the In predicate on the "uint8" field.

func Uint8LT

func Uint8LT(v uint8) predicate.OASTypes

Uint8LT applies the LT predicate on the "uint8" field.

func Uint8LTE

func Uint8LTE(v uint8) predicate.OASTypes

Uint8LTE applies the LTE predicate on the "uint8" field.

func Uint8NEQ

func Uint8NEQ(v uint8) predicate.OASTypes

Uint8NEQ applies the NEQ predicate on the "uint8" field.

func Uint8NotIn

func Uint8NotIn(vs ...uint8) predicate.OASTypes

Uint8NotIn applies the NotIn predicate on the "uint8" field.

func UintEQ

func UintEQ(v uint) predicate.OASTypes

UintEQ applies the EQ predicate on the "uint" field.

func UintGT

func UintGT(v uint) predicate.OASTypes

UintGT applies the GT predicate on the "uint" field.

func UintGTE

func UintGTE(v uint) predicate.OASTypes

UintGTE applies the GTE predicate on the "uint" field.

func UintIn

func UintIn(vs ...uint) predicate.OASTypes

UintIn applies the In predicate on the "uint" field.

func UintLT

func UintLT(v uint) predicate.OASTypes

UintLT applies the LT predicate on the "uint" field.

func UintLTE

func UintLTE(v uint) predicate.OASTypes

UintLTE applies the LTE predicate on the "uint" field.

func UintNEQ

func UintNEQ(v uint) predicate.OASTypes

UintNEQ applies the NEQ predicate on the "uint" field.

func UintNotIn

func UintNotIn(vs ...uint) predicate.OASTypes

UintNotIn applies the NotIn predicate on the "uint" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type State

type State string

State defines the type for the "state" enum field.

const (
	StateOn  State = "on"
	StateOff State = "off"
)

State values.

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL