fieldtype

package
v0.1.5-0...-40e571d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the fieldtype type in the database.
	Label = "field_type"
	// FieldID holds the string denoting the id field in the database.
	FieldID                    = "id"                      // FieldInt holds the string denoting the int vertex property in the database.
	FieldInt                   = "int"                     // FieldInt8 holds the string denoting the int8 vertex property in the database.
	FieldInt8                  = "int8"                    // FieldInt16 holds the string denoting the int16 vertex property in the database.
	FieldInt16                 = "int16"                   // FieldInt32 holds the string denoting the int32 vertex property in the database.
	FieldInt32                 = "int32"                   // FieldInt64 holds the string denoting the int64 vertex property in the database.
	FieldInt64                 = "int64"                   // FieldOptionalInt holds the string denoting the optional_int vertex property in the database.
	FieldOptionalInt           = "optional_int"            // FieldOptionalInt8 holds the string denoting the optional_int8 vertex property in the database.
	FieldOptionalInt8          = "optional_int8"           // FieldOptionalInt16 holds the string denoting the optional_int16 vertex property in the database.
	FieldOptionalInt16         = "optional_int16"          // FieldOptionalInt32 holds the string denoting the optional_int32 vertex property in the database.
	FieldOptionalInt32         = "optional_int32"          // FieldOptionalInt64 holds the string denoting the optional_int64 vertex property in the database.
	FieldOptionalInt64         = "optional_int64"          // FieldNillableInt holds the string denoting the nillable_int vertex property in the database.
	FieldNillableInt           = "nillable_int"            // FieldNillableInt8 holds the string denoting the nillable_int8 vertex property in the database.
	FieldNillableInt8          = "nillable_int8"           // FieldNillableInt16 holds the string denoting the nillable_int16 vertex property in the database.
	FieldNillableInt16         = "nillable_int16"          // FieldNillableInt32 holds the string denoting the nillable_int32 vertex property in the database.
	FieldNillableInt32         = "nillable_int32"          // FieldNillableInt64 holds the string denoting the nillable_int64 vertex property in the database.
	FieldNillableInt64         = "nillable_int64"          // FieldValidateOptionalInt32 holds the string denoting the validate_optional_int32 vertex property in the database.
	FieldValidateOptionalInt32 = "validate_optional_int32" // FieldOptionalUint holds the string denoting the optional_uint vertex property in the database.
	FieldOptionalUint          = "optional_uint"           // FieldOptionalUint8 holds the string denoting the optional_uint8 vertex property in the database.
	FieldOptionalUint8         = "optional_uint8"          // FieldOptionalUint16 holds the string denoting the optional_uint16 vertex property in the database.
	FieldOptionalUint16        = "optional_uint16"         // FieldOptionalUint32 holds the string denoting the optional_uint32 vertex property in the database.
	FieldOptionalUint32        = "optional_uint32"         // FieldOptionalUint64 holds the string denoting the optional_uint64 vertex property in the database.
	FieldOptionalUint64        = "optional_uint64"         // FieldState holds the string denoting the state vertex property in the database.
	FieldState                 = "state"                   // FieldOptionalFloat holds the string denoting the optional_float vertex property in the database.
	FieldOptionalFloat         = "optional_float"          // FieldOptionalFloat32 holds the string denoting the optional_float32 vertex property in the database.
	FieldOptionalFloat32       = "optional_float32"

	// Table holds the table name of the fieldtype in the database.
	Table = "field_types"
)

Variables

Columns holds all SQL columns for fieldtype fields.

View Source
var (
	// ValidateOptionalInt32Validator is a validator for the "validate_optional_int32" field. It is called by the builders before save.
	ValidateOptionalInt32Validator func(int32) error
)

Functions

func And

func And(predicates ...predicate.FieldType) predicate.FieldType

And groups list of predicates with the AND operator between them.

func ID

func ID(id int) predicate.FieldType

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.FieldType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FieldType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FieldType

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FieldType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FieldType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FieldType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Int

func Int(v int) predicate.FieldType

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

func Int16

func Int16(v int16) predicate.FieldType

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

func Int16EQ

func Int16EQ(v int16) predicate.FieldType

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

func Int16GT

func Int16GT(v int16) predicate.FieldType

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

func Int16GTE

func Int16GTE(v int16) predicate.FieldType

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

func Int16In

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

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

func Int16LT

func Int16LT(v int16) predicate.FieldType

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

func Int16LTE

func Int16LTE(v int16) predicate.FieldType

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

func Int16NEQ

func Int16NEQ(v int16) predicate.FieldType

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

func Int16NotIn

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

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

func Int32

func Int32(v int32) predicate.FieldType

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

func Int32EQ

func Int32EQ(v int32) predicate.FieldType

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

func Int32GT

func Int32GT(v int32) predicate.FieldType

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

func Int32GTE

func Int32GTE(v int32) predicate.FieldType

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

func Int32In

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

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

func Int32LT

func Int32LT(v int32) predicate.FieldType

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

func Int32LTE

func Int32LTE(v int32) predicate.FieldType

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

func Int32NEQ

func Int32NEQ(v int32) predicate.FieldType

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

