Documentation

Index

Constants

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 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"
	// FieldOptionalInt holds the string denoting the optional_int field in the database.
	FieldOptionalInt = "optional_int"
	// FieldOptionalInt8 holds the string denoting the optional_int8 field in the database.
	FieldOptionalInt8 = "optional_int8"
	// FieldOptionalInt16 holds the string denoting the optional_int16 field in the database.
	FieldOptionalInt16 = "optional_int16"
	// FieldOptionalInt32 holds the string denoting the optional_int32 field in the database.
	FieldOptionalInt32 = "optional_int32"
	// FieldOptionalInt64 holds the string denoting the optional_int64 field in the database.
	FieldOptionalInt64 = "optional_int64"
	// FieldNillableInt holds the string denoting the nillable_int field in the database.
	FieldNillableInt = "nillable_int"
	// FieldNillableInt8 holds the string denoting the nillable_int8 field in the database.
	FieldNillableInt8 = "nillable_int8"
	// FieldNillableInt16 holds the string denoting the nillable_int16 field in the database.
	FieldNillableInt16 = "nillable_int16"
	// FieldNillableInt32 holds the string denoting the nillable_int32 field in the database.
	FieldNillableInt32 = "nillable_int32"
	// FieldNillableInt64 holds the string denoting the nillable_int64 field in the database.
	FieldNillableInt64 = "nillable_int64"
	// FieldValidateOptionalInt32 holds the string denoting the validate_optional_int32 field in the database.
	FieldValidateOptionalInt32 = "validate_optional_int32"
	// FieldOptionalUint holds the string denoting the optional_uint field in the database.
	FieldOptionalUint = "optional_uint"
	// FieldOptionalUint8 holds the string denoting the optional_uint8 field in the database.
	FieldOptionalUint8 = "optional_uint8"
	// FieldOptionalUint16 holds the string denoting the optional_uint16 field in the database.
	FieldOptionalUint16 = "optional_uint16"
	// FieldOptionalUint32 holds the string denoting the optional_uint32 field in the database.
	FieldOptionalUint32 = "optional_uint32"
	// FieldOptionalUint64 holds the string denoting the optional_uint64 field in the database.
	FieldOptionalUint64 = "optional_uint64"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldOptionalFloat holds the string denoting the optional_float field in the database.
	FieldOptionalFloat = "optional_float"
	// FieldOptionalFloat32 holds the string denoting the optional_float32 field in the database.
	FieldOptionalFloat32 = "optional_float32"
	// FieldDatetime holds the string denoting the datetime field in the database.
	FieldDatetime = "datetime"
	// FieldDecimal holds the string denoting the decimal field in the database.
	FieldDecimal = "decimal"
	// FieldDir holds the string denoting the dir field in the database.
	FieldDir = "dir"
	// FieldNdir holds the string denoting the ndir field in the database.
	FieldNdir = "ndir"
	// FieldStr holds the string denoting the str field in the database.
	FieldStr = "str"
	// FieldNullStr holds the string denoting the null_str field in the database.
	FieldNullStr = "null_str"
	// FieldLink holds the string denoting the link field in the database.
	FieldLink = "link"
	// FieldNullLink holds the string denoting the null_link field in the database.
	FieldNullLink = "null_link"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldNullActive holds the string denoting the null_active field in the database.
	FieldNullActive = "null_active"
	// FieldDeleted holds the string denoting the deleted field in the database.
	FieldDeleted = "deleted"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldIP holds the string denoting the ip field in the database.
	FieldIP = "ip"
	// FieldNullInt64 holds the string denoting the null_int64 field in the database.
	FieldNullInt64 = "null_int64"
	// FieldSchemaInt holds the string denoting the schema_int field in the database.
	FieldSchemaInt = "schema_int"
	// FieldSchemaInt8 holds the string denoting the schema_int8 field in the database.
	FieldSchemaInt8 = "schema_int8"
	// FieldSchemaInt64 holds the string denoting the schema_int64 field in the database.
	FieldSchemaInt64 = "schema_int64"
	// FieldSchemaFloat holds the string denoting the schema_float field in the database.
	FieldSchemaFloat = "schema_float"
	// FieldSchemaFloat32 holds the string denoting the schema_float32 field in the database.
	FieldSchemaFloat32 = "schema_float32"
	// FieldNullFloat holds the string denoting the null_float field in the database.
	FieldNullFloat = "null_float"
	// FieldRole holds the string denoting the role field in the database.
	FieldRole = "role"
)

