Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Item) predicate.Item
- func Augmented(v bool) predicate.Item
- func AugmentedEQ(v bool) predicate.Item
- func AugmentedIsNil() predicate.Item
- func AugmentedNEQ(v bool) predicate.Item
- func AugmentedNotNil() predicate.Item
- func Count(v int) predicate.Item
- func CountEQ(v int) predicate.Item
- func CountGT(v int) predicate.Item
- func CountGTE(v int) predicate.Item
- func CountIn(vs ...int) predicate.Item
- func CountIsNil() predicate.Item
- func CountLT(v int) predicate.Item
- func CountLTE(v int) predicate.Item
- func CountNEQ(v int) predicate.Item
- func CountNotIn(vs ...int) predicate.Item
- func CountNotNil() predicate.Item
- func Greatness(v int) predicate.Item
- func GreatnessEQ(v int) predicate.Item
- func GreatnessGT(v int) predicate.Item
- func GreatnessGTE(v int) predicate.Item
- func GreatnessIn(vs ...int) predicate.Item
- func GreatnessIsNil() predicate.Item
- func GreatnessLT(v int) predicate.Item
- func GreatnessLTE(v int) predicate.Item
- func GreatnessNEQ(v int) predicate.Item
- func GreatnessNotIn(vs ...int) predicate.Item
- func GreatnessNotNil() predicate.Item
- func HasBase() predicate.Item
- func HasBaseWith(preds ...predicate.Item) predicate.Item
- func HasDerivative() predicate.Item
- func HasDerivativeWith(preds ...predicate.Item) predicate.Item
- func HasDopes() predicate.Item
- func HasDopesWith(preds ...predicate.Dope) predicate.Item
- func HasHustlerAccessories() predicate.Item
- func HasHustlerAccessoriesWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerClothes() predicate.Item
- func HasHustlerClothesWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerDrugs() predicate.Item
- func HasHustlerDrugsWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerFeet() predicate.Item
- func HasHustlerFeetWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerHands() predicate.Item
- func HasHustlerHandsWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerNecks() predicate.Item
- func HasHustlerNecksWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerRings() predicate.Item
- func HasHustlerRingsWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerVehicles() predicate.Item
- func HasHustlerVehiclesWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerWaists() predicate.Item
- func HasHustlerWaistsWith(preds ...predicate.Hustler) predicate.Item
- func HasHustlerWeapons() predicate.Item
- func HasHustlerWeaponsWith(preds ...predicate.Hustler) predicate.Item
- func HasIndex() predicate.Item
- func HasIndexWith(preds ...predicate.Search) predicate.Item
- func HasWallets() predicate.Item
- func HasWalletsWith(preds ...predicate.WalletItems) predicate.Item
- func ID(id string) predicate.Item
- func IDEQ(id string) predicate.Item
- func IDGT(id string) predicate.Item
- func IDGTE(id string) predicate.Item
- func IDIn(ids ...string) predicate.Item
- func IDLT(id string) predicate.Item
- func IDLTE(id string) predicate.Item
- func IDNEQ(id string) predicate.Item
- func IDNotIn(ids ...string) predicate.Item
- func Name(v string) predicate.Item
- func NameContains(v string) predicate.Item
- func NameContainsFold(v string) predicate.Item
- func NameEQ(v string) predicate.Item
- func NameEqualFold(v string) predicate.Item
- func NameGT(v string) predicate.Item
- func NameGTE(v string) predicate.Item
- func NameHasPrefix(v string) predicate.Item
- func NameHasSuffix(v string) predicate.Item
- func NameIn(vs ...string) predicate.Item
- func NameLT(v string) predicate.Item
- func NameLTE(v string) predicate.Item
- func NameNEQ(v string) predicate.Item
- func NameNotIn(vs ...string) predicate.Item
- func NamePrefix(v string) predicate.Item
- func NamePrefixContains(v string) predicate.Item
- func NamePrefixContainsFold(v string) predicate.Item
- func NamePrefixEQ(v string) predicate.Item
- func NamePrefixEqualFold(v string) predicate.Item
- func NamePrefixGT(v string) predicate.Item
- func NamePrefixGTE(v string) predicate.Item
- func NamePrefixHasPrefix(v string) predicate.Item
- func NamePrefixHasSuffix(v string) predicate.Item
- func NamePrefixIn(vs ...string) predicate.Item
- func NamePrefixIsNil() predicate.Item
- func NamePrefixLT(v string) predicate.Item
- func NamePrefixLTE(v string) predicate.Item
- func NamePrefixNEQ(v string) predicate.Item
- func NamePrefixNotIn(vs ...string) predicate.Item
- func NamePrefixNotNil() predicate.Item
- func NameSuffix(v string) predicate.Item
- func NameSuffixContains(v string) predicate.Item
- func NameSuffixContainsFold(v string) predicate.Item
- func NameSuffixEQ(v string) predicate.Item
- func NameSuffixEqualFold(v string) predicate.Item
- func NameSuffixGT(v string) predicate.Item
- func NameSuffixGTE(v string) predicate.Item
- func NameSuffixHasPrefix(v string) predicate.Item
- func NameSuffixHasSuffix(v string) predicate.Item
- func NameSuffixIn(vs ...string) predicate.Item
- func NameSuffixIsNil() predicate.Item
- func NameSuffixLT(v string) predicate.Item
- func NameSuffixLTE(v string) predicate.Item
- func NameSuffixNEQ(v string) predicate.Item
- func NameSuffixNotIn(vs ...string) predicate.Item
- func NameSuffixNotNil() predicate.Item
- func Not(p predicate.Item) predicate.Item
- func Or(predicates ...predicate.Item) predicate.Item
- func RlesIsNil() predicate.Item
- func RlesNotNil() predicate.Item
- func SpriteIsNil() predicate.Item
- func SpriteNotNil() predicate.Item
- func Suffix(v string) predicate.Item
- func SuffixContains(v string) predicate.Item
- func SuffixContainsFold(v string) predicate.Item
- func SuffixEQ(v string) predicate.Item
- func SuffixEqualFold(v string) predicate.Item
- func SuffixGT(v string) predicate.Item
- func SuffixGTE(v string) predicate.Item
- func SuffixHasPrefix(v string) predicate.Item
- func SuffixHasSuffix(v string) predicate.Item
- func SuffixIn(vs ...string) predicate.Item
- func SuffixIsNil() predicate.Item
- func SuffixLT(v string) predicate.Item
- func SuffixLTE(v string) predicate.Item
- func SuffixNEQ(v string) predicate.Item
- func SuffixNotIn(vs ...string) predicate.Item
- func SuffixNotNil() predicate.Item
- func Svg(v string) predicate.Item
- func SvgContains(v string) predicate.Item
- func SvgContainsFold(v string) predicate.Item
- func SvgEQ(v string) predicate.Item
- func SvgEqualFold(v string) predicate.Item
- func SvgGT(v string) predicate.Item
- func SvgGTE(v string) predicate.Item
- func SvgHasPrefix(v string) predicate.Item
- func SvgHasSuffix(v string) predicate.Item
- func SvgIn(vs ...string) predicate.Item
- func SvgIsNil() predicate.Item
- func SvgLT(v string) predicate.Item
- func SvgLTE(v string) predicate.Item
- func SvgNEQ(v string) predicate.Item
- func SvgNotIn(vs ...string) predicate.Item
- func SvgNotNil() predicate.Item
- func TierEQ(v Tier) predicate.Item
- func TierIn(vs ...Tier) predicate.Item
- func TierIsNil() predicate.Item
- func TierNEQ(v Tier) predicate.Item
- func TierNotIn(vs ...Tier) predicate.Item
- func TierNotNil() predicate.Item
- func TierValidator(t Tier) error
- func TypeEQ(v Type) predicate.Item
- func TypeIn(vs ...Type) predicate.Item
- func TypeNEQ(v Type) predicate.Item
- func TypeNotIn(vs ...Type) predicate.Item
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type Tier
- type Type
Constants ¶
const ( // Label holds the string label denoting the item type in the database. Label = "item" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldNamePrefix holds the string denoting the name_prefix field in the database. FieldNamePrefix = "name_prefix" // FieldNameSuffix holds the string denoting the name_suffix field in the database. FieldNameSuffix = "name_suffix" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSuffix holds the string denoting the suffix field in the database. FieldSuffix = "suffix" // FieldAugmented holds the string denoting the augmented field in the database. FieldAugmented = "augmented" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // FieldTier holds the string denoting the tier field in the database. FieldTier = "tier" // FieldGreatness holds the string denoting the greatness field in the database. FieldGreatness = "greatness" // FieldRles holds the string denoting the rles field in the database. FieldRles = "rles" // FieldSvg holds the string denoting the svg field in the database. FieldSvg = "svg" // FieldSprite holds the string denoting the sprite field in the database. FieldSprite = "sprite" // EdgeWallets holds the string denoting the wallets edge name in mutations. EdgeWallets = "wallets" // EdgeDopes holds the string denoting the dopes edge name in mutations. EdgeDopes = "dopes" // EdgeHustlerWeapons holds the string denoting the hustler_weapons edge name in mutations. EdgeHustlerWeapons = "hustler_weapons" // EdgeHustlerClothes holds the string denoting the hustler_clothes edge name in mutations. EdgeHustlerClothes = "hustler_clothes" // EdgeHustlerVehicles holds the string denoting the hustler_vehicles edge name in mutations. EdgeHustlerVehicles = "hustler_vehicles" // EdgeHustlerWaists holds the string denoting the hustler_waists edge name in mutations. EdgeHustlerWaists = "hustler_waists" // EdgeHustlerFeet holds the string denoting the hustler_feet edge name in mutations. EdgeHustlerFeet = "hustler_feet" // EdgeHustlerHands holds the string denoting the hustler_hands edge name in mutations. EdgeHustlerHands = "hustler_hands" // EdgeHustlerDrugs holds the string denoting the hustler_drugs edge name in mutations. EdgeHustlerDrugs = "hustler_drugs" // EdgeHustlerNecks holds the string denoting the hustler_necks edge name in mutations. EdgeHustlerNecks = "hustler_necks" // EdgeHustlerRings holds the string denoting the hustler_rings edge name in mutations. EdgeHustlerRings = "hustler_rings" // EdgeHustlerAccessories holds the string denoting the hustler_accessories edge name in mutations. EdgeHustlerAccessories = "hustler_accessories" // EdgeBase holds the string denoting the base edge name in mutations. EdgeBase = "base" // EdgeDerivative holds the string denoting the derivative edge name in mutations. EdgeDerivative = "derivative" // EdgeIndex holds the string denoting the index edge name in mutations. EdgeIndex = "index" // Table holds the table name of the item in the database. Table = "items" // WalletsTable is the table that holds the wallets relation/edge. WalletsTable = "wallet_items" // WalletsInverseTable is the table name for the WalletItems entity. // It exists in this package in order to avoid circular dependency with the "walletitems" package. WalletsInverseTable = "wallet_items" // WalletsColumn is the table column denoting the wallets relation/edge. WalletsColumn = "item_wallets" // DopesTable is the table that holds the dopes relation/edge. The primary key declared below. DopesTable = "dope_items" // DopesInverseTable is the table name for the Dope entity. // It exists in this package in order to avoid circular dependency with the "dope" package. DopesInverseTable = "dopes" // HustlerWeaponsTable is the table that holds the hustler_weapons relation/edge. HustlerWeaponsTable = "hustlers" // HustlerWeaponsInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerWeaponsInverseTable = "hustlers" // HustlerWeaponsColumn is the table column denoting the hustler_weapons relation/edge. HustlerWeaponsColumn = "item_hustler_weapons" // HustlerClothesTable is the table that holds the hustler_clothes relation/edge. HustlerClothesTable = "hustlers" // HustlerClothesInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerClothesInverseTable = "hustlers" // HustlerClothesColumn is the table column denoting the hustler_clothes relation/edge. HustlerClothesColumn = "item_hustler_clothes" // HustlerVehiclesTable is the table that holds the hustler_vehicles relation/edge. HustlerVehiclesTable = "hustlers" // HustlerVehiclesInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerVehiclesInverseTable = "hustlers" // HustlerVehiclesColumn is the table column denoting the hustler_vehicles relation/edge. HustlerVehiclesColumn = "item_hustler_vehicles" // HustlerWaistsTable is the table that holds the hustler_waists relation/edge. HustlerWaistsTable = "hustlers" // HustlerWaistsInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerWaistsInverseTable = "hustlers" // HustlerWaistsColumn is the table column denoting the hustler_waists relation/edge. HustlerWaistsColumn = "item_hustler_waists" // HustlerFeetTable is the table that holds the hustler_feet relation/edge. HustlerFeetTable = "hustlers" // HustlerFeetInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerFeetInverseTable = "hustlers" // HustlerFeetColumn is the table column denoting the hustler_feet relation/edge. HustlerFeetColumn = "item_hustler_feet" // HustlerHandsTable is the table that holds the hustler_hands relation/edge. HustlerHandsTable = "hustlers" // HustlerHandsInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerHandsInverseTable = "hustlers" // HustlerHandsColumn is the table column denoting the hustler_hands relation/edge. HustlerHandsColumn = "item_hustler_hands" // HustlerDrugsTable is the table that holds the hustler_drugs relation/edge. HustlerDrugsTable = "hustlers" // HustlerDrugsInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerDrugsInverseTable = "hustlers" // HustlerDrugsColumn is the table column denoting the hustler_drugs relation/edge. HustlerDrugsColumn = "item_hustler_drugs" // HustlerNecksTable is the table that holds the hustler_necks relation/edge. HustlerNecksTable = "hustlers" // HustlerNecksInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerNecksInverseTable = "hustlers" // HustlerNecksColumn is the table column denoting the hustler_necks relation/edge. HustlerNecksColumn = "item_hustler_necks" // HustlerRingsTable is the table that holds the hustler_rings relation/edge. HustlerRingsTable = "hustlers" // HustlerRingsInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerRingsInverseTable = "hustlers" // HustlerRingsColumn is the table column denoting the hustler_rings relation/edge. HustlerRingsColumn = "item_hustler_rings" // HustlerAccessoriesTable is the table that holds the hustler_accessories relation/edge. HustlerAccessoriesTable = "hustlers" // HustlerAccessoriesInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlerAccessoriesInverseTable = "hustlers" // HustlerAccessoriesColumn is the table column denoting the hustler_accessories relation/edge. HustlerAccessoriesColumn = "item_hustler_accessories" // BaseTable is the table that holds the base relation/edge. BaseTable = "items" // BaseColumn is the table column denoting the base relation/edge. BaseColumn = "item_derivative" // DerivativeTable is the table that holds the derivative relation/edge. DerivativeTable = "items" // DerivativeColumn is the table column denoting the derivative relation/edge. DerivativeColumn = "item_derivative" // IndexTable is the table that holds the index relation/edge. IndexTable = "search_index" // IndexInverseTable is the table name for the Search entity. // It exists in this package in order to avoid circular dependency with the "search" package. IndexInverseTable = "search_index" // IndexColumn is the table column denoting the index relation/edge. IndexColumn = "item_index" )
Variables ¶
var Columns = []string{ FieldID, FieldType, FieldNamePrefix, FieldNameSuffix, FieldName, FieldSuffix, FieldAugmented, FieldCount, FieldTier, FieldGreatness, FieldRles, FieldSvg, FieldSprite, }
Columns holds all SQL columns for item fields.
var ( // DopesPrimaryKey and DopesColumn2 are the table columns denoting the // primary key for the dopes relation (M2M). DopesPrimaryKey = []string{"dope_id", "item_id"} )
var ForeignKeys = []string{
"item_derivative",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "items" table and are not defined as standalone fields in the schema.
Functions ¶
func Augmented ¶
Augmented applies equality check predicate on the "augmented" field. It's identical to AugmentedEQ.
func AugmentedEQ ¶
AugmentedEQ applies the EQ predicate on the "augmented" field.
func AugmentedIsNil ¶
AugmentedIsNil applies the IsNil predicate on the "augmented" field.
func AugmentedNEQ ¶
AugmentedNEQ applies the NEQ predicate on the "augmented" field.
func AugmentedNotNil ¶
AugmentedNotNil applies the NotNil predicate on the "augmented" field.
func Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountIsNil ¶
CountIsNil applies the IsNil predicate on the "count" field.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" field.
func CountNotNil ¶
CountNotNil applies the NotNil predicate on the "count" field.
func Greatness ¶
Greatness applies equality check predicate on the "greatness" field. It's identical to GreatnessEQ.
func GreatnessEQ ¶
GreatnessEQ applies the EQ predicate on the "greatness" field.
func GreatnessGT ¶
GreatnessGT applies the GT predicate on the "greatness" field.
func GreatnessGTE ¶
GreatnessGTE applies the GTE predicate on the "greatness" field.
func GreatnessIn ¶
GreatnessIn applies the In predicate on the "greatness" field.
func GreatnessIsNil ¶
GreatnessIsNil applies the IsNil predicate on the "greatness" field.
func GreatnessLT ¶
GreatnessLT applies the LT predicate on the "greatness" field.
func GreatnessLTE ¶
GreatnessLTE applies the LTE predicate on the "greatness" field.
func GreatnessNEQ ¶
GreatnessNEQ applies the NEQ predicate on the "greatness" field.
func GreatnessNotIn ¶
GreatnessNotIn applies the NotIn predicate on the "greatness" field.
func GreatnessNotNil ¶
GreatnessNotNil applies the NotNil predicate on the "greatness" field.
func HasBaseWith ¶
HasBaseWith applies the HasEdge predicate on the "base" edge with a given conditions (other predicates).
func HasDerivative ¶
HasDerivative applies the HasEdge predicate on the "derivative" edge.
func HasDerivativeWith ¶
HasDerivativeWith applies the HasEdge predicate on the "derivative" edge with a given conditions (other predicates).
func HasDopesWith ¶
HasDopesWith applies the HasEdge predicate on the "dopes" edge with a given conditions (other predicates).
func HasHustlerAccessories ¶
HasHustlerAccessories applies the HasEdge predicate on the "hustler_accessories" edge.
func HasHustlerAccessoriesWith ¶
HasHustlerAccessoriesWith applies the HasEdge predicate on the "hustler_accessories" edge with a given conditions (other predicates).
func HasHustlerClothes ¶
HasHustlerClothes applies the HasEdge predicate on the "hustler_clothes" edge.
func HasHustlerClothesWith ¶
HasHustlerClothesWith applies the HasEdge predicate on the "hustler_clothes" edge with a given conditions (other predicates).
func HasHustlerDrugs ¶
HasHustlerDrugs applies the HasEdge predicate on the "hustler_drugs" edge.
func HasHustlerDrugsWith ¶
HasHustlerDrugsWith applies the HasEdge predicate on the "hustler_drugs" edge with a given conditions (other predicates).
func HasHustlerFeet ¶
HasHustlerFeet applies the HasEdge predicate on the "hustler_feet" edge.
func HasHustlerFeetWith ¶
HasHustlerFeetWith applies the HasEdge predicate on the "hustler_feet" edge with a given conditions (other predicates).
func HasHustlerHands ¶
HasHustlerHands applies the HasEdge predicate on the "hustler_hands" edge.
func HasHustlerHandsWith ¶
HasHustlerHandsWith applies the HasEdge predicate on the "hustler_hands" edge with a given conditions (other predicates).
func HasHustlerNecks ¶
HasHustlerNecks applies the HasEdge predicate on the "hustler_necks" edge.
func HasHustlerNecksWith ¶
HasHustlerNecksWith applies the HasEdge predicate on the "hustler_necks" edge with a given conditions (other predicates).
func HasHustlerRings ¶
HasHustlerRings applies the HasEdge predicate on the "hustler_rings" edge.
func HasHustlerRingsWith ¶
HasHustlerRingsWith applies the HasEdge predicate on the "hustler_rings" edge with a given conditions (other predicates).
func HasHustlerVehicles ¶
HasHustlerVehicles applies the HasEdge predicate on the "hustler_vehicles" edge.
func HasHustlerVehiclesWith ¶
HasHustlerVehiclesWith applies the HasEdge predicate on the "hustler_vehicles" edge with a given conditions (other predicates).
func HasHustlerWaists ¶
HasHustlerWaists applies the HasEdge predicate on the "hustler_waists" edge.
func HasHustlerWaistsWith ¶
HasHustlerWaistsWith applies the HasEdge predicate on the "hustler_waists" edge with a given conditions (other predicates).
func HasHustlerWeapons ¶
HasHustlerWeapons applies the HasEdge predicate on the "hustler_weapons" edge.
func HasHustlerWeaponsWith ¶
HasHustlerWeaponsWith applies the HasEdge predicate on the "hustler_weapons" edge with a given conditions (other predicates).
func HasIndexWith ¶
HasIndexWith applies the HasEdge predicate on the "index" edge with a given conditions (other predicates).
func HasWallets ¶
HasWallets applies the HasEdge predicate on the "wallets" edge.
func HasWalletsWith ¶
func HasWalletsWith(preds ...predicate.WalletItems) predicate.Item
HasWalletsWith applies the HasEdge predicate on the "wallets" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NamePrefix ¶
NamePrefix applies equality check predicate on the "name_prefix" field. It's identical to NamePrefixEQ.
func NamePrefixContains ¶
NamePrefixContains applies the Contains predicate on the "name_prefix" field.
func NamePrefixContainsFold ¶
NamePrefixContainsFold applies the ContainsFold predicate on the "name_prefix" field.
func NamePrefixEQ ¶
NamePrefixEQ applies the EQ predicate on the "name_prefix" field.
func NamePrefixEqualFold ¶
NamePrefixEqualFold applies the EqualFold predicate on the "name_prefix" field.
func NamePrefixGT ¶
NamePrefixGT applies the GT predicate on the "name_prefix" field.
func NamePrefixGTE ¶
NamePrefixGTE applies the GTE predicate on the "name_prefix" field.
func NamePrefixHasPrefix ¶
NamePrefixHasPrefix applies the HasPrefix predicate on the "name_prefix" field.
func NamePrefixHasSuffix ¶
NamePrefixHasSuffix applies the HasSuffix predicate on the "name_prefix" field.
func NamePrefixIn ¶
NamePrefixIn applies the In predicate on the "name_prefix" field.
func NamePrefixIsNil ¶
NamePrefixIsNil applies the IsNil predicate on the "name_prefix" field.
func NamePrefixLT ¶
NamePrefixLT applies the LT predicate on the "name_prefix" field.
func NamePrefixLTE ¶
NamePrefixLTE applies the LTE predicate on the "name_prefix" field.
func NamePrefixNEQ ¶
NamePrefixNEQ applies the NEQ predicate on the "name_prefix" field.
func NamePrefixNotIn ¶
NamePrefixNotIn applies the NotIn predicate on the "name_prefix" field.
func NamePrefixNotNil ¶
NamePrefixNotNil applies the NotNil predicate on the "name_prefix" field.
func NameSuffix ¶
NameSuffix applies equality check predicate on the "name_suffix" field. It's identical to NameSuffixEQ.
func NameSuffixContains ¶
NameSuffixContains applies the Contains predicate on the "name_suffix" field.
func NameSuffixContainsFold ¶
NameSuffixContainsFold applies the ContainsFold predicate on the "name_suffix" field.
func NameSuffixEQ ¶
NameSuffixEQ applies the EQ predicate on the "name_suffix" field.
func NameSuffixEqualFold ¶
NameSuffixEqualFold applies the EqualFold predicate on the "name_suffix" field.
func NameSuffixGT ¶
NameSuffixGT applies the GT predicate on the "name_suffix" field.
func NameSuffixGTE ¶
NameSuffixGTE applies the GTE predicate on the "name_suffix" field.
func NameSuffixHasPrefix ¶
NameSuffixHasPrefix applies the HasPrefix predicate on the "name_suffix" field.
func NameSuffixHasSuffix ¶
NameSuffixHasSuffix applies the HasSuffix predicate on the "name_suffix" field.
func NameSuffixIn ¶
NameSuffixIn applies the In predicate on the "name_suffix" field.
func NameSuffixIsNil ¶
NameSuffixIsNil applies the IsNil predicate on the "name_suffix" field.
func NameSuffixLT ¶
NameSuffixLT applies the LT predicate on the "name_suffix" field.
func NameSuffixLTE ¶
NameSuffixLTE applies the LTE predicate on the "name_suffix" field.
func NameSuffixNEQ ¶
NameSuffixNEQ applies the NEQ predicate on the "name_suffix" field.
func NameSuffixNotIn ¶
NameSuffixNotIn applies the NotIn predicate on the "name_suffix" field.
func NameSuffixNotNil ¶
NameSuffixNotNil applies the NotNil predicate on the "name_suffix" field.
func RlesNotNil ¶
RlesNotNil applies the NotNil predicate on the "rles" field.
func SpriteIsNil ¶
SpriteIsNil applies the IsNil predicate on the "sprite" field.
func SpriteNotNil ¶
SpriteNotNil applies the NotNil predicate on the "sprite" field.
func Suffix ¶
Suffix applies equality check predicate on the "suffix" field. It's identical to SuffixEQ.
func SuffixContains ¶
SuffixContains applies the Contains predicate on the "suffix" field.
func SuffixContainsFold ¶
SuffixContainsFold applies the ContainsFold predicate on the "suffix" field.
func SuffixEqualFold ¶
SuffixEqualFold applies the EqualFold predicate on the "suffix" field.
func SuffixHasPrefix ¶
SuffixHasPrefix applies the HasPrefix predicate on the "suffix" field.
func SuffixHasSuffix ¶
SuffixHasSuffix applies the HasSuffix predicate on the "suffix" field.
func SuffixIsNil ¶
SuffixIsNil applies the IsNil predicate on the "suffix" field.
func SuffixNotIn ¶
SuffixNotIn applies the NotIn predicate on the "suffix" field.
func SuffixNotNil ¶
SuffixNotNil applies the NotNil predicate on the "suffix" field.
func SvgContains ¶
SvgContains applies the Contains predicate on the "svg" field.
func SvgContainsFold ¶
SvgContainsFold applies the ContainsFold predicate on the "svg" field.
func SvgEqualFold ¶
SvgEqualFold applies the EqualFold predicate on the "svg" field.
func SvgHasPrefix ¶
SvgHasPrefix applies the HasPrefix predicate on the "svg" field.
func SvgHasSuffix ¶
SvgHasSuffix applies the HasSuffix predicate on the "svg" field.
func TierNotNil ¶
TierNotNil applies the NotNil predicate on the "tier" field.
func TierValidator ¶
TierValidator is a validator for the "tier" field enum values. It is called by the builders before save.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Tier ¶
type Tier string
Tier defines the type for the "tier" enum field.
const ( TierCOMMON Tier = "COMMON" TierRARE Tier = "RARE" TierCUSTOM Tier = "CUSTOM" TierBLACK_MARKET Tier = "BLACK_MARKET" )
Tier values.
func (Tier) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Tier) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type Type ¶
type Type string
Type defines the type for the "type" enum field.
const ( TypeWEAPON Type = "WEAPON" TypeCLOTHES Type = "CLOTHES" TypeVEHICLE Type = "VEHICLE" TypeWAIST Type = "WAIST" TypeFOOT Type = "FOOT" TypeHAND Type = "HAND" TypeDRUGS Type = "DRUGS" TypeNECK Type = "NECK" TypeRING Type = "RING" TypeACCESSORY Type = "ACCESSORY" )
Type values.
func (Type) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Type) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.