func Int32NotIn

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

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

func Int64

func Int64(v int64) predicate.FieldType

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

func Int64EQ

func Int64EQ(v int64) predicate.FieldType

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

func Int64GT

func Int64GT(v int64) predicate.FieldType

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

func Int64GTE

func Int64GTE(v int64) predicate.FieldType

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

func Int64In

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

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

func Int64LT

func Int64LT(v int64) predicate.FieldType

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

func Int64LTE

func Int64LTE(v int64) predicate.FieldType

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

func Int64NEQ

func Int64NEQ(v int64) predicate.FieldType

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

func Int64NotIn

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

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

func Int8

func Int8(v int8) predicate.FieldType

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

func Int8EQ

func Int8EQ(v int8) predicate.FieldType

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

func Int8GT

func Int8GT(v int8) predicate.FieldType

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

func Int8GTE

func Int8GTE(v int8) predicate.FieldType

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

func Int8In

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

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

func Int8LT

func Int8LT(v int8) predicate.FieldType

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

func Int8LTE

func Int8LTE(v int8) predicate.FieldType

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

func Int8NEQ

func Int8NEQ(v int8) predicate.FieldType

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

func Int8NotIn

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

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

func IntEQ

func IntEQ(v int) predicate.FieldType

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

func IntGT

func IntGT(v int) predicate.FieldType

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

func IntGTE

func IntGTE(v int) predicate.FieldType

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

func IntIn

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

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

func IntLT

func IntLT(v int) predicate.FieldType

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

func IntLTE

func IntLTE(v int) predicate.FieldType

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

func IntNEQ

func IntNEQ(v int) predicate.FieldType

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

func IntNotIn

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

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

func NillableInt

func NillableInt(v int) predicate.FieldType

NillableInt applies equality check predicate on the "nillable_int" field. It's identical to NillableIntEQ.

func NillableInt16

func NillableInt16(v int16) predicate.FieldType

NillableInt16 applies equality check predicate on the "nillable_int16" field. It's identical to NillableInt16EQ.

func NillableInt16EQ

func NillableInt16EQ(v int16) predicate.FieldType

NillableInt16EQ applies the EQ predicate on the "nillable_int16" field.

func NillableInt16GT

func NillableInt16GT(v int16) predicate.FieldType

NillableInt16GT applies the GT predicate on the "nillable_int16" field.

func NillableInt16GTE

func NillableInt16GTE(v int16) predicate.FieldType

NillableInt16GTE applies the GTE predicate on the "nillable_int16" field.

func NillableInt16In

func NillableInt16In(vs ...int16) predicate.FieldType

NillableInt16In applies the In predicate on the "nillable_int16" field.

func NillableInt16IsNil

func NillableInt16IsNil() predicate.FieldType

NillableInt16IsNil applies the IsNil predicate on the "nillable_int16" field.

func NillableInt16LT

func NillableInt16LT(v int16) predicate.FieldType

NillableInt16LT applies the LT predicate on the "nillable_int16" field.

func NillableInt16LTE

func NillableInt16LTE(v int16) predicate.FieldType

NillableInt16LTE applies the LTE predicate on the "nillable_int16" field.

func NillableInt16NEQ

func NillableInt16NEQ(v int16) predicate.FieldType

NillableInt16NEQ applies the NEQ predicate on the "nillable_int16" field.

func NillableInt16NotIn

func NillableInt16NotIn(vs ...int16) predicate.FieldType

NillableInt16NotIn applies the NotIn predicate on the "nillable_int16" field.

func NillableInt16NotNil

func NillableInt16NotNil() predicate.FieldType

NillableInt16NotNil applies the NotNil predicate on the "nillable_int16" field.

func NillableInt32

func NillableInt32(v int32) predicate.FieldType

NillableInt32 applies equality check predicate on the "nillable_int32" field. It's identical to NillableInt32EQ.

func NillableInt32EQ

func NillableInt32EQ(v int32) predicate.FieldType

NillableInt32EQ applies the EQ predicate on the "nillable_int32" field.

func NillableInt32GT

func NillableInt32GT(v int32) predicate.FieldType

NillableInt32GT applies the GT predicate on the "nillable_int32" field.

func NillableInt32GTE

func NillableInt32GTE(v int32) predicate.FieldType

NillableInt32GTE applies the GTE predicate on the "nillable_int32" field.

func NillableInt32In

func NillableInt32In(vs ...int32) predicate.FieldType

NillableInt32In applies the In predicate on the "nillable_int32" field.

func NillableInt32IsNil

func NillableInt32IsNil() predicate.FieldType

NillableInt32IsNil applies the IsNil predicate on the "nillable_int32" field.

func NillableInt32LT

func NillableInt32LT(v int32) predicate.FieldType

NillableInt32LT applies the LT predicate on the "nillable_int32" field.

func NillableInt32LTE

func NillableInt32LTE(v int32) predicate.FieldType

NillableInt32LTE applies the LTE predicate on the "nillable_int32" field.

func NillableInt32NEQ

func NillableInt32NEQ(v int32) predicate.FieldType

NillableInt32NEQ applies the NEQ predicate on the "nillable_int32" field.