const DefaultRole role.Role = "READ"

Variables

var (
	// ValidateOptionalInt32Validator is a validator for the "validate_optional_int32" field. It is called by the builders before save.
	ValidateOptionalInt32Validator func(int32) error
	// NdirValidator is a validator for the "ndir" field. It is called by the builders before save.
	NdirValidator func(string) error
	// LinkValidator is a validator for the "link" field. It is called by the builders before save.
	LinkValidator func(string) error
)

Functions

func Active

func Active(v schema.Status) predicate.FieldType

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v schema.Status) predicate.FieldType

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveIsNil

func ActiveIsNil() predicate.FieldType

ActiveIsNil applies the IsNil predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v schema.Status) predicate.FieldType

ActiveNEQ applies the NEQ predicate on the "active" field.

func ActiveNotNil

func ActiveNotNil() predicate.FieldType

ActiveNotNil applies the NotNil predicate on the "active" field.

func And

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

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

func Datetime

func Datetime(v time.Time) predicate.FieldType

Datetime applies equality check predicate on the "datetime" field. It's identical to DatetimeEQ.

func DatetimeEQ

func DatetimeEQ(v time.Time) predicate.FieldType

DatetimeEQ applies the EQ predicate on the "datetime" field.

func DatetimeGT

func DatetimeGT(v time.Time) predicate.FieldType

DatetimeGT applies the GT predicate on the "datetime" field.

func DatetimeGTE

func DatetimeGTE(v time.Time) predicate.FieldType

DatetimeGTE applies the GTE predicate on the "datetime" field.

func DatetimeIn

func DatetimeIn(vs ...time.Time) predicate.FieldType

DatetimeIn applies the In predicate on the "datetime" field.

func DatetimeIsNil

func DatetimeIsNil() predicate.FieldType

DatetimeIsNil applies the IsNil predicate on the "datetime" field.

func DatetimeLT

func DatetimeLT(v time.Time) predicate.FieldType

DatetimeLT applies the LT predicate on the "datetime" field.

func DatetimeLTE

func DatetimeLTE(v time.Time) predicate.FieldType

DatetimeLTE applies the LTE predicate on the "datetime" field.

func DatetimeNEQ

func DatetimeNEQ(v time.Time) predicate.FieldType

DatetimeNEQ applies the NEQ predicate on the "datetime" field.

func DatetimeNotIn

func DatetimeNotIn(vs ...time.Time) predicate.FieldType

DatetimeNotIn applies the NotIn predicate on the "datetime" field.

func DatetimeNotNil

func DatetimeNotNil() predicate.FieldType

DatetimeNotNil applies the NotNil predicate on the "datetime" field.

func Decimal

func Decimal(v float64) predicate.FieldType

Decimal applies equality check predicate on the "decimal" field. It's identical to DecimalEQ.

func DecimalEQ

func DecimalEQ(v float64) predicate.FieldType

DecimalEQ applies the EQ predicate on the "decimal" field.

func DecimalGT

func DecimalGT(v float64) predicate.FieldType

DecimalGT applies the GT predicate on the "decimal" field.

func DecimalGTE

func DecimalGTE(v float64) predicate.FieldType

DecimalGTE applies the GTE predicate on the "decimal" field.

func DecimalIn

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

DecimalIn applies the In predicate on the "decimal" field.

func DecimalIsNil

func DecimalIsNil() predicate.FieldType

DecimalIsNil applies the IsNil predicate on the "decimal" field.

func DecimalLT

func DecimalLT(v float64) predicate.FieldType

DecimalLT applies the LT predicate on the "decimal" field.

func DecimalLTE

func DecimalLTE(v float64) predicate.FieldType

DecimalLTE applies the LTE predicate on the "decimal" field.

func DecimalNEQ

func DecimalNEQ(v float64) predicate.FieldType

DecimalNEQ applies the NEQ predicate on the "decimal" field.

func DecimalNotIn

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

DecimalNotIn applies the NotIn predicate on the "decimal" field.

func DecimalNotNil

func DecimalNotNil() predicate.FieldType

DecimalNotNil applies the NotNil predicate on the "decimal" field.

func Deleted

func Deleted(v sql.NullBool) predicate.FieldType

Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.

func DeletedAt

func DeletedAt(v sql.NullTime) predicate.FieldType

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v sql.NullTime) predicate.FieldType

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v sql.NullTime) predicate.FieldType

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v sql.NullTime) predicate.FieldType

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...sql.NullTime) predicate.FieldType

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.FieldType

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v sql.NullTime) predicate.FieldType

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v sql.NullTime) predicate.FieldType

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v sql.NullTime) predicate.FieldType

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...sql.NullTime) predicate.FieldType

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.FieldType

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedEQ

func DeletedEQ(v sql.NullBool) predicate.FieldType

DeletedEQ applies the EQ predicate on the "deleted" field.

func DeletedIsNil

func DeletedIsNil() predicate.FieldType

DeletedIsNil applies the IsNil predicate on the "deleted" field.

func DeletedNEQ

func DeletedNEQ(v sql.NullBool) predicate.FieldType

DeletedNEQ applies the NEQ predicate on the "deleted" field.

func DeletedNotNil

func DeletedNotNil() predicate.FieldType

DeletedNotNil applies the NotNil predicate on the "deleted" field.

func Dir

func Dir(v http.Dir) predicate.FieldType

Dir applies equality check predicate on the "dir" field. It's identical to DirEQ.

func DirContains

func DirContains(v http.Dir) predicate.FieldType

DirContains applies the Contains predicate on the "dir" field.

func DirEQ

func DirEQ(v http.Dir) predicate.FieldType

DirEQ applies the EQ predicate on the "dir" field.

func DirGT

func DirGT(v http.Dir) predicate.FieldType

DirGT applies the GT predicate on the "dir" field.

func DirGTE

func DirGTE(v http.Dir) predicate.FieldType

DirGTE applies the GTE predicate on the "dir" field.

func DirHasPrefix

func DirHasPrefix(v http.Dir) predicate.FieldType

DirHasPrefix applies the HasPrefix predicate on the "dir" field.

func DirHasSuffix

func DirHasSuffix(v http.Dir) predicate.FieldType

DirHasSuffix applies the HasSuffix predicate on the "dir" field.

func DirIn

func DirIn(vs ...http.Dir) predicate.FieldType

DirIn applies the In predicate on the "dir" field.

func DirIsNil

func DirIsNil() predicate.FieldType

DirIsNil applies the IsNil predicate on the "dir" field.

func DirLT

func DirLT(v http.Dir) predicate.FieldType

DirLT applies the LT predicate on the "dir" field.

func DirLTE

func DirLTE(v http.Dir) predicate.FieldType

DirLTE applies the LTE predicate on the "dir" field.

func DirNEQ

func DirNEQ(v http.Dir) predicate.FieldType

DirNEQ applies the NEQ predicate on the "dir" field.

func DirNotIn

func DirNotIn(vs ...http.Dir) predicate.FieldType

DirNotIn applies the NotIn predicate on the "dir" field.

func DirNotNil

func DirNotNil() predicate.FieldType

DirNotNil applies the NotNil predicate on the "dir" field.

func ID

func ID(id string) predicate.FieldType

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id string) predicate.FieldType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.FieldType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.FieldType

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.FieldType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.FieldType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.FieldType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IP

func IP(v net.IP) predicate.FieldType

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPEQ

func IPEQ(v net.IP) predicate.FieldType

IPEQ applies the EQ predicate on the "ip" field.

func IPGT

func IPGT(v net.IP) predicate.FieldType

IPGT applies the GT predicate on the "ip" field.

func IPGTE

func IPGTE(v net.IP) predicate.FieldType

IPGTE applies the GTE predicate on the "ip" field.

func IPIn

func IPIn(vs ...net.IP) predicate.FieldType

IPIn applies the In predicate on the "ip" field.

func IPIsNil

func IPIsNil() predicate.FieldType

IPIsNil applies the IsNil predicate on the "ip" field.

func IPLT

func IPLT(v net.IP) predicate.FieldType

IPLT applies the LT predicate on the "ip" field.

func IPLTE

func IPLTE(v net.IP) predicate.FieldType

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

func IPNEQ(v net.IP) predicate.FieldType

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...net.IP) predicate.FieldType

IPNotIn applies the NotIn predicate on the "ip" field.

func IPNotNil

func IPNotNil() predicate.FieldType

IPNotNil applies the NotNil predicate on the "ip" 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 Link(v schema.Link) predicate.FieldType

Link applies equality check predicate on the "link" field. It's identical to LinkEQ.

func LinkContains

func LinkContains(v schema.Link) predicate.FieldType

LinkContains applies the Contains predicate on the "link" field.

func LinkEQ

func LinkEQ(v schema.Link) predicate.FieldType

LinkEQ applies the EQ predicate on the "link" field.

func LinkGT

func LinkGT(v schema.Link) predicate.FieldType

LinkGT applies the GT predicate on the "link" field.

func LinkGTE

func LinkGTE(v schema.Link) predicate.FieldType

LinkGTE applies the GTE predicate on the "link" field.

func LinkHasPrefix

func LinkHasPrefix(v schema.Link) predicate.FieldType

LinkHasPrefix applies the HasPrefix predicate on the "link" field.

func LinkHasSuffix

func LinkHasSuffix(v schema.Link) predicate.FieldType

LinkHasSuffix applies the HasSuffix predicate on the "link" field.

func LinkIn

func LinkIn(vs ...schema.Link) predicate.FieldType

LinkIn applies the In predicate on the "link" field.

func LinkIsNil

func LinkIsNil() predicate.FieldType

LinkIsNil applies the IsNil predicate on the "link" field.

func LinkLT

func LinkLT(v schema.Link) predicate.FieldType

LinkLT applies the LT predicate on the "link" field.

func LinkLTE

func LinkLTE(v schema.Link) predicate.FieldType

LinkLTE applies the LTE predicate on the "link" field.

func LinkNEQ

func LinkNEQ(v schema.Link) predicate.FieldType

LinkNEQ applies the NEQ predicate on the "link" field.

func LinkNotIn

func LinkNotIn(vs ...schema.Link) predicate.FieldType

LinkNotIn applies the NotIn predicate on the "link" field.

func LinkNotNil

func LinkNotNil() predicate.FieldType

LinkNotNil applies the NotNil predicate on the "link" field.

func Ndir

func Ndir(v http.Dir) predicate.FieldType

Ndir applies equality check predicate on the "ndir" field. It's identical to NdirEQ.

func NdirContains

func NdirContains(v http.Dir) predicate.FieldType

NdirContains applies the Contains predicate on the "ndir" field.

func NdirEQ

func NdirEQ(v http.Dir) predicate.FieldType

NdirEQ applies the EQ predicate on the "ndir" field.

func NdirGT

func NdirGT(v http.Dir) predicate.FieldType

NdirGT applies the GT predicate on the "ndir" field.

func NdirGTE

func NdirGTE(v http.Dir) predicate.FieldType

NdirGTE applies the GTE predicate on the "ndir" field.

func NdirHasPrefix

func NdirHasPrefix(v http.Dir) predicate.FieldType

NdirHasPrefix applies the HasPrefix predicate on the "ndir" field.

func NdirHasSuffix

func NdirHasSuffix(v http.Dir) predicate.FieldType

NdirHasSuffix applies the HasSuffix predicate on the "ndir" field.

func NdirIn

func NdirIn(vs ...http.Dir) predicate.FieldType

NdirIn applies the In predicate on the "ndir" field.

func NdirIsNil

func NdirIsNil() predicate.FieldType

NdirIsNil applies the IsNil predicate on the "ndir" field.

func NdirLT

func NdirLT(v http.Dir) predicate.FieldType

NdirLT applies the LT predicate on the "ndir" field.

func NdirLTE

func NdirLTE(v http.Dir) predicate.FieldType

NdirLTE applies the LTE predicate on the "ndir" field.

func NdirNEQ

func NdirNEQ(v http.Dir) predicate.FieldType

NdirNEQ applies the NEQ predicate on the "ndir" field.

func NdirNotIn

func NdirNotIn(vs ...http.Dir) predicate.FieldType

NdirNotIn applies the NotIn predicate on the "ndir" field.

func NdirNotNil

func NdirNotNil() predicate.FieldType

NdirNotNil applies the NotNil predicate on the "ndir" 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

func Not(p predicate.FieldType) predicate.FieldType

Not applies the not operator on the given predicate.

func NullActive

func NullActive(v schema.Status) predicate.FieldType

NullActive applies equality check predicate on the "null_active" field. It's identical to NullActiveEQ.

func NullActiveEQ

func NullActiveEQ(v schema.Status) predicate.FieldType

NullActiveEQ applies the EQ predicate on the "null_active" field.

func NullActiveIsNil

func NullActiveIsNil() predicate.FieldType

NullActiveIsNil applies the IsNil predicate on the "null_active" field.

func NullActiveNEQ

func NullActiveNEQ(v schema.Status) predicate.FieldType

NullActiveNEQ applies the NEQ predicate on the "null_active" field.

func NullActiveNotNil

func NullActiveNotNil() predicate.FieldType

NullActiveNotNil applies the NotNil predicate on the "null_active" field.

func NullFloatIsNil

func NullFloatIsNil() predicate.FieldType

NullFloatIsNil applies the IsNil predicate on the "null_float" field.

func NullFloatNotNil

func NullFloatNotNil() predicate.FieldType

NullFloatNotNil applies the NotNil predicate on the "null_float" field.

func NullInt64IsNil

func NullInt64IsNil() predicate.FieldType

NullInt64IsNil applies the IsNil predicate on the "null_int64" field.

func NullInt64NotNil

func NullInt64NotNil() predicate.FieldType

NullInt64NotNil applies the NotNil predicate on the "null_int64" field.

func NullLink(v schema.Link) predicate.FieldType

NullLink applies equality check predicate on the "null_link" field. It's identical to NullLinkEQ.

func NullLinkContains

func NullLinkContains(v schema.Link) predicate.FieldType

NullLinkContains applies the Contains predicate on the "null_link" field.

func NullLinkEQ

func NullLinkEQ(v schema.Link) predicate.FieldType

NullLinkEQ applies the EQ predicate on the "null_link" field.

func NullLinkGT

func NullLinkGT(v schema.Link) predicate.FieldType

NullLinkGT applies the GT predicate on the "null_link" field.

func NullLinkGTE

func NullLinkGTE(v schema.Link) predicate.FieldType

NullLinkGTE applies the GTE predicate on the "null_link" field.

func NullLinkHasPrefix

func NullLinkHasPrefix(v schema.Link) predicate.FieldType

NullLinkHasPrefix applies the HasPrefix predicate on the "null_link" field.

func NullLinkHasSuffix

func NullLinkHasSuffix(v schema.Link) predicate.FieldType

NullLinkHasSuffix applies the HasSuffix predicate on the "null_link" field.

func NullLinkIn

func NullLinkIn(vs ...schema.Link) predicate.FieldType

NullLinkIn applies the In predicate on the "null_link" field.

func NullLinkIsNil

func NullLinkIsNil() predicate.FieldType

NullLinkIsNil applies the IsNil predicate on the "null_link" field.

func NullLinkLT

func NullLinkLT(v schema.Link) predicate.FieldType

NullLinkLT applies the LT predicate on the "null_link" field.

func NullLinkLTE

func NullLinkLTE(v schema.Link) predicate.FieldType

NullLinkLTE applies the LTE predicate on the "null_link" field.

func NullLinkNEQ

func NullLinkNEQ(v schema.Link) predicate.FieldType

NullLinkNEQ applies the NEQ predicate on the "null_link" field.

func NullLinkNotIn

func NullLinkNotIn(vs ...schema.Link) predicate.FieldType

NullLinkNotIn applies the NotIn predicate on the "null_link" field.

func NullLinkNotNil

func NullLinkNotNil() predicate.FieldType

NullLinkNotNil applies the NotNil predicate on the "null_link" field.

func NullStr

func NullStr(v sql.NullString) predicate.FieldType

NullStr applies equality check predicate on the "null_str" field. It's identical to NullStrEQ.

func NullStrContains

func NullStrContains(v sql.NullString) predicate.FieldType

NullStrContains applies the Contains predicate on the "null_str" field.

func NullStrEQ

func NullStrEQ(v sql.NullString) predicate.FieldType

NullStrEQ applies the EQ predicate on the "null_str" field.

func NullStrGT

func NullStrGT(v sql.NullString) predicate.FieldType

NullStrGT applies the GT predicate on the "null_str" field.

func NullStrGTE

func NullStrGTE(v sql.NullString) predicate.FieldType

NullStrGTE applies the GTE predicate on the "null_str" field.

func NullStrHasPrefix

func NullStrHasPrefix(v sql.NullString) predicate.FieldType

NullStrHasPrefix applies the HasPrefix predicate on the "null_str" field.

func NullStrHasSuffix

func NullStrHasSuffix(v sql.NullString) predicate.FieldType

NullStrHasSuffix applies the HasSuffix predicate on the "null_str" field.

func NullStrIn

func NullStrIn(vs ...sql.NullString) predicate.FieldType

NullStrIn applies the In predicate on the "null_str" field.

func NullStrIsNil

func NullStrIsNil() predicate.FieldType

NullStrIsNil applies the IsNil predicate on the "null_str" field.

func NullStrLT

func NullStrLT(v sql.NullString) predicate.FieldType

NullStrLT applies the LT predicate on the "null_str" field.

func NullStrLTE

func NullStrLTE(v sql.NullString) predicate.FieldType

NullStrLTE applies the LTE predicate on the "null_str" field.

func NullStrNEQ

func NullStrNEQ(v sql.NullString) predicate.FieldType

NullStrNEQ applies the NEQ predicate on the "null_str" field.

func NullStrNotIn

func NullStrNotIn(vs ...sql.NullString) predicate.FieldType

NullStrNotIn applies the NotIn predicate on the "null_str" field.

func NullStrNotNil

func NullStrNotNil() predicate.FieldType

NullStrNotNil applies the NotNil predicate on the "null_str" field.

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 RoleEQ

func RoleEQ(v role.Role) predicate.FieldType

RoleEQ applies the EQ predicate on the "role" field.

func RoleIn

func RoleIn(vs ...role.Role) predicate.FieldType

RoleIn applies the In predicate on the "role" field.

func RoleNEQ

func RoleNEQ(v role.Role) predicate.FieldType

RoleNEQ applies the NEQ predicate on the "role" field.

func RoleNotIn

func RoleNotIn(vs ...role.Role) predicate.FieldType

RoleNotIn applies the NotIn predicate on the "role" field.

func RoleValidator

func RoleValidator(r role.Role) error

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

func SchemaFloat

func SchemaFloat(v schema.Float64) predicate.FieldType

SchemaFloat applies equality check predicate on the "schema_float" field. It's identical to SchemaFloatEQ.

func SchemaFloat32

func SchemaFloat32(v schema.Float32) predicate.FieldType

SchemaFloat32 applies equality check predicate on the "schema_float32" field. It's identical to SchemaFloat32EQ.

func SchemaFloat32EQ

func SchemaFloat32EQ(v schema.Float32) predicate.FieldType

SchemaFloat32EQ applies the EQ predicate on the "schema_float32" field.

func SchemaFloat32GT

func SchemaFloat32GT(v schema.Float32) predicate.FieldType

SchemaFloat32GT applies the GT predicate on the "schema_float32" field.

func SchemaFloat32GTE

func SchemaFloat32GTE(v schema.Float32) predicate.FieldType

SchemaFloat32GTE applies the GTE predicate on the "schema_float32" field.

func SchemaFloat32In

func SchemaFloat32In(vs ...schema.Float32) predicate.FieldType

SchemaFloat32In applies the In predicate on the "schema_float32" field.

func SchemaFloat32IsNil

func SchemaFloat32IsNil() predicate.FieldType

SchemaFloat32IsNil applies the IsNil predicate on the "schema_float32" field.

func SchemaFloat32LT

func SchemaFloat32LT(v schema.Float32) predicate.FieldType

SchemaFloat32LT applies the LT predicate on the "schema_float32" field.

func SchemaFloat32LTE

func SchemaFloat32LTE(v schema.Float32) predicate.FieldType

SchemaFloat32LTE applies the LTE predicate on the "schema_float32" field.

func SchemaFloat32NEQ

func SchemaFloat32NEQ(v schema.Float32) predicate.FieldType

SchemaFloat32NEQ applies the NEQ predicate on the "schema_float32" field.

func SchemaFloat32NotIn

func SchemaFloat32NotIn(vs ...schema.Float32) predicate.FieldType

SchemaFloat32NotIn applies the NotIn predicate on the "schema_float32" field.

func SchemaFloat32NotNil

func SchemaFloat32NotNil() predicate.FieldType

SchemaFloat32NotNil applies the NotNil predicate on the "schema_float32" field.

func SchemaFloatEQ

func SchemaFloatEQ(v schema.Float64) predicate.FieldType

SchemaFloatEQ applies the EQ predicate on the "schema_float" field.

func SchemaFloatGT

func SchemaFloatGT(v schema.Float64) predicate.FieldType

SchemaFloatGT applies the GT predicate on the "schema_float" field.

func SchemaFloatGTE

func SchemaFloatGTE(v schema.Float64) predicate.FieldType

SchemaFloatGTE applies the GTE predicate on the "schema_float" field.

func SchemaFloatIn

func SchemaFloatIn(vs ...schema.Float64) predicate.FieldType

SchemaFloatIn applies the In predicate on the "schema_float" field.

func SchemaFloatIsNil

func SchemaFloatIsNil() predicate.FieldType

SchemaFloatIsNil applies the IsNil predicate on the "schema_float" field.

func SchemaFloatLT

func SchemaFloatLT(v schema.Float64) predicate.FieldType

SchemaFloatLT applies the LT predicate on the "schema_float" field.

func SchemaFloatLTE

func SchemaFloatLTE(v schema.Float64) predicate.FieldType

SchemaFloatLTE applies the LTE predicate on the "schema_float" field.

func SchemaFloatNEQ

func SchemaFloatNEQ(v schema.Float64) predicate.FieldType

SchemaFloatNEQ applies the NEQ predicate on the "schema_float" field.

func SchemaFloatNotIn

func SchemaFloatNotIn(vs ...schema.Float64) predicate.FieldType

SchemaFloatNotIn applies the NotIn predicate on the "schema_float" field.

func SchemaFloatNotNil

func SchemaFloatNotNil() predicate.FieldType

SchemaFloatNotNil applies the NotNil predicate on the "schema_float" field.

func SchemaInt

func SchemaInt(v schema.Int) predicate.FieldType

SchemaInt applies equality check predicate on the "schema_int" field. It's identical to SchemaIntEQ.

func SchemaInt64

func SchemaInt64(v schema.Int64) predicate.FieldType

SchemaInt64 applies equality check predicate on the "schema_int64" field. It's identical to SchemaInt64EQ.

func SchemaInt64EQ

func SchemaInt64EQ(v schema.Int64) predicate.FieldType

SchemaInt64EQ applies the EQ predicate on the "schema_int64" field.

func SchemaInt64GT

func SchemaInt64GT(v schema.Int64) predicate.FieldType

SchemaInt64GT applies the GT predicate on the "schema_int64" field.

func SchemaInt64GTE

func SchemaInt64GTE(v schema.Int64) predicate.FieldType

SchemaInt64GTE applies the GTE predicate on the "schema_int64" field.

func SchemaInt64In

func SchemaInt64In(vs ...schema.Int64) predicate.FieldType

SchemaInt64In applies the In predicate on the "schema_int64" field.

func SchemaInt64IsNil

func SchemaInt64IsNil() predicate.FieldType

SchemaInt64IsNil applies the IsNil predicate on the "schema_int64" field.

func SchemaInt64LT

func SchemaInt64LT(v schema.Int64) predicate.FieldType

SchemaInt64LT applies the LT predicate on the "schema_int64" field.

func SchemaInt64LTE

func SchemaInt64LTE(v schema.Int64) predicate.FieldType

SchemaInt64LTE applies the LTE predicate on the "schema_int64" field.

func SchemaInt64NEQ

func SchemaInt64NEQ(v schema.Int64) predicate.FieldType

SchemaInt64NEQ applies the NEQ predicate on the "schema_int64" field.

func SchemaInt64NotIn

func SchemaInt64NotIn(vs ...schema.Int64) predicate.FieldType

SchemaInt64NotIn applies the NotIn predicate on the "schema_int64" field.

func SchemaInt64NotNil

func SchemaInt64NotNil() predicate.FieldType

SchemaInt64NotNil applies the NotNil predicate on the "schema_int64" field.

func SchemaInt8

func SchemaInt8(v schema.Int8) predicate.FieldType

SchemaInt8 applies equality check predicate on the "schema_int8" field. It's identical to SchemaInt8EQ.

func SchemaInt8EQ

func SchemaInt8EQ(v schema.Int8) predicate.FieldType

SchemaInt8EQ applies the EQ predicate on the "schema_int8" field.

func SchemaInt8GT

func SchemaInt8GT(v schema.Int8) predicate.FieldType

SchemaInt8GT applies the GT predicate on the "schema_int8" field.

func SchemaInt8GTE

func SchemaInt8GTE(v schema.Int8) predicate.FieldType

SchemaInt8GTE applies the GTE predicate on the "schema_int8" field.

func SchemaInt8In

func SchemaInt8In(vs ...schema.Int8) predicate.FieldType

SchemaInt8In applies the In predicate on the "schema_int8" field.

func SchemaInt8IsNil

func SchemaInt8IsNil() predicate.FieldType

SchemaInt8IsNil applies the IsNil predicate on the "schema_int8" field.

func SchemaInt8LT

func SchemaInt8LT(v schema.Int8) predicate.FieldType

SchemaInt8LT applies the LT predicate on the "schema_int8" field.

func SchemaInt8LTE

func SchemaInt8LTE(v schema.Int8) predicate.FieldType

SchemaInt8LTE applies the LTE predicate on the "schema_int8" field.

func SchemaInt8NEQ

func SchemaInt8NEQ(v schema.Int8) predicate.FieldType

SchemaInt8NEQ applies the NEQ predicate on the "schema_int8" field.

func SchemaInt8NotIn

func SchemaInt8NotIn(vs ...schema.Int8) predicate.FieldType

SchemaInt8NotIn applies the NotIn predicate on the "schema_int8" field.

func SchemaInt8NotNil

func SchemaInt8NotNil() predicate.FieldType

SchemaInt8NotNil applies the NotNil predicate on the "schema_int8" field.

func SchemaIntEQ

func SchemaIntEQ(v schema.Int) predicate.FieldType

SchemaIntEQ applies the EQ predicate on the "schema_int" field.

func SchemaIntGT

func SchemaIntGT(v schema.Int) predicate.FieldType

SchemaIntGT applies the GT predicate on the "schema_int" field.

func SchemaIntGTE

func SchemaIntGTE(v schema.Int) predicate.FieldType

SchemaIntGTE applies the GTE predicate on the "schema_int" field.

func SchemaIntIn

func SchemaIntIn(vs ...schema.Int) predicate.FieldType

SchemaIntIn applies the In predicate on the "schema_int" field.

func SchemaIntIsNil

func SchemaIntIsNil() predicate.FieldType

SchemaIntIsNil applies the IsNil predicate on the "schema_int" field.

func SchemaIntLT

func SchemaIntLT(v schema.Int) predicate.FieldType

SchemaIntLT applies the LT predicate on the "schema_int" field.

func SchemaIntLTE

func SchemaIntLTE(v schema.Int) predicate.FieldType

SchemaIntLTE applies the LTE predicate on the "schema_int" field.

func SchemaIntNEQ

func SchemaIntNEQ(v schema.Int) predicate.FieldType

SchemaIntNEQ applies the NEQ predicate on the "schema_int" field.

func SchemaIntNotIn

func SchemaIntNotIn(vs ...schema.Int) predicate.FieldType

SchemaIntNotIn applies the NotIn predicate on the "schema_int" field.

func SchemaIntNotNil

func SchemaIntNotNil() predicate.FieldType

SchemaIntNotNil applies the NotNil predicate on the "schema_int" field.

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 "state" field enum values. It is called by the builders before save.

func Str

func Str(v sql.NullString) predicate.FieldType

Str applies equality check predicate on the "str" field. It's identical to StrEQ.

func StrContains

func StrContains(v sql.NullString) predicate.FieldType

StrContains applies the Contains predicate on the "str" field.

func StrEQ

func StrEQ(v sql.NullString) predicate.FieldType

StrEQ applies the EQ predicate on the "str" field.

func StrGT

func StrGT(v sql.NullString) predicate.FieldType

StrGT applies the GT predicate on the "str" field.

func StrGTE

func StrGTE(v sql.NullString) predicate.FieldType

StrGTE applies the GTE predicate on the "str" field.

func StrHasPrefix

func StrHasPrefix(v sql.NullString) predicate.FieldType

StrHasPrefix applies the HasPrefix predicate on the "str" field.

func StrHasSuffix

func StrHasSuffix(v sql.NullString) predicate.FieldType

StrHasSuffix applies the HasSuffix predicate on the "str" field.

func StrIn

func StrIn(vs ...sql.NullString) predicate.FieldType

StrIn applies the In predicate on the "str" field.

func StrIsNil

func StrIsNil() predicate.FieldType

StrIsNil applies the IsNil predicate on the "str" field.

func StrLT

func StrLT(v sql.NullString) predicate.FieldType

StrLT applies the LT predicate on the "str" field.

func StrLTE

func StrLTE(v sql.NullString) predicate.FieldType

StrLTE applies the LTE predicate on the "str" field.

func StrNEQ

func StrNEQ(v sql.NullString) predicate.FieldType

StrNEQ applies the NEQ predicate on the "str" field.

func StrNotIn

func StrNotIn(vs ...sql.NullString) predicate.FieldType

StrNotIn applies the NotIn predicate on the "str" field.

func StrNotNil

func StrNotNil() predicate.FieldType

StrNotNil applies the NotNil predicate on the "str" field.

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) Ptr

func (s State) Ptr() *State

Ptr returns a new pointer to the enum value.

func (State) String

func (s State) String() string