fieldtype

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 8 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 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"

	// Table holds the table name of the fieldtype in the database.
	Table = "field_types"
)
View Source
const DefaultRole role.Role = "READ"

Variables

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

Columns holds all SQL columns for fieldtype fields.

View Source
var ForeignKeys = []string{
	"file_field",
}

ForeignKeys holds the SQL foreign-keys that are owned by the FieldType type.

Functions

func Active added in v0.2.3

func Active(v schema.Status) predicate.FieldType

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

func ActiveEQ added in v0.2.3

func ActiveEQ(v schema.Status) predicate.FieldType

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

func ActiveIsNil added in v0.2.3

func ActiveIsNil() predicate.FieldType

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

func ActiveNEQ added in v0.2.3

func ActiveNEQ(v schema.Status) predicate.FieldType

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

func ActiveNotNil added in v0.2.3

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 added in v0.2.2

func Datetime(v time.Time) predicate.FieldType

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

func DatetimeEQ added in v0.2.2

func DatetimeEQ(v time.Time) predicate.FieldType

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

func DatetimeGT added in v0.2.2

func DatetimeGT(v time.Time) predicate.FieldType

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

func DatetimeGTE added in v0.2.2

func DatetimeGTE(v time.Time) predicate.FieldType

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

func DatetimeIn added in v0.2.2

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

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

func DatetimeIsNil added in v0.2.2

func DatetimeIsNil() predicate.FieldType

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

func DatetimeLT added in v0.2.2

func DatetimeLT(v time.Time) predicate.FieldType

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

func DatetimeLTE added in v0.2.2

func DatetimeLTE(v time.Time) predicate.FieldType

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

func DatetimeNEQ added in v0.2.2

func DatetimeNEQ(v time.Time) predicate.FieldType

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

func DatetimeNotIn added in v0.2.2

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

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

func DatetimeNotNil added in v0.2.2

func DatetimeNotNil() predicate.FieldType

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

func Decimal added in v0.2.2

func Decimal(v float64) predicate.FieldType

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

func DecimalEQ added in v0.2.2

func DecimalEQ(v float64) predicate.FieldType

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

func DecimalGT added in v0.2.2

func DecimalGT(v float64) predicate.FieldType

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

func DecimalGTE added in v0.2.2

func DecimalGTE(v float64) predicate.FieldType

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

func DecimalIn added in v0.2.2

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

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

func DecimalIsNil added in v0.2.2

func DecimalIsNil() predicate.FieldType

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

func DecimalLT added in v0.2.2

func DecimalLT(v float64) predicate.FieldType

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

func DecimalLTE added in v0.2.2

func DecimalLTE(v float64) predicate.FieldType

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

func DecimalNEQ added in v0.2.2

func DecimalNEQ(v float64) predicate.FieldType

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

func DecimalNotIn added in v0.2.2

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

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

func DecimalNotNil added in v0.2.2

func DecimalNotNil() predicate.FieldType

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

func Deleted added in v0.2.3

func Deleted(v sql.NullBool) predicate.FieldType

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

func DeletedAt added in v0.2.3

func DeletedAt(v sql.NullTime) predicate.FieldType

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

func DeletedAtEQ added in v0.2.3

func DeletedAtEQ(v sql.NullTime) predicate.FieldType

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

func DeletedAtGT added in v0.2.3

func DeletedAtGT(v sql.NullTime) predicate.FieldType

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

func DeletedAtGTE added in v0.2.3

func DeletedAtGTE(v sql.NullTime) predicate.FieldType

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

func DeletedAtIn added in v0.2.3

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

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

func DeletedAtIsNil added in v0.2.3

func DeletedAtIsNil() predicate.FieldType

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

func DeletedAtLT added in v0.2.3

func DeletedAtLT(v sql.NullTime) predicate.FieldType

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

func DeletedAtLTE added in v0.2.3

func DeletedAtLTE(v sql.NullTime) predicate.FieldType

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

func DeletedAtNEQ added in v0.2.3

func DeletedAtNEQ(v sql.NullTime) predicate.FieldType

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

func DeletedAtNotIn added in v0.2.3

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

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

func DeletedAtNotNil added in v0.2.3

func DeletedAtNotNil() predicate.FieldType

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

func DeletedEQ added in v0.2.3

func DeletedEQ(v sql.NullBool) predicate.FieldType

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

func DeletedIsNil added in v0.2.3

func DeletedIsNil() predicate.FieldType

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

func DeletedNEQ added in v0.2.3

func DeletedNEQ(v sql.NullBool) predicate.FieldType

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

func DeletedNotNil added in v0.2.3

func DeletedNotNil() predicate.FieldType

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

func Dir added in v0.2.3

func Dir(v http.Dir) predicate.FieldType

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

func DirContains added in v0.2.3

func DirContains(v http.Dir) predicate.FieldType

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

func DirContainsFold added in v0.2.3

func DirContainsFold(v http.Dir) predicate.FieldType

DirContainsFold applies the ContainsFold predicate on the "dir" field.

func DirEQ added in v0.2.3

func DirEQ(v http.Dir) predicate.FieldType

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

func DirEqualFold added in v0.2.3

func DirEqualFold(v http.Dir) predicate.FieldType

DirEqualFold applies the EqualFold predicate on the "dir" field.

func DirGT added in v0.2.3

func DirGT(v http.Dir) predicate.FieldType

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

func DirGTE added in v0.2.3

func DirGTE(v http.Dir) predicate.FieldType

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

func DirHasPrefix added in v0.2.3

func DirHasPrefix(v http.Dir) predicate.FieldType

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

func DirHasSuffix added in v0.2.3

func DirHasSuffix(v http.Dir) predicate.FieldType

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

func DirIn added in v0.2.3

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

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

func DirIsNil added in v0.2.3

func DirIsNil() predicate.FieldType

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

func DirLT added in v0.2.3

func DirLT(v http.Dir) predicate.FieldType

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

func DirLTE added in v0.2.3

func DirLTE(v http.Dir) predicate.FieldType

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

func DirNEQ added in v0.2.3

func DirNEQ(v http.Dir) predicate.FieldType

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

func DirNotIn added in v0.2.3

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

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

func DirNotNil added in v0.2.3

func DirNotNil() predicate.FieldType

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

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 IP added in v0.2.3

func IP(v net.IP) predicate.FieldType

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

func IPEQ added in v0.2.3

func IPEQ(v net.IP) predicate.FieldType

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

func IPGT added in v0.2.3

func IPGT(v net.IP) predicate.FieldType

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

func IPGTE added in v0.2.3

func IPGTE(v net.IP) predicate.FieldType

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

func IPIn added in v0.2.3

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

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

func IPIsNil added in v0.2.3

func IPIsNil() predicate.FieldType

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

func IPLT added in v0.2.3

func IPLT(v net.IP) predicate.FieldType

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

func IPLTE added in v0.2.3

func IPLTE(v net.IP) predicate.FieldType

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

func IPNEQ added in v0.2.3

func IPNEQ(v net.IP) predicate.FieldType

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

func IPNotIn added in v0.2.3

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

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

func IPNotNil added in v0.2.3

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.

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

func LinkContains added in v0.2.3

func LinkContains(v schema.Link) predicate.FieldType

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

func LinkContainsFold added in v0.2.3

func LinkContainsFold(v schema.Link) predicate.FieldType

LinkContainsFold applies the ContainsFold predicate on the "link" field.

func LinkEQ added in v0.2.3

func LinkEQ(v schema.Link) predicate.FieldType

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

func LinkEqualFold added in v0.2.3

func LinkEqualFold(v schema.Link) predicate.FieldType

LinkEqualFold applies the EqualFold predicate on the "link" field.

func LinkGT added in v0.2.3

func LinkGT(v schema.Link) predicate.FieldType

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

func LinkGTE added in v0.2.3

func LinkGTE(v schema.Link) predicate.FieldType

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

func LinkHasPrefix added in v0.2.3

func LinkHasPrefix(v schema.Link) predicate.FieldType

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

func LinkHasSuffix added in v0.2.3

func LinkHasSuffix(v schema.Link) predicate.FieldType

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

func LinkIn added in v0.2.3

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

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

func LinkIsNil added in v0.2.3

func LinkIsNil() predicate.FieldType

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

func LinkLT added in v0.2.3

func LinkLT(v schema.Link) predicate.FieldType

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

func LinkLTE added in v0.2.3

func LinkLTE(v schema.Link) predicate.FieldType

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

func LinkNEQ added in v0.2.3

func LinkNEQ(v schema.Link) predicate.FieldType

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

func LinkNotIn added in v0.2.3

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

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

func LinkNotNil added in v0.2.3

func LinkNotNil() predicate.FieldType

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

func Ndir added in v0.2.3

func Ndir(v http.Dir) predicate.FieldType

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

func NdirContains added in v0.2.3

func NdirContains(v http.Dir) predicate.FieldType

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

func NdirContainsFold added in v0.2.3

func NdirContainsFold(v http.Dir) predicate.FieldType

NdirContainsFold applies the ContainsFold predicate on the "ndir" field.

func NdirEQ added in v0.2.3

func NdirEQ(v http.Dir) predicate.FieldType

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

func NdirEqualFold added in v0.2.3

func NdirEqualFold(v http.Dir) predicate.FieldType

NdirEqualFold applies the EqualFold predicate on the "ndir" field.

func NdirGT added in v0.2.3

func NdirGT(v http.Dir) predicate.FieldType

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

func NdirGTE added in v0.2.3

func NdirGTE(v http.Dir) predicate.FieldType

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

func NdirHasPrefix added in v0.2.3

func NdirHasPrefix(v http.Dir) predicate.FieldType

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

func NdirHasSuffix added in v0.2.3

func NdirHasSuffix(v http.Dir) predicate.FieldType

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

func NdirIn added in v0.2.3

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

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

func NdirIsNil added in v0.2.3

func NdirIsNil() predicate.FieldType

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

func NdirLT added in v0.2.3

func NdirLT(v http.Dir) predicate.FieldType

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

func NdirLTE added in v0.2.3

func NdirLTE(v http.Dir) predicate.FieldType

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

func NdirNEQ added in v0.2.3

func NdirNEQ(v http.Dir) predicate.FieldType

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

func NdirNotIn added in v0.2.3

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

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

func NdirNotNil added in v0.2.3

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

Not applies the not operator on the given predicate.

func NullActive added in v0.2.3

func NullActive(v schema.Status) predicate.FieldType

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

func NullActiveEQ added in v0.2.3

func NullActiveEQ(v schema.Status) predicate.FieldType

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

func NullActiveIsNil added in v0.2.3

func NullActiveIsNil() predicate.FieldType

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

func NullActiveNEQ added in v0.2.3

func NullActiveNEQ(v schema.Status) predicate.FieldType

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

func NullActiveNotNil added in v0.2.3

func NullActiveNotNil() predicate.FieldType

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

func NullFloatIsNil added in v0.2.3

func NullFloatIsNil() predicate.FieldType

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

func NullFloatNotNil added in v0.2.3

func NullFloatNotNil() predicate.FieldType

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

func NullInt64IsNil added in v0.2.3

func NullInt64IsNil() predicate.FieldType

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

func NullInt64NotNil added in v0.2.3

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 added in v0.2.3

func NullLinkContains(v schema.Link) predicate.FieldType

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

func NullLinkContainsFold added in v0.2.3

func NullLinkContainsFold(v schema.Link) predicate.FieldType

NullLinkContainsFold applies the ContainsFold predicate on the "null_link" field.

func NullLinkEQ added in v0.2.3

func NullLinkEQ(v schema.Link) predicate.FieldType

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

func NullLinkEqualFold added in v0.2.3

func NullLinkEqualFold(v schema.Link) predicate.FieldType

NullLinkEqualFold applies the EqualFold predicate on the "null_link" field.

func NullLinkGT added in v0.2.3

func NullLinkGT(v schema.Link) predicate.FieldType

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

func NullLinkGTE added in v0.2.3

func NullLinkGTE(v schema.Link) predicate.FieldType

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

func NullLinkHasPrefix added in v0.2.3

func NullLinkHasPrefix(v schema.Link) predicate.FieldType

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

func NullLinkHasSuffix added in v0.2.3

func NullLinkHasSuffix(v schema.Link) predicate.FieldType

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

func NullLinkIn added in v0.2.3

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

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

func NullLinkIsNil added in v0.2.3

func NullLinkIsNil() predicate.FieldType

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

func NullLinkLT added in v0.2.3

func NullLinkLT(v schema.Link) predicate.FieldType

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

func NullLinkLTE added in v0.2.3

func NullLinkLTE(v schema.Link) predicate.FieldType

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

func NullLinkNEQ added in v0.2.3

func NullLinkNEQ(v schema.Link) predicate.FieldType

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

func NullLinkNotIn added in v0.2.3

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

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

func NullLinkNotNil added in v0.2.3

func NullLinkNotNil() predicate.FieldType

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

func NullStr added in v0.2.3

func NullStr(v sql.NullString) predicate.FieldType

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

func NullStrContains added in v0.2.3

func NullStrContains(v sql.NullString) predicate.FieldType

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

func NullStrContainsFold added in v0.2.3

func NullStrContainsFold(v sql.NullString) predicate.FieldType

NullStrContainsFold applies the ContainsFold predicate on the "null_str" field.

func NullStrEQ added in v0.2.3

func NullStrEQ(v sql.NullString) predicate.FieldType

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

func NullStrEqualFold added in v0.2.3

func NullStrEqualFold(v sql.NullString) predicate.FieldType

NullStrEqualFold applies the EqualFold predicate on the "null_str" field.

func NullStrGT added in v0.2.3

func NullStrGT(v sql.NullString) predicate.FieldType

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

func NullStrGTE added in v0.2.3

func NullStrGTE(v sql.NullString) predicate.FieldType

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

func NullStrHasPrefix added in v0.2.3

func NullStrHasPrefix(v sql.NullString) predicate.FieldType

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

func NullStrHasSuffix added in v0.2.3

func NullStrHasSuffix(v sql.NullString) predicate.FieldType

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

func NullStrIn added in v0.2.3

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

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

func NullStrIsNil added in v0.2.3

func NullStrIsNil() predicate.FieldType

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

func NullStrLT added in v0.2.3

func NullStrLT(v sql.NullString) predicate.FieldType

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

func NullStrLTE added in v0.2.3

func NullStrLTE(v sql.NullString) predicate.FieldType

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

func NullStrNEQ added in v0.2.3

func NullStrNEQ(v sql.NullString) predicate.FieldType

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

func NullStrNotIn added in v0.2.3

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

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

func NullStrNotNil added in v0.2.3

func NullStrNotNil() predicate.FieldType

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

func OptionalFloat added in v0.1.3

func OptionalFloat(v float64) predicate.FieldType

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

func OptionalFloat32 added in v0.1.3

func OptionalFloat32(v float32) predicate.FieldType

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

func OptionalFloat32EQ added in v0.1.3

func OptionalFloat32EQ(v float32) predicate.FieldType

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

func OptionalFloat32GT added in v0.1.3

func OptionalFloat32GT(v float32) predicate.FieldType

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

func OptionalFloat32GTE added in v0.1.3

func OptionalFloat32GTE(v float32) predicate.FieldType

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

func OptionalFloat32In added in v0.1.3

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

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

func OptionalFloat32IsNil added in v0.1.3

func OptionalFloat32IsNil() predicate.FieldType

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

func OptionalFloat32LT added in v0.1.3

func OptionalFloat32LT(v float32) predicate.FieldType

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

func OptionalFloat32LTE added in v0.1.3

func OptionalFloat32LTE(v float32) predicate.FieldType

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

func OptionalFloat32NEQ added in v0.1.3

func OptionalFloat32NEQ(v float32) predicate.FieldType

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

func OptionalFloat32NotIn added in v0.1.3

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

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

func OptionalFloat32NotNil added in v0.1.3

func OptionalFloat32NotNil() predicate.FieldType

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

func OptionalFloatEQ added in v0.1.3

func OptionalFloatEQ(v float64) predicate.FieldType

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

func OptionalFloatGT added in v0.1.3

func OptionalFloatGT(v float64) predicate.FieldType

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

func OptionalFloatGTE added in v0.1.3

func OptionalFloatGTE(v float64) predicate.FieldType

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

func OptionalFloatIn added in v0.1.3

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

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

func OptionalFloatIsNil added in v0.1.3

func OptionalFloatIsNil() predicate.FieldType

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

func OptionalFloatLT added in v0.1.3

func OptionalFloatLT(v float64) predicate.FieldType

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

func OptionalFloatLTE added in v0.1.3

func OptionalFloatLTE(v float64) predicate.FieldType

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

func OptionalFloatNEQ added in v0.1.3

func OptionalFloatNEQ(v float64) predicate.FieldType

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

func OptionalFloatNotIn added in v0.1.3

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

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

func OptionalFloatNotNil added in v0.1.3

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 added in v0.3.0

func RoleEQ(v role.Role) predicate.FieldType

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

func RoleIn added in v0.3.0

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

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

func RoleNEQ added in v0.3.0

func RoleNEQ(v role.Role) predicate.FieldType

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

func RoleNotIn added in v0.3.0

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

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

func RoleValidator added in v0.3.0

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 added in v0.2.3

func SchemaFloat(v schema.Float64) predicate.FieldType

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

func SchemaFloat32 added in v0.2.3

func SchemaFloat32(v schema.Float32) predicate.FieldType

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

func SchemaFloat32EQ added in v0.2.3

func SchemaFloat32EQ(v schema.Float32) predicate.FieldType

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

func SchemaFloat32GT added in v0.2.3

func SchemaFloat32GT(v schema.Float32) predicate.FieldType

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

func SchemaFloat32GTE added in v0.2.3

func SchemaFloat32GTE(v schema.Float32) predicate.FieldType

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

func SchemaFloat32In added in v0.2.3

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

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

func SchemaFloat32IsNil added in v0.2.3

func SchemaFloat32IsNil() predicate.FieldType

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

func SchemaFloat32LT added in v0.2.3

func SchemaFloat32LT(v schema.Float32) predicate.FieldType

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

func SchemaFloat32LTE added in v0.2.3

func SchemaFloat32LTE(v schema.Float32) predicate.FieldType

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

func SchemaFloat32NEQ added in v0.2.3

func SchemaFloat32NEQ(v schema.Float32) predicate.FieldType

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

func SchemaFloat32NotIn added in v0.2.3

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

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

func SchemaFloat32NotNil added in v0.2.3

func SchemaFloat32NotNil() predicate.FieldType

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

func SchemaFloatEQ added in v0.2.3

func SchemaFloatEQ(v schema.Float64) predicate.FieldType

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

func SchemaFloatGT added in v0.2.3

func SchemaFloatGT(v schema.Float64) predicate.FieldType

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

func SchemaFloatGTE added in v0.2.3

func SchemaFloatGTE(v schema.Float64) predicate.FieldType

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

func SchemaFloatIn added in v0.2.3

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

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

func SchemaFloatIsNil added in v0.2.3

func SchemaFloatIsNil() predicate.FieldType

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

func SchemaFloatLT added in v0.2.3

func SchemaFloatLT(v schema.Float64) predicate.FieldType

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

func SchemaFloatLTE added in v0.2.3

func SchemaFloatLTE(v schema.Float64) predicate.FieldType

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

func SchemaFloatNEQ added in v0.2.3

func SchemaFloatNEQ(v schema.Float64) predicate.FieldType

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

func SchemaFloatNotIn added in v0.2.3

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

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

func SchemaFloatNotNil added in v0.2.3

func SchemaFloatNotNil() predicate.FieldType

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

func SchemaInt added in v0.2.3

func SchemaInt(v schema.Int) predicate.FieldType

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

func SchemaInt64 added in v0.2.3

func SchemaInt64(v schema.Int64) predicate.FieldType

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

func SchemaInt64EQ added in v0.2.3

func SchemaInt64EQ(v schema.Int64) predicate.FieldType

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

func SchemaInt64GT added in v0.2.3

func SchemaInt64GT(v schema.Int64) predicate.FieldType

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

func SchemaInt64GTE added in v0.2.3

func SchemaInt64GTE(v schema.Int64) predicate.FieldType

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

func SchemaInt64In added in v0.2.3

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

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

func SchemaInt64IsNil added in v0.2.3

func SchemaInt64IsNil() predicate.FieldType

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

func SchemaInt64LT added in v0.2.3

func SchemaInt64LT(v schema.Int64) predicate.FieldType

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

func SchemaInt64LTE added in v0.2.3

func SchemaInt64LTE(v schema.Int64) predicate.FieldType

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

func SchemaInt64NEQ added in v0.2.3

func SchemaInt64NEQ(v schema.Int64) predicate.FieldType

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

func SchemaInt64NotIn added in v0.2.3

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

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

func SchemaInt64NotNil added in v0.2.3

func SchemaInt64NotNil() predicate.FieldType

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

func SchemaInt8 added in v0.2.3

func SchemaInt8(v schema.Int8) predicate.FieldType

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

func SchemaInt8EQ added in v0.2.3

func SchemaInt8EQ(v schema.Int8) predicate.FieldType

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

func SchemaInt8GT added in v0.2.3

func SchemaInt8GT(v schema.Int8) predicate.FieldType

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

func SchemaInt8GTE added in v0.2.3

func SchemaInt8GTE(v schema.Int8) predicate.FieldType

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

func SchemaInt8In added in v0.2.3

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

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

func SchemaInt8IsNil added in v0.2.3

func SchemaInt8IsNil() predicate.FieldType

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

func SchemaInt8LT added in v0.2.3

func SchemaInt8LT(v schema.Int8) predicate.FieldType

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

func SchemaInt8LTE added in v0.2.3

func SchemaInt8LTE(v schema.Int8) predicate.FieldType

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

func SchemaInt8NEQ added in v0.2.3

func SchemaInt8NEQ(v schema.Int8) predicate.FieldType

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

func SchemaInt8NotIn added in v0.2.3

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

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

func SchemaInt8NotNil added in v0.2.3

func SchemaInt8NotNil() predicate.FieldType

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

func SchemaIntEQ added in v0.2.3

func SchemaIntEQ(v schema.Int) predicate.FieldType

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

func SchemaIntGT added in v0.2.3

func SchemaIntGT(v schema.Int) predicate.FieldType

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

func SchemaIntGTE added in v0.2.3

func SchemaIntGTE(v schema.Int) predicate.FieldType

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

func SchemaIntIn added in v0.2.3

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

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

func SchemaIntIsNil added in v0.2.3

func SchemaIntIsNil() predicate.FieldType

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

func SchemaIntLT added in v0.2.3

func SchemaIntLT(v schema.Int) predicate.FieldType

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

func SchemaIntLTE added in v0.2.3

func SchemaIntLTE(v schema.Int) predicate.FieldType

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

func SchemaIntNEQ added in v0.2.3

func SchemaIntNEQ(v schema.Int) predicate.FieldType

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

func SchemaIntNotIn added in v0.2.3

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

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

func SchemaIntNotNil added in v0.2.3

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 added in v0.2.3

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

func StrContains added in v0.2.3

func StrContains(v sql.NullString) predicate.FieldType

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

func StrContainsFold added in v0.2.3

func StrContainsFold(v sql.NullString) predicate.FieldType

StrContainsFold applies the ContainsFold predicate on the "str" field.

func StrEQ added in v0.2.3

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

func StrEqualFold added in v0.2.3

func StrEqualFold(v sql.NullString) predicate.FieldType

StrEqualFold applies the EqualFold predicate on the "str" field.

func StrGT added in v0.2.3

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

func StrGTE added in v0.2.3

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

func StrHasPrefix added in v0.2.3

func StrHasPrefix(v sql.NullString) predicate.FieldType

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

func StrHasSuffix added in v0.2.3

func StrHasSuffix(v sql.NullString) predicate.FieldType

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

func StrIn added in v0.2.3

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

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

func StrIsNil added in v0.2.3

func StrIsNil() predicate.FieldType

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

func StrLT added in v0.2.3

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

func StrLTE added in v0.2.3

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

func StrNEQ added in v0.2.3

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

func StrNotIn added in v0.2.3

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

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

func StrNotNil added in v0.2.3

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 (
	StateOff State = "off"
	StateOn  State = "on"
)

State values.

func (State) Ptr added in v0.2.6

func (s State) Ptr() *State

Ptr returns a new pointer to the enum value.

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