func NillableInt32NotIn

func NillableInt32NotIn(vs ...int32) predicate.FieldType

NillableInt32NotIn applies the NotIn predicate on the "nillable_int32" field.

func NillableInt32NotNil

func NillableInt32NotNil() predicate.FieldType

NillableInt32NotNil applies the NotNil predicate on the "nillable_int32" field.

func NillableInt64

func NillableInt64(v int64) predicate.FieldType

NillableInt64 applies equality check predicate on the "nillable_int64" field. It's identical to NillableInt64EQ.

func NillableInt64EQ

func NillableInt64EQ(v int64) predicate.FieldType

NillableInt64EQ applies the EQ predicate on the "nillable_int64" field.

func NillableInt64GT

func NillableInt64GT(v int64) predicate.FieldType

NillableInt64GT applies the GT predicate on the "nillable_int64" field.

func NillableInt64GTE

func NillableInt64GTE(v int64) predicate.FieldType

NillableInt64GTE applies the GTE predicate on the "nillable_int64" field.

func NillableInt64In

func NillableInt64In(vs ...int64) predicate.FieldType

NillableInt64In applies the In predicate on the "nillable_int64" field.

func NillableInt64IsNil

func NillableInt64IsNil() predicate.FieldType

NillableInt64IsNil applies the IsNil predicate on the "nillable_int64" field.

func NillableInt64LT

func NillableInt64LT(v int64) predicate.FieldType

NillableInt64LT applies the LT predicate on the "nillable_int64" field.

func NillableInt64LTE

func NillableInt64LTE(v int64) predicate.FieldType

NillableInt64LTE applies the LTE predicate on the "nillable_int64" field.

func NillableInt64NEQ

func NillableInt64NEQ(v int64) predicate.FieldType

NillableInt64NEQ applies the NEQ predicate on the "nillable_int64" field.

func NillableInt64NotIn

func NillableInt64NotIn(vs ...int64) predicate.FieldType

NillableInt64NotIn applies the NotIn predicate on the "nillable_int64" field.

func NillableInt64NotNil

func NillableInt64NotNil() predicate.FieldType

NillableInt64NotNil applies the NotNil predicate on the "nillable_int64" field.

func NillableInt8

func NillableInt8(v int8) predicate.FieldType

NillableInt8 applies equality check predicate on the "nillable_int8" field. It's identical to NillableInt8EQ.

func NillableInt8EQ

func NillableInt8EQ(v int8) predicate.FieldType

NillableInt8EQ applies the EQ predicate on the "nillable_int8" field.

func NillableInt8GT

func NillableInt8GT(v int8) predicate.FieldType

NillableInt8GT applies the GT predicate on the "nillable_int8" field.

func NillableInt8GTE

func NillableInt8GTE(v int8) predicate.FieldType

NillableInt8GTE applies the GTE predicate on the "nillable_int8" field.

func NillableInt8In

func NillableInt8In(vs ...int8) predicate.FieldType

NillableInt8In applies the In predicate on the "nillable_int8" field.

func NillableInt8IsNil

func NillableInt8IsNil() predicate.FieldType

NillableInt8IsNil applies the IsNil predicate on the "nillable_int8" field.

func NillableInt8LT

func NillableInt8LT(v int8) predicate.FieldType

NillableInt8LT applies the LT predicate on the "nillable_int8" field.

func NillableInt8LTE

func NillableInt8LTE(v int8) predicate.FieldType

NillableInt8LTE applies the LTE predicate on the "nillable_int8" field.

func NillableInt8NEQ

func NillableInt8NEQ(v int8) predicate.FieldType

NillableInt8NEQ applies the NEQ predicate on the "nillable_int8" field.

func NillableInt8NotIn

func NillableInt8NotIn(vs ...int8) predicate.FieldType

NillableInt8NotIn applies the NotIn predicate on the "nillable_int8" field.

func NillableInt8NotNil

func NillableInt8NotNil() predicate.FieldType

NillableInt8NotNil applies the NotNil predicate on the "nillable_int8" field.

func NillableIntEQ

func NillableIntEQ(v int) predicate.FieldType

NillableIntEQ applies the EQ predicate on the "nillable_int" field.

func NillableIntGT

func NillableIntGT(v int) predicate.FieldType

NillableIntGT applies the GT predicate on the "nillable_int" field.

func NillableIntGTE

func NillableIntGTE(v int) predicate.FieldType

NillableIntGTE applies the GTE predicate on the "nillable_int" field.

func NillableIntIn

func NillableIntIn(vs ...int) predicate.FieldType

NillableIntIn applies the In predicate on the "nillable_int" field.

func NillableIntIsNil

func NillableIntIsNil() predicate.FieldType

NillableIntIsNil applies the IsNil predicate on the "nillable_int" field.

func NillableIntLT

func NillableIntLT(v int) predicate.FieldType

NillableIntLT applies the LT predicate on the "nillable_int" field.

func NillableIntLTE

func NillableIntLTE(v int) predicate.FieldType

NillableIntLTE applies the LTE predicate on the "nillable_int" field.

func NillableIntNEQ

func NillableIntNEQ(v int) predicate.FieldType

NillableIntNEQ applies the NEQ predicate on the "nillable_int" field.

func NillableIntNotIn

func NillableIntNotIn(vs ...int) predicate.FieldType

NillableIntNotIn applies the NotIn predicate on the "nillable_int" field.

func NillableIntNotNil

func NillableIntNotNil() predicate.FieldType

NillableIntNotNil applies the NotNil predicate on the "nillable_int" field.

func Not

Not applies the not operator on the given predicate.

func OptionalFloat

func OptionalFloat(v float64) predicate.FieldType

OptionalFloat applies equality check predicate on the "optional_float" field. It's identical to OptionalFloatEQ.

func OptionalFloat32

func OptionalFloat32(v float32) predicate.FieldType

OptionalFloat32 applies equality check predicate on the "optional_float32" field. It's identical to OptionalFloat32EQ.

func OptionalFloat32EQ

func OptionalFloat32EQ(v float32) predicate.FieldType

OptionalFloat32EQ applies the EQ predicate on the "optional_float32" field.

func OptionalFloat32GT

func OptionalFloat32GT(v float32) predicate.FieldType

OptionalFloat32GT applies the GT predicate on the "optional_float32" field.

func OptionalFloat32GTE

func OptionalFloat32GTE(v float32) predicate.FieldType

OptionalFloat32GTE applies the GTE predicate on the "optional_float32" field.

func OptionalFloat32In

func OptionalFloat32In(vs ...float32) predicate.FieldType

OptionalFloat32In applies the In predicate on the "optional_float32" field.

func OptionalFloat32IsNil

func OptionalFloat32IsNil() predicate.FieldType

OptionalFloat32IsNil applies the IsNil predicate on the "optional_float32" field.

func OptionalFloat32LT

func OptionalFloat32LT(v float32) predicate.FieldType

OptionalFloat32LT applies the LT predicate on the "optional_float32" field.

func OptionalFloat32LTE

func OptionalFloat32LTE(v float32) predicate.FieldType

OptionalFloat32LTE applies the LTE predicate on the "optional_float32" field.

func OptionalFloat32NEQ

func OptionalFloat32NEQ(v float32) predicate.FieldType

OptionalFloat32NEQ applies the NEQ predicate on the "optional_float32" field.

func OptionalFloat32NotIn

func OptionalFloat32NotIn(vs ...float32) predicate.FieldType

OptionalFloat32NotIn applies the NotIn predicate on the "optional_float32" field.

func OptionalFloat32NotNil

func OptionalFloat32NotNil() predicate.FieldType

OptionalFloat32NotNil applies the NotNil predicate on the "optional_float32" field.

func OptionalFloatEQ

func OptionalFloatEQ(v float64) predicate.FieldType

OptionalFloatEQ applies the EQ predicate on the "optional_float" field.

func OptionalFloatGT

func OptionalFloatGT(v float64) predicate.FieldType

OptionalFloatGT applies the GT predicate on the "optional_float" field.

func OptionalFloatGTE

func OptionalFloatGTE(v float64) predicate.FieldType

OptionalFloatGTE applies the GTE predicate on the "optional_float" field.

func OptionalFloatIn

func OptionalFloatIn(vs ...float64) predicate.FieldType

OptionalFloatIn applies the In predicate on the "optional_float" field.

func OptionalFloatIsNil

func OptionalFloatIsNil() predicate.FieldType

OptionalFloatIsNil applies the IsNil predicate on the "optional_float" field.

func OptionalFloatLT

func OptionalFloatLT(v float64) predicate.FieldType

OptionalFloatLT applies the LT predicate on the "optional_float" field.

func OptionalFloatLTE

func OptionalFloatLTE(v float64) predicate.FieldType

OptionalFloatLTE applies the LTE predicate on the "optional_float" field.

func OptionalFloatNEQ

func OptionalFloatNEQ(v float64) predicate.FieldType

OptionalFloatNEQ applies the NEQ predicate on the "optional_float" field.

func OptionalFloatNotIn

func OptionalFloatNotIn(vs ...float64) predicate.FieldType

OptionalFloatNotIn applies the NotIn predicate on the "optional_float" field.

func OptionalFloatNotNil

func OptionalFloatNotNil() predicate.FieldType

OptionalFloatNotNil applies the NotNil predicate on the "optional_float" field.

func OptionalInt

func OptionalInt(v int) predicate.FieldType

OptionalInt applies equality check predicate on the "optional_int" field. It's identical to OptionalIntEQ.

func OptionalInt16

func OptionalInt16(v int16) predicate.FieldType

OptionalInt16 applies equality check predicate on the "optional_int16" field. It's identical to OptionalInt16EQ.

func OptionalInt16EQ

func OptionalInt16EQ(v int16) predicate.FieldType

OptionalInt16EQ applies the EQ predicate on the "optional_int16" field.

func OptionalInt16GT

func OptionalInt16GT(v int16) predicate.FieldType

OptionalInt16GT applies the GT predicate on the "optional_int16" field.

func OptionalInt16GTE

func OptionalInt16GTE(v int16) predicate.FieldType

OptionalInt16GTE applies the GTE predicate on the "optional_int16" field.

func OptionalInt16In

func OptionalInt16In(vs ...int16) predicate.FieldType

OptionalInt16In applies the In predicate on the "optional_int16" field.

func OptionalInt16IsNil

func OptionalInt16IsNil() predicate.FieldType

OptionalInt16IsNil applies the IsNil predicate on the "optional_int16" field.

func OptionalInt16LT

func OptionalInt16LT(v int16) predicate.FieldType

OptionalInt16LT applies the LT predicate on the "optional_int16" field.

func OptionalInt16LTE

func OptionalInt16LTE(v int16) predicate.FieldType

OptionalInt16LTE applies the LTE predicate on the "optional_int16" field.

func OptionalInt16NEQ

func OptionalInt16NEQ(v int16) predicate.FieldType

OptionalInt16NEQ applies the NEQ predicate on the "optional_int16" field.

func OptionalInt16NotIn

func OptionalInt16NotIn(vs ...int16) predicate.FieldType

OptionalInt16NotIn applies the NotIn predicate on the "optional_int16" field.

func OptionalInt16NotNil

func OptionalInt16NotNil() predicate.FieldType

OptionalInt16NotNil applies the NotNil predicate on the "optional_int16" field.

func OptionalInt32

func OptionalInt32(v int32) predicate.FieldType

OptionalInt32 applies equality check predicate on the "optional_int32" field. It's identical to OptionalInt32EQ.

func OptionalInt32EQ

func OptionalInt32EQ(v int32) predicate.FieldType

OptionalInt32EQ applies the EQ predicate on the "optional_int32" field.

func OptionalInt32GT

func OptionalInt32GT(v int32) predicate.FieldType

OptionalInt32GT applies the GT predicate on the "optional_int32" field.

func OptionalInt32GTE

func OptionalInt32GTE(v int32) predicate.FieldType

OptionalInt32GTE applies the GTE predicate on the "optional_int32" field.

func OptionalInt32In

func OptionalInt32In(vs ...int32) predicate.FieldType

OptionalInt32In applies the In predicate on the "optional_int32" field.

func OptionalInt32IsNil

func OptionalInt32IsNil() predicate.FieldType

OptionalInt32IsNil applies the IsNil predicate on the "optional_int32" field.

func OptionalInt32LT

func OptionalInt32LT(v int32) predicate.FieldType

OptionalInt32LT applies the LT predicate on the "optional_int32" field.

func OptionalInt32LTE

func OptionalInt32LTE(v int32) predicate.FieldType

OptionalInt32LTE applies the LTE predicate on the "optional_int32" field.

func OptionalInt32NEQ

func OptionalInt32NEQ(v int32) predicate.FieldType

OptionalInt32NEQ applies the NEQ predicate on the "optional_int32" field.

func OptionalInt32NotIn

func OptionalInt32NotIn(vs ...int32) predicate.FieldType

OptionalInt32NotIn applies the NotIn predicate on the "optional_int32" field.

func OptionalInt32NotNil

func OptionalInt32NotNil() predicate.FieldType

OptionalInt32NotNil applies the NotNil predicate on the "optional_int32" field.

func OptionalInt64

func OptionalInt64(v int64) predicate.FieldType

OptionalInt64 applies equality check predicate on the "optional_int64" field. It's identical to OptionalInt64EQ.

func OptionalInt64EQ

func OptionalInt64EQ(v int64) predicate.FieldType

OptionalInt64EQ applies the EQ predicate on the "optional_int64" field.

func OptionalInt64GT

func OptionalInt64GT(v int64) predicate.FieldType

OptionalInt64GT applies the GT predicate on the "optional_int64" field.

func OptionalInt64GTE

func OptionalInt64GTE(v int64) predicate.FieldType

OptionalInt64GTE applies the GTE predicate on the "optional_int64" field.

func OptionalInt64In

func OptionalInt64In(vs ...int64) predicate.FieldType

OptionalInt64In applies the In predicate on the "optional_int64" field.

func OptionalInt64IsNil

func OptionalInt64IsNil() predicate.FieldType

OptionalInt64IsNil applies the IsNil predicate on the "optional_int64" field.

func OptionalInt64LT

func OptionalInt64LT(v int64) predicate.FieldType

OptionalInt64LT applies the LT predicate on the "optional_int64" field.

func OptionalInt64LTE

func OptionalInt64LTE(v int64) predicate.FieldType

OptionalInt64LTE applies the LTE predicate on the "optional_int64" field.

func OptionalInt64NEQ

func OptionalInt64NEQ(v int64) predicate.FieldType

OptionalInt64NEQ applies the NEQ predicate on the "optional_int64" field.

func OptionalInt64NotIn

func OptionalInt64NotIn(vs ...int64) predicate.FieldType

OptionalInt64NotIn applies the NotIn predicate on the "optional_int64" field.

func OptionalInt64NotNil

func OptionalInt64NotNil() predicate.FieldType

OptionalInt64NotNil applies the NotNil predicate on the "optional_int64" field.

func OptionalInt8

func OptionalInt8(v int8) predicate.FieldType

OptionalInt8 applies equality check predicate on the "optional_int8" field. It's identical to OptionalInt8EQ.

func OptionalInt8EQ

func OptionalInt8EQ(v int8) predicate.FieldType

OptionalInt8EQ applies the EQ predicate on the "optional_int8" field.

func OptionalInt8GT

func OptionalInt8GT(v int8) predicate.FieldType

OptionalInt8GT applies the GT predicate on the "optional_int8" field.

func OptionalInt8GTE

func OptionalInt8GTE(v int8) predicate.FieldType

OptionalInt8GTE applies the GTE predicate on the "optional_int8" field.

func OptionalInt8In

func OptionalInt8In(vs ...int8) predicate.FieldType

OptionalInt8In applies the In predicate on the "optional_int8" field.

func OptionalInt8IsNil

func OptionalInt8IsNil() predicate.FieldType

OptionalInt8IsNil applies the IsNil predicate on the "optional_int8" field.

func OptionalInt8LT

func OptionalInt8LT(v int8) predicate.FieldType

OptionalInt8LT applies the LT predicate on the "optional_int8" field.

func OptionalInt8LTE

func OptionalInt8LTE(v int8) predicate.FieldType

OptionalInt8LTE applies the LTE predicate on the "optional_int8" field.

func OptionalInt8NEQ

func OptionalInt8NEQ(v int8) predicate.FieldType

OptionalInt8NEQ applies the NEQ predicate on the "optional_int8" field.

func OptionalInt8NotIn

func OptionalInt8NotIn(vs ...int8) predicate.FieldType

OptionalInt8NotIn applies the NotIn predicate on the "optional_int8" field.

func OptionalInt8NotNil

func OptionalInt8NotNil() predicate.FieldType

OptionalInt8NotNil applies the NotNil predicate on the "optional_int8" field.

func OptionalIntEQ

func OptionalIntEQ(v int) predicate.FieldType

OptionalIntEQ applies the EQ predicate on the "optional_int" field.

func OptionalIntGT

func OptionalIntGT(v int) predicate.FieldType

OptionalIntGT applies the GT predicate on the "optional_int" field.

func OptionalIntGTE

func OptionalIntGTE(v int) predicate.FieldType

OptionalIntGTE applies the GTE predicate on the "optional_int" field.

func OptionalIntIn

func OptionalIntIn(vs ...int) predicate.FieldType

OptionalIntIn applies the In predicate on the "optional_int" field.

func OptionalIntIsNil

func OptionalIntIsNil() predicate.FieldType

OptionalIntIsNil applies the IsNil predicate on the "optional_int" field.

func OptionalIntLT

func OptionalIntLT(v int) predicate.FieldType

OptionalIntLT applies the LT predicate on the "optional_int" field.

func OptionalIntLTE

func OptionalIntLTE(v int) predicate.FieldType

OptionalIntLTE applies the LTE predicate on the "optional_int" field.

func OptionalIntNEQ

func OptionalIntNEQ(v int) predicate.FieldType

OptionalIntNEQ applies the NEQ predicate on the "optional_int" field.

func OptionalIntNotIn

func OptionalIntNotIn(vs ...int) predicate.FieldType

OptionalIntNotIn applies the NotIn predicate on the "optional_int" field.

func OptionalIntNotNil

func OptionalIntNotNil() predicate.FieldType

OptionalIntNotNil applies the NotNil predicate on the "optional_int" field.

func OptionalUint

func OptionalUint(v uint) predicate.FieldType

OptionalUint applies equality check predicate on the "optional_uint" field. It's identical to OptionalUintEQ.

func OptionalUint16

func OptionalUint16(v uint16) predicate.FieldType

OptionalUint16 applies equality check predicate on the "optional_uint16" field. It's identical to OptionalUint16EQ.

func OptionalUint16EQ

func OptionalUint16EQ(v uint16) predicate.FieldType

OptionalUint16EQ applies the EQ predicate on the "optional_uint16" field.

func OptionalUint16GT

func OptionalUint16GT(v uint16) predicate.FieldType

OptionalUint16GT applies the GT predicate on the "optional_uint16" field.

func OptionalUint16GTE

func OptionalUint16GTE(v uint16) predicate.FieldType

OptionalUint16GTE applies the GTE predicate on the "optional_uint16" field.

func OptionalUint16In

func OptionalUint16In(vs ...uint16) predicate.FieldType

OptionalUint16In applies the In predicate on the "optional_uint16" field.

func OptionalUint16IsNil

func OptionalUint16IsNil() predicate.FieldType

OptionalUint16IsNil applies the IsNil predicate on the "optional_uint16" field.

func OptionalUint16LT

func OptionalUint16LT(v uint16) predicate.FieldType

OptionalUint16LT applies the LT predicate on the "optional_uint16" field.

func OptionalUint16LTE

func OptionalUint16LTE(v uint16) predicate.FieldType

OptionalUint16LTE applies the LTE predicate on the "optional_uint16" field.

func OptionalUint16NEQ

func OptionalUint16NEQ(v uint16) predicate.FieldType

OptionalUint16NEQ applies the NEQ predicate on the "optional_uint16" field.

func OptionalUint16NotIn

func OptionalUint16NotIn(vs ...uint16) predicate.FieldType

OptionalUint16NotIn applies the NotIn predicate on the "optional_uint16" field.

func OptionalUint16NotNil

func OptionalUint16NotNil() predicate.FieldType

OptionalUint16NotNil applies the NotNil predicate on the "optional_uint16" field.

func OptionalUint32

func OptionalUint32(v uint32) predicate.FieldType

OptionalUint32 applies equality check predicate on the "optional_uint32" field. It's identical to OptionalUint32EQ.

func OptionalUint32EQ

func OptionalUint32EQ(v uint32) predicate.FieldType

OptionalUint32EQ applies the EQ predicate on the "optional_uint32" field.

func OptionalUint32GT

func OptionalUint32GT(v uint32) predicate.FieldType

OptionalUint32GT applies the GT predicate on the "optional_uint32" field.

func OptionalUint32GTE

func OptionalUint32GTE(v uint32) predicate.FieldType

OptionalUint32GTE applies the GTE predicate on the "optional_uint32" field.

func OptionalUint32In

func OptionalUint32In(vs ...uint32) predicate.FieldType

OptionalUint32In applies the In predicate on the "optional_uint32" field.

func OptionalUint32IsNil

func OptionalUint32IsNil() predicate.FieldType

OptionalUint32IsNil applies the IsNil predicate on the "optional_uint32" field.

func OptionalUint32LT

func OptionalUint32LT(v uint32) predicate.FieldType

OptionalUint32LT applies the LT predicate on the "optional_uint32" field.

func OptionalUint32LTE

func OptionalUint32LTE(v uint32) predicate.FieldType

OptionalUint32LTE applies the LTE predicate on the "optional_uint32" field.

func OptionalUint32NEQ

func OptionalUint32NEQ(v uint32) predicate.FieldType

OptionalUint32NEQ applies the NEQ predicate on the "optional_uint32" field.

func OptionalUint32NotIn

func OptionalUint32NotIn(vs ...uint32) predicate.FieldType

OptionalUint32NotIn applies the NotIn predicate on the "optional_uint32" field.

func OptionalUint32NotNil

func OptionalUint32NotNil() predicate.FieldType

OptionalUint32NotNil applies the NotNil predicate on the "optional_uint32" field.

func OptionalUint64

func OptionalUint64(v uint64) predicate.FieldType

OptionalUint64 applies equality check predicate on the "optional_uint64" field. It's identical to OptionalUint64EQ.

func OptionalUint64EQ

func OptionalUint64EQ(v uint64) predicate.FieldType

OptionalUint64EQ applies the EQ predicate on the "optional_uint64" field.

func OptionalUint64GT

func OptionalUint64GT(v uint64) predicate.FieldType

OptionalUint64GT applies the GT predicate on the "optional_uint64" field.

func OptionalUint64GTE

func OptionalUint64GTE(v uint64) predicate.FieldType

OptionalUint64GTE applies the GTE predicate on the "optional_uint64" field.

func OptionalUint64In

func OptionalUint64In(vs ...uint64) predicate.FieldType

OptionalUint64In applies the In predicate on the "optional_uint64" field.

func OptionalUint64IsNil

func OptionalUint64IsNil() predicate.FieldType

OptionalUint64IsNil applies the IsNil predicate on the "optional_uint64" field.

func OptionalUint64LT

func OptionalUint64LT(v uint64) predicate.FieldType

OptionalUint64LT applies the LT predicate on the "optional_uint64" field.

func OptionalUint64LTE

func OptionalUint64LTE(v uint64) predicate.FieldType

OptionalUint64LTE applies the LTE predicate on the "optional_uint64" field.

func OptionalUint64NEQ

func OptionalUint64NEQ(v uint64) predicate.FieldType

OptionalUint64NEQ applies the NEQ predicate on the "optional_uint64" field.

func OptionalUint64NotIn

func OptionalUint64NotIn(vs ...uint64) predicate.FieldType

OptionalUint64NotIn applies the NotIn predicate on the "optional_uint64" field.

func OptionalUint64NotNil

func OptionalUint64NotNil() predicate.FieldType

OptionalUint64NotNil applies the NotNil predicate on the "optional_uint64" field.

func OptionalUint8

func OptionalUint8(v uint8) predicate.FieldType

OptionalUint8 applies equality check predicate on the "optional_uint8" field. It's identical to OptionalUint8EQ.

func OptionalUint8EQ

func OptionalUint8EQ(v uint8) predicate.FieldType

OptionalUint8EQ applies the EQ predicate on the "optional_uint8" field.

func OptionalUint8GT

func OptionalUint8GT(v uint8) predicate.FieldType

OptionalUint8GT applies the GT predicate on the "optional_uint8" field.

func OptionalUint8GTE

func OptionalUint8GTE(v uint8) predicate.FieldType

OptionalUint8GTE applies the GTE predicate on the "optional_uint8" field.

func OptionalUint8In

func OptionalUint8In(vs ...uint8) predicate.FieldType

OptionalUint8In applies the In predicate on the "optional_uint8" field.

func OptionalUint8IsNil

func OptionalUint8IsNil() predicate.FieldType

OptionalUint8IsNil applies the IsNil predicate on the "optional_uint8" field.

func OptionalUint8LT

func OptionalUint8LT(v uint8) predicate.FieldType

OptionalUint8LT applies the LT predicate on the "optional_uint8" field.

func OptionalUint8LTE

func OptionalUint8LTE(v uint8) predicate.FieldType

OptionalUint8LTE applies the LTE predicate on the "optional_uint8" field.

func OptionalUint8NEQ

func OptionalUint8NEQ(v uint8) predicate.FieldType

OptionalUint8NEQ applies the NEQ predicate on the "optional_uint8" field.

func OptionalUint8NotIn

func OptionalUint8NotIn(vs ...uint8) predicate.FieldType

OptionalUint8NotIn applies the NotIn predicate on the "optional_uint8" field.

func OptionalUint8NotNil

func OptionalUint8NotNil() predicate.FieldType

OptionalUint8NotNil applies the NotNil predicate on the "optional_uint8" field.

func OptionalUintEQ

func OptionalUintEQ(v uint) predicate.FieldType

OptionalUintEQ applies the EQ predicate on the "optional_uint" field.

func OptionalUintGT

func OptionalUintGT(v uint) predicate.FieldType

OptionalUintGT applies the GT predicate on the "optional_uint" field.

func OptionalUintGTE

func OptionalUintGTE(v uint) predicate.FieldType

OptionalUintGTE applies the GTE predicate on the "optional_uint" field.

func OptionalUintIn

func OptionalUintIn(vs ...uint) predicate.FieldType

OptionalUintIn applies the In predicate on the "optional_uint" field.

func OptionalUintIsNil

func OptionalUintIsNil() predicate.FieldType

OptionalUintIsNil applies the IsNil predicate on the "optional_uint" field.

func OptionalUintLT

func OptionalUintLT(v uint) predicate.FieldType

OptionalUintLT applies the LT predicate on the "optional_uint" field.

func OptionalUintLTE

func OptionalUintLTE(v uint) predicate.FieldType

OptionalUintLTE applies the LTE predicate on the "optional_uint" field.

func OptionalUintNEQ

func OptionalUintNEQ(v uint) predicate.FieldType

OptionalUintNEQ applies the NEQ predicate on the "optional_uint" field.

func OptionalUintNotIn

func OptionalUintNotIn(vs ...uint) predicate.FieldType

OptionalUintNotIn applies the NotIn predicate on the "optional_uint" field.

func OptionalUintNotNil

func OptionalUintNotNil() predicate.FieldType

OptionalUintNotNil applies the NotNil predicate on the "optional_uint" field.

func Or

func Or(predicates ...predicate.FieldType) predicate.FieldType

Or groups list of predicates with the OR operator between them.

func StateEQ

func StateEQ(v State) predicate.FieldType

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

func StateIn

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

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

func StateIsNil

func StateIsNil() predicate.FieldType

StateIsNil applies the IsNil predicate on the "state" field.

func StateNEQ

func StateNEQ(v State) predicate.FieldType

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

func StateNotIn

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

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

func StateNotNil

func StateNotNil() predicate.FieldType

StateNotNil applies the NotNil predicate on the "state" field.

func StateValidator

func StateValidator(s State) error

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

func ValidateOptionalInt32

func ValidateOptionalInt32(v int32) predicate.FieldType

ValidateOptionalInt32 applies equality check predicate on the "validate_optional_int32" field. It's identical to ValidateOptionalInt32EQ.

func ValidateOptionalInt32EQ

func ValidateOptionalInt32EQ(v int32) predicate.FieldType

ValidateOptionalInt32EQ applies the EQ predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32GT

func ValidateOptionalInt32GT(v int32) predicate.FieldType

ValidateOptionalInt32GT applies the GT predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32GTE

func ValidateOptionalInt32GTE(v int32) predicate.FieldType

ValidateOptionalInt32GTE applies the GTE predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32In

func ValidateOptionalInt32In(vs ...int32) predicate.FieldType

ValidateOptionalInt32In applies the In predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32IsNil

func ValidateOptionalInt32IsNil() predicate.FieldType

ValidateOptionalInt32IsNil applies the IsNil predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32LT

func ValidateOptionalInt32LT(v int32) predicate.FieldType

ValidateOptionalInt32LT applies the LT predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32LTE

func ValidateOptionalInt32LTE(v int32) predicate.FieldType

ValidateOptionalInt32LTE applies the LTE predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32NEQ

func ValidateOptionalInt32NEQ(v int32) predicate.FieldType

ValidateOptionalInt32NEQ applies the NEQ predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32NotIn

func ValidateOptionalInt32NotIn(vs ...int32) predicate.FieldType

ValidateOptionalInt32NotIn applies the NotIn predicate on the "validate_optional_int32" field.

func ValidateOptionalInt32NotNil

func ValidateOptionalInt32NotNil() predicate.FieldType

ValidateOptionalInt32NotNil applies the NotNil predicate on the "validate_optional_int32" field.

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