Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GameHustlerItem) predicate.GameHustlerItem
- func HasHustler() predicate.GameHustlerItem
- func HasHustlerWith(preds ...predicate.GameHustler) predicate.GameHustlerItem
- func ID(id string) predicate.GameHustlerItem
- func IDEQ(id string) predicate.GameHustlerItem
- func IDGT(id string) predicate.GameHustlerItem
- func IDGTE(id string) predicate.GameHustlerItem
- func IDIn(ids ...string) predicate.GameHustlerItem
- func IDLT(id string) predicate.GameHustlerItem
- func IDLTE(id string) predicate.GameHustlerItem
- func IDNEQ(id string) predicate.GameHustlerItem
- func IDNotIn(ids ...string) predicate.GameHustlerItem
- func Item(v string) predicate.GameHustlerItem
- func ItemContains(v string) predicate.GameHustlerItem
- func ItemContainsFold(v string) predicate.GameHustlerItem
- func ItemEQ(v string) predicate.GameHustlerItem
- func ItemEqualFold(v string) predicate.GameHustlerItem
- func ItemGT(v string) predicate.GameHustlerItem
- func ItemGTE(v string) predicate.GameHustlerItem
- func ItemHasPrefix(v string) predicate.GameHustlerItem
- func ItemHasSuffix(v string) predicate.GameHustlerItem
- func ItemIn(vs ...string) predicate.GameHustlerItem
- func ItemLT(v string) predicate.GameHustlerItem
- func ItemLTE(v string) predicate.GameHustlerItem
- func ItemNEQ(v string) predicate.GameHustlerItem
- func ItemNotIn(vs ...string) predicate.GameHustlerItem
- func Not(p predicate.GameHustlerItem) predicate.GameHustlerItem
- func Or(predicates ...predicate.GameHustlerItem) predicate.GameHustlerItem
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the gamehustleritem type in the database. Label = "game_hustler_item" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldItem holds the string denoting the item field in the database. FieldItem = "item" // EdgeHustler holds the string denoting the hustler edge name in mutations. EdgeHustler = "hustler" // Table holds the table name of the gamehustleritem in the database. Table = "game_hustler_items" // HustlerTable is the table that holds the hustler relation/edge. HustlerTable = "game_hustler_items" // HustlerInverseTable is the table name for the GameHustler entity. // It exists in this package in order to avoid circular dependency with the "gamehustler" package. HustlerInverseTable = "game_hustlers" // HustlerColumn is the table column denoting the hustler relation/edge. HustlerColumn = "game_hustler_items" )
Variables ¶
var Columns = []string{ FieldID, FieldItem, }
Columns holds all SQL columns for gamehustleritem fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var ForeignKeys = []string{
"game_hustler_items",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "game_hustler_items" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.GameHustlerItem) predicate.GameHustlerItem
And groups predicates with the AND operator between them.
func HasHustler ¶
func HasHustler() predicate.GameHustlerItem
HasHustler applies the HasEdge predicate on the "hustler" edge.
func HasHustlerWith ¶
func HasHustlerWith(preds ...predicate.GameHustler) predicate.GameHustlerItem
HasHustlerWith applies the HasEdge predicate on the "hustler" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.GameHustlerItem
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.GameHustlerItem
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.GameHustlerItem
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.GameHustlerItem
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.GameHustlerItem
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.GameHustlerItem
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.GameHustlerItem
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.GameHustlerItem
IDNotIn applies the NotIn predicate on the ID field.
func Item ¶
func Item(v string) predicate.GameHustlerItem
Item applies equality check predicate on the "item" field. It's identical to ItemEQ.
func ItemContains ¶
func ItemContains(v string) predicate.GameHustlerItem
ItemContains applies the Contains predicate on the "item" field.
func ItemContainsFold ¶
func ItemContainsFold(v string) predicate.GameHustlerItem
ItemContainsFold applies the ContainsFold predicate on the "item" field.
func ItemEQ ¶
func ItemEQ(v string) predicate.GameHustlerItem
ItemEQ applies the EQ predicate on the "item" field.
func ItemEqualFold ¶
func ItemEqualFold(v string) predicate.GameHustlerItem
ItemEqualFold applies the EqualFold predicate on the "item" field.
func ItemGT ¶
func ItemGT(v string) predicate.GameHustlerItem
ItemGT applies the GT predicate on the "item" field.
func ItemGTE ¶
func ItemGTE(v string) predicate.GameHustlerItem
ItemGTE applies the GTE predicate on the "item" field.
func ItemHasPrefix ¶
func ItemHasPrefix(v string) predicate.GameHustlerItem
ItemHasPrefix applies the HasPrefix predicate on the "item" field.
func ItemHasSuffix ¶
func ItemHasSuffix(v string) predicate.GameHustlerItem
ItemHasSuffix applies the HasSuffix predicate on the "item" field.
func ItemIn ¶
func ItemIn(vs ...string) predicate.GameHustlerItem
ItemIn applies the In predicate on the "item" field.
func ItemLT ¶
func ItemLT(v string) predicate.GameHustlerItem
ItemLT applies the LT predicate on the "item" field.
func ItemLTE ¶
func ItemLTE(v string) predicate.GameHustlerItem
ItemLTE applies the LTE predicate on the "item" field.
func ItemNEQ ¶
func ItemNEQ(v string) predicate.GameHustlerItem
ItemNEQ applies the NEQ predicate on the "item" field.
func ItemNotIn ¶
func ItemNotIn(vs ...string) predicate.GameHustlerItem
ItemNotIn applies the NotIn predicate on the "item" field.
func Not ¶
func Not(p predicate.GameHustlerItem) predicate.GameHustlerItem
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GameHustlerItem) predicate.GameHustlerItem
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 ¶
This section is empty.