ent: github.com/facebookincubator/ent/entc/integration/ent/fieldtype Index | Files

package fieldtype

import "github.com/facebookincubator/ent/entc/integration/ent/fieldtype"

Index

Package Files

fieldtype.go where.go

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 vertex property in the database.
    FieldInt = "int"
    // FieldInt8 holds the string denoting the int8 vertex property in the database.
    FieldInt8 = "int8"
    // FieldInt16 holds the string denoting the int16 vertex property in the database.
    FieldInt16 = "int16"
    // FieldInt32 holds the string denoting the int32 vertex property in the database.
    FieldInt32 = "int32"
    // FieldInt64 holds the string denoting the int64 vertex property in the database.
    FieldInt64 = "int64"
    // FieldOptionalInt holds the string denoting the optional_int vertex property in the database.
    FieldOptionalInt = "optional_int"
    // FieldOptionalInt8 holds the string denoting the optional_int8 vertex property in the database.
    FieldOptionalInt8 = "optional_int8"
    // FieldOptionalInt16 holds the string denoting the optional_int16 vertex property in the database.
    FieldOptionalInt16 = "optional_int16"
    // FieldOptionalInt32 holds the string denoting the optional_int32 vertex property in the database.
    FieldOptionalInt32 = "optional_int32"
    // FieldOptionalInt64 holds the string denoting the optional_int64 vertex property in the database.
    FieldOptionalInt64 = "optional_int64"
    // FieldNillableInt holds the string denoting the nillable_int vertex property in the database.
    FieldNillableInt = "nillable_int"
    // FieldNillableInt8 holds the string denoting the nillable_int8 vertex property in the database.
    FieldNillableInt8 = "nillable_int8"
    // FieldNillableInt16 holds the string denoting the nillable_int16 vertex property in the database.
    FieldNillableInt16 = "nillable_int16"
    // FieldNillableInt32 holds the string denoting the nillable_int32 vertex property in the database.
    FieldNillableInt32 = "nillable_int32"
    // FieldNillableInt64 holds the string denoting the nillable_int64 vertex property in the database.
    FieldNillableInt64 = "nillable_int64"
    // FieldValidateOptionalInt32 holds the string denoting the validate_optional_int32 vertex property in the database.
    FieldValidateOptionalInt32 = "validate_optional_int32"
    // FieldState holds the string denoting the state vertex property in the database.
    FieldState = "state"

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

Variables

var Columns = []string{
    FieldID,
    FieldInt,
    FieldInt8,
    FieldInt16,
    FieldInt32,
    FieldInt64,
    FieldOptionalInt,
    FieldOptionalInt8,
    FieldOptionalInt16,
    FieldOptionalInt32,
    FieldOptionalInt64,
    FieldNillableInt,
    FieldNillableInt8,
    FieldNillableInt16,
    FieldNillableInt32,
    FieldNillableInt64,
    FieldValidateOptionalInt32,
    FieldState,
}

Columns holds all SQL columns are fieldtype fields.

var (

    // ValidateOptionalInt32Validator is a validator for the "validate_optional_int32" field. It is called by the builders before save.
    ValidateOptionalInt32Validator = descValidateOptionalInt32.Validators[0].(func(int32) error)
)

func And Uses

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

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

func ID Uses

func ID(id string) predicate.FieldType

ID filters vertices based on their identifier.

func IDEQ Uses

func IDEQ(id string) predicate.FieldType

IDEQ applies the EQ predicate on the ID field.

func IDGT Uses

func IDGT(id string) predicate.FieldType

IDGT applies the GT predicate on the ID field.

func IDGTE Uses

func IDGTE(id string) predicate.FieldType

IDGTE applies the GTE predicate on the ID field.

func IDIn Uses

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

IDIn applies the In predicate on the ID field.

func IDLT Uses

func IDLT(id string) predicate.FieldType

IDLT applies the LT predicate on the ID field.

func IDLTE Uses

func IDLTE(id string) predicate.FieldType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ Uses

func IDNEQ(id string) predicate.FieldType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn Uses

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

IDNotIn applies the NotIn predicate on the ID field.

func Int Uses

func Int(v int) predicate.FieldType

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

func Int16 Uses

func Int16(v int16) predicate.FieldType

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

func Int16EQ Uses

func Int16EQ(v int16) predicate.FieldType

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

func Int16GT Uses

func Int16GT(v int16) predicate.FieldType

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

func Int16GTE Uses

func Int16GTE(v int16) predicate.FieldType

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

func Int16In Uses

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

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

func Int16LT Uses

func Int16LT(v int16) predicate.FieldType

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

func Int16LTE Uses

func Int16LTE(v int16) predicate.FieldType

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

func Int16NEQ Uses

func Int16NEQ(v int16) predicate.FieldType

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

func Int16NotIn Uses

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

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

func Int32 Uses

func Int32(v int32) predicate.FieldType

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

func Int32EQ Uses

func Int32EQ(v int32) predicate.FieldType

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

func Int32GT Uses

func Int32GT(v int32) predicate.FieldType

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

func Int32GTE Uses

func Int32GTE(v int32) predicate.FieldType

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

func Int32In Uses

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

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

func Int32LT Uses

func Int32LT(v int32) predicate.FieldType

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

func Int32LTE Uses

func Int32LTE(v int32) predicate.FieldType

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

func Int32NEQ Uses

func Int32NEQ(v int32) predicate.FieldType

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

func Int32NotIn Uses

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

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

func Int64 Uses

func Int64(v int64) predicate.FieldType

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

func Int64EQ Uses

func Int64EQ(v int64) predicate.FieldType

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

func Int64GT Uses

func Int64GT(v int64) predicate.FieldType

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

func Int64GTE Uses

func Int64GTE(v int64) predicate.FieldType

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

func Int64In Uses

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

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

func Int64LT Uses

func Int64LT(v int64) predicate.FieldType

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

func Int64LTE Uses

func Int64LTE(v int64) predicate.FieldType

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

func Int64NEQ Uses

func Int64NEQ(v int64) predicate.FieldType

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

func Int64NotIn Uses

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

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

func Int8 Uses

func Int8(v int8) predicate.FieldType

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

func Int8EQ Uses

func Int8EQ(v int8) predicate.FieldType

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

func Int8GT Uses

func Int8GT(v int8) predicate.FieldType

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

func Int8GTE Uses

func Int8GTE(v int8) predicate.FieldType

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

func Int8In Uses

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

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

func Int8LT Uses

func Int8LT(v int8) predicate.FieldType

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

func Int8LTE Uses

func Int8LTE(v int8) predicate.FieldType

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

func Int8NEQ Uses

func Int8NEQ(v int8) predicate.FieldType

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

func Int8NotIn Uses

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

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

func IntEQ Uses

func IntEQ(v int) predicate.FieldType

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

func IntGT Uses

func IntGT(v int) predicate.FieldType

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

func IntGTE Uses

func IntGTE(v int) predicate.FieldType

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

func IntIn Uses

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

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

func IntLT Uses

func IntLT(v int) predicate.FieldType

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

func IntLTE Uses

func IntLTE(v int) predicate.FieldType

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

func IntNEQ Uses

func IntNEQ(v int) predicate.FieldType

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

func IntNotIn Uses

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

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

func NillableInt Uses

func NillableInt(v int) predicate.FieldType

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

func NillableInt16 Uses

func NillableInt16(v int16) predicate.FieldType

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

func NillableInt16EQ Uses

func NillableInt16EQ(v int16) predicate.FieldType

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

func NillableInt16GT Uses

func NillableInt16GT(v int16) predicate.FieldType

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

func NillableInt16GTE Uses

func NillableInt16GTE(v int16) predicate.FieldType

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

func NillableInt16In Uses

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

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

func NillableInt16IsNil Uses

func NillableInt16IsNil() predicate.FieldType

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

func NillableInt16LT Uses

func NillableInt16LT(v int16) predicate.FieldType

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

func NillableInt16LTE Uses

func NillableInt16LTE(v int16) predicate.FieldType

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

func NillableInt16NEQ Uses

func NillableInt16NEQ(v int16) predicate.FieldType

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

func NillableInt16NotIn Uses

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

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

func NillableInt16NotNil Uses

func NillableInt16NotNil() predicate.FieldType

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

func NillableInt32 Uses

func NillableInt32(v int32) predicate.FieldType

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

func NillableInt32EQ Uses

func NillableInt32EQ(v int32) predicate.FieldType

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

func NillableInt32GT Uses

func NillableInt32GT(v int32) predicate.FieldType

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

func NillableInt32GTE Uses

func NillableInt32GTE(v int32) predicate.FieldType

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

func NillableInt32In Uses

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

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

func NillableInt32IsNil Uses

func NillableInt32IsNil() predicate.FieldType

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

func NillableInt32LT Uses

func NillableInt32LT(v int32) predicate.FieldType

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

func NillableInt32LTE Uses

func NillableInt32LTE(v int32) predicate.FieldType

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

func NillableInt32NEQ Uses

func NillableInt32NEQ(v int32) predicate.FieldType

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

func NillableInt32NotIn Uses

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

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

func NillableInt32NotNil Uses

func NillableInt32NotNil() predicate.FieldType

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

func NillableInt64 Uses

func NillableInt64(v int64) predicate.FieldType

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

func NillableInt64EQ Uses

func NillableInt64EQ(v int64) predicate.FieldType

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

func NillableInt64GT Uses

func NillableInt64GT(v int64) predicate.FieldType

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

func NillableInt64GTE Uses

func NillableInt64GTE(v int64) predicate.FieldType

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

func NillableInt64In Uses

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

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

func NillableInt64IsNil Uses

func NillableInt64IsNil() predicate.FieldType

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

func NillableInt64LT Uses

func NillableInt64LT(v int64) predicate.FieldType

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

func NillableInt64LTE Uses

func NillableInt64LTE(v int64) predicate.FieldType

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

func NillableInt64NEQ Uses

func NillableInt64NEQ(v int64) predicate.FieldType

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

func NillableInt64NotIn Uses

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

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

func NillableInt64NotNil Uses

func NillableInt64NotNil() predicate.FieldType

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

func NillableInt8 Uses

func NillableInt8(v int8) predicate.FieldType

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

func NillableInt8EQ Uses

func NillableInt8EQ(v int8) predicate.FieldType

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

func NillableInt8GT Uses

func NillableInt8GT(v int8) predicate.FieldType

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

func NillableInt8GTE Uses

func NillableInt8GTE(v int8) predicate.FieldType

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

func NillableInt8In Uses

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

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

func NillableInt8IsNil Uses

func NillableInt8IsNil() predicate.FieldType

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

func NillableInt8LT Uses

func NillableInt8LT(v int8) predicate.FieldType

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

func NillableInt8LTE Uses

func NillableInt8LTE(v int8) predicate.FieldType

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

func NillableInt8NEQ Uses

func NillableInt8NEQ(v int8) predicate.FieldType

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

func NillableInt8NotIn Uses

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

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

func NillableInt8NotNil Uses

func NillableInt8NotNil() predicate.FieldType

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

func NillableIntEQ Uses

func NillableIntEQ(v int) predicate.FieldType

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

func NillableIntGT Uses

func NillableIntGT(v int) predicate.FieldType

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

func NillableIntGTE Uses

func NillableIntGTE(v int) predicate.FieldType

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

func NillableIntIn Uses

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

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

func NillableIntIsNil Uses

func NillableIntIsNil() predicate.FieldType

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

func NillableIntLT Uses

func NillableIntLT(v int) predicate.FieldType

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

func NillableIntLTE Uses

func NillableIntLTE(v int) predicate.FieldType

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

func NillableIntNEQ Uses

func NillableIntNEQ(v int) predicate.FieldType

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

func NillableIntNotIn Uses

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

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

func NillableIntNotNil Uses

func NillableIntNotNil() predicate.FieldType

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

func Not Uses

func Not(p predicate.FieldType) predicate.FieldType

Not applies the not operator on the given predicate.

func OptionalInt Uses

func OptionalInt(v int) predicate.FieldType

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

func OptionalInt16 Uses

func OptionalInt16(v int16) predicate.FieldType

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

func OptionalInt16EQ Uses

func OptionalInt16EQ(v int16) predicate.FieldType

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

func OptionalInt16GT Uses

func OptionalInt16GT(v int16) predicate.FieldType

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

func OptionalInt16GTE Uses

func OptionalInt16GTE(v int16) predicate.FieldType

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

func OptionalInt16In Uses

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

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

func OptionalInt16IsNil Uses

func OptionalInt16IsNil() predicate.FieldType

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

func OptionalInt16LT Uses

func OptionalInt16LT(v int16) predicate.FieldType

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

func OptionalInt16LTE Uses

func OptionalInt16LTE(v int16) predicate.FieldType

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

func OptionalInt16NEQ Uses

func OptionalInt16NEQ(v int16) predicate.FieldType

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

func OptionalInt16NotIn Uses

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

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

func OptionalInt16NotNil Uses

func OptionalInt16NotNil() predicate.FieldType

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

func OptionalInt32 Uses

func OptionalInt32(v int32) predicate.FieldType

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

func OptionalInt32EQ Uses

func OptionalInt32EQ(v int32) predicate.FieldType

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

func OptionalInt32GT Uses

func OptionalInt32GT(v int32) predicate.FieldType

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

func OptionalInt32GTE Uses

func OptionalInt32GTE(v int32) predicate.FieldType

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

func OptionalInt32In Uses

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

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

func OptionalInt32IsNil Uses

func OptionalInt32IsNil() predicate.FieldType

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

func OptionalInt32LT Uses

func OptionalInt32LT(v int32) predicate.FieldType

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

func OptionalInt32LTE Uses

func OptionalInt32LTE(v int32) predicate.FieldType

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

func OptionalInt32NEQ Uses

func OptionalInt32NEQ(v int32) predicate.FieldType

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

func OptionalInt32NotIn Uses

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

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

func OptionalInt32NotNil Uses

func OptionalInt32NotNil() predicate.FieldType

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

func OptionalInt64 Uses

func OptionalInt64(v int64) predicate.FieldType

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

func OptionalInt64EQ Uses

func OptionalInt64EQ(v int64) predicate.FieldType

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

func OptionalInt64GT Uses

func OptionalInt64GT(v int64) predicate.FieldType

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

func OptionalInt64GTE Uses

func OptionalInt64GTE(v int64) predicate.FieldType

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

func OptionalInt64In Uses

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

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

func OptionalInt64IsNil Uses

func OptionalInt64IsNil() predicate.FieldType

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

func OptionalInt64LT Uses

func OptionalInt64LT(v int64) predicate.FieldType

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

func OptionalInt64LTE Uses

func OptionalInt64LTE(v int64) predicate.FieldType

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

func OptionalInt64NEQ Uses

func OptionalInt64NEQ(v int64) predicate.FieldType

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

func OptionalInt64NotIn Uses

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

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

func OptionalInt64NotNil Uses

func OptionalInt64NotNil() predicate.FieldType

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

func OptionalInt8 Uses

func OptionalInt8(v int8) predicate.FieldType

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

func OptionalInt8EQ Uses

func OptionalInt8EQ(v int8) predicate.FieldType

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

func OptionalInt8GT Uses

func OptionalInt8GT(v int8) predicate.FieldType

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

func OptionalInt8GTE Uses

func OptionalInt8GTE(v int8) predicate.FieldType

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

func OptionalInt8In Uses

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

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

func OptionalInt8IsNil Uses

func OptionalInt8IsNil() predicate.FieldType

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

func OptionalInt8LT Uses

func OptionalInt8LT(v int8) predicate.FieldType

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

func OptionalInt8LTE Uses

func OptionalInt8LTE(v int8) predicate.FieldType

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

func OptionalInt8NEQ Uses

func OptionalInt8NEQ(v int8) predicate.FieldType

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

func OptionalInt8NotIn Uses

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

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

func OptionalInt8NotNil Uses

func OptionalInt8NotNil() predicate.FieldType

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

func OptionalIntEQ Uses

func OptionalIntEQ(v int) predicate.FieldType

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

func OptionalIntGT Uses

func OptionalIntGT(v int) predicate.FieldType

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

func OptionalIntGTE Uses

func OptionalIntGTE(v int) predicate.FieldType

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

func OptionalIntIn Uses

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

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

func OptionalIntIsNil Uses

func OptionalIntIsNil() predicate.FieldType

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

func OptionalIntLT Uses

func OptionalIntLT(v int) predicate.FieldType

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

func OptionalIntLTE Uses

func OptionalIntLTE(v int) predicate.FieldType

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

func OptionalIntNEQ Uses

func OptionalIntNEQ(v int) predicate.FieldType

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

func OptionalIntNotIn Uses

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

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

func OptionalIntNotNil Uses

func OptionalIntNotNil() predicate.FieldType

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

func Or Uses

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

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

func StateEQ Uses

func StateEQ(v State) predicate.FieldType

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

func StateIn Uses

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

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

func StateIsNil Uses

func StateIsNil() predicate.FieldType

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

func StateNEQ Uses

func StateNEQ(v State) predicate.FieldType

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

func StateNotIn Uses

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

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

func StateNotNil Uses

func StateNotNil() predicate.FieldType

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

func StateValidator Uses

func StateValidator(state State) error

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

func ValidateOptionalInt32 Uses

func ValidateOptionalInt32(v int32) predicate.FieldType

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

func ValidateOptionalInt32EQ Uses

func ValidateOptionalInt32EQ(v int32) predicate.FieldType

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

func ValidateOptionalInt32GT Uses

func ValidateOptionalInt32GT(v int32) predicate.FieldType

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

func ValidateOptionalInt32GTE Uses

func ValidateOptionalInt32GTE(v int32) predicate.FieldType

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

func ValidateOptionalInt32In Uses

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

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

func ValidateOptionalInt32IsNil Uses

func ValidateOptionalInt32IsNil() predicate.FieldType

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

func ValidateOptionalInt32LT Uses

func ValidateOptionalInt32LT(v int32) predicate.FieldType

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

func ValidateOptionalInt32LTE Uses

func ValidateOptionalInt32LTE(v int32) predicate.FieldType

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

func ValidateOptionalInt32NEQ Uses

func ValidateOptionalInt32NEQ(v int32) predicate.FieldType

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

func ValidateOptionalInt32NotIn Uses

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

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

func ValidateOptionalInt32NotNil Uses

func ValidateOptionalInt32NotNil() predicate.FieldType

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

type State Uses

type State string

State defines the type for the state enum field.

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

func (State) String Uses

func (s State) String() string

Package fieldtype imports 8 packages (graph) and is imported by 1 packages. Updated 2019-11-19. Refresh now. Tools for package owners.