Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EnumWithConflictingValue) predicate.EnumWithConflictingValue
- func EnumEQ(v Enum) predicate.EnumWithConflictingValue
- func EnumIn(vs ...Enum) predicate.EnumWithConflictingValue
- func EnumNEQ(v Enum) predicate.EnumWithConflictingValue
- func EnumNotIn(vs ...Enum) predicate.EnumWithConflictingValue
- func EnumValidator(e Enum) error
- func ID(id int) predicate.EnumWithConflictingValue
- func IDEQ(id int) predicate.EnumWithConflictingValue
- func IDGT(id int) predicate.EnumWithConflictingValue
- func IDGTE(id int) predicate.EnumWithConflictingValue
- func IDIn(ids ...int) predicate.EnumWithConflictingValue
- func IDLT(id int) predicate.EnumWithConflictingValue
- func IDLTE(id int) predicate.EnumWithConflictingValue
- func IDNEQ(id int) predicate.EnumWithConflictingValue
- func IDNotIn(ids ...int) predicate.EnumWithConflictingValue
- func Not(p predicate.EnumWithConflictingValue) predicate.EnumWithConflictingValue
- func Or(predicates ...predicate.EnumWithConflictingValue) predicate.EnumWithConflictingValue
- func ValidColumn(column string) bool
- type Enum
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the enumwithconflictingvalue type in the database. Label = "enum_with_conflicting_value" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEnum holds the string denoting the enum field in the database. FieldEnum = "enum" // Table holds the table name of the enumwithconflictingvalue in the database. Table = "enum_with_conflicting_values" )
Variables ¶
var Columns = []string{ FieldID, FieldEnum, }
Columns holds all SQL columns for enumwithconflictingvalue fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EnumWithConflictingValue) predicate.EnumWithConflictingValue
And groups predicates with the AND operator between them.
func EnumEQ ¶
func EnumEQ(v Enum) predicate.EnumWithConflictingValue
EnumEQ applies the EQ predicate on the "enum" field.
func EnumIn ¶
func EnumIn(vs ...Enum) predicate.EnumWithConflictingValue
EnumIn applies the In predicate on the "enum" field.
func EnumNEQ ¶
func EnumNEQ(v Enum) predicate.EnumWithConflictingValue
EnumNEQ applies the NEQ predicate on the "enum" field.
func EnumNotIn ¶
func EnumNotIn(vs ...Enum) predicate.EnumWithConflictingValue
EnumNotIn applies the NotIn predicate on the "enum" field.
func EnumValidator ¶
EnumValidator is a validator for the "enum" field enum values. It is called by the builders before save.
func ID ¶
func ID(id int) predicate.EnumWithConflictingValue
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.EnumWithConflictingValue
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.EnumWithConflictingValue
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.EnumWithConflictingValue
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.EnumWithConflictingValue
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.EnumWithConflictingValue
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.EnumWithConflictingValue
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.EnumWithConflictingValue
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.EnumWithConflictingValue
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.EnumWithConflictingValue) predicate.EnumWithConflictingValue
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EnumWithConflictingValue queries.
func ByEnum ¶
func ByEnum(opts ...sql.OrderTermOption) OrderOption
ByEnum orders the results by the enum field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.