item

package
v0.0.0-...-3befcbb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for item fields.

View Source
var (
	// DopesPrimaryKey and DopesColumn2 are the table columns denoting the
	// primary key for the dopes relation (M2M).
	DopesPrimaryKey = []string{"dope_id", "item_id"}
)
View Source
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 And

func And(predicates ...predicate.Item) predicate.Item

And groups predicates with the AND operator between them.

func Augmented

func Augmented(v bool) predicate.Item

Augmented applies equality check predicate on the "augmented" field. It's identical to AugmentedEQ.

func AugmentedEQ

func AugmentedEQ(v bool) predicate.Item

AugmentedEQ applies the EQ predicate on the "augmented" field.

func AugmentedIsNil

func AugmentedIsNil() predicate.Item

AugmentedIsNil applies the IsNil predicate on the "augmented" field.

func AugmentedNEQ

func AugmentedNEQ(v bool) predicate.Item

AugmentedNEQ applies the NEQ predicate on the "augmented" field.

func AugmentedNotNil

func AugmentedNotNil() predicate.Item

AugmentedNotNil applies the NotNil predicate on the "augmented" field.

func Count

func Count(v int) predicate.Item

Count applies equality check predicate on the "count" field. It's identical to CountEQ.

func CountEQ

func CountEQ(v int) predicate.Item

CountEQ applies the EQ predicate on the "count" field.

func CountGT

func CountGT(v int) predicate.Item

CountGT applies the GT predicate on the "count" field.

func CountGTE

func CountGTE(v int) predicate.Item

CountGTE applies the GTE predicate on the "count" field.

func CountIn

func CountIn(vs ...int) predicate.Item

CountIn applies the In predicate on the "count" field.

func CountIsNil

func CountIsNil() predicate.Item

CountIsNil applies the IsNil predicate on the "count" field.

func CountLT

func CountLT(v int) predicate.Item

CountLT applies the LT predicate on the "count" field.

func CountLTE

func CountLTE(v int) predicate.Item

CountLTE applies the LTE predicate on the "count" field.

func CountNEQ

func CountNEQ(v int) predicate.Item

CountNEQ applies the NEQ predicate on the "count" field.

func CountNotIn

func CountNotIn(vs ...int) predicate.Item

CountNotIn applies the NotIn predicate on the "count" field.

func CountNotNil

func CountNotNil() predicate.Item

CountNotNil applies the NotNil predicate on the "count" field.

func Greatness

func Greatness(v int) predicate.Item

Greatness applies equality check predicate on the "greatness" field. It's identical to GreatnessEQ.

func GreatnessEQ

func GreatnessEQ(v int) predicate.Item

GreatnessEQ applies the EQ predicate on the "greatness" field.

func GreatnessGT

func GreatnessGT(v int) predicate.Item

GreatnessGT applies the GT predicate on the "greatness" field.

func GreatnessGTE

func GreatnessGTE(v int) predicate.Item

GreatnessGTE applies the GTE predicate on the "greatness" field.

func GreatnessIn

func GreatnessIn(vs ...int) predicate.Item

GreatnessIn applies the In predicate on the "greatness" field.

func GreatnessIsNil

func GreatnessIsNil() predicate.Item

GreatnessIsNil applies the IsNil predicate on the "greatness" field.

func GreatnessLT

func GreatnessLT(v int) predicate.Item

GreatnessLT applies the LT predicate on the "greatness" field.

func GreatnessLTE

func GreatnessLTE(v int) predicate.Item

GreatnessLTE applies the LTE predicate on the "greatness" field.

func GreatnessNEQ

func GreatnessNEQ(v int) predicate.Item

GreatnessNEQ applies the NEQ predicate on the "greatness" field.

func GreatnessNotIn

func GreatnessNotIn(vs ...int) predicate.Item

GreatnessNotIn applies the NotIn predicate on the "greatness" field.

func GreatnessNotNil

func GreatnessNotNil() predicate.Item

GreatnessNotNil applies the NotNil predicate on the "greatness" field.

func HasBase

func HasBase() predicate.Item

HasBase applies the HasEdge predicate on the "base" edge.

func HasBaseWith

func HasBaseWith(preds ...predicate.Item) predicate.Item

HasBaseWith applies the HasEdge predicate on the "base" edge with a given conditions (other predicates).

func HasDerivative

func HasDerivative() predicate.Item

HasDerivative applies the HasEdge predicate on the "derivative" edge.

func HasDerivativeWith

func HasDerivativeWith(preds ...predicate.Item) predicate.Item

HasDerivativeWith applies the HasEdge predicate on the "derivative" edge with a given conditions (other predicates).

func HasDopes

func HasDopes() predicate.Item

HasDopes applies the HasEdge predicate on the "dopes" edge.

func HasDopesWith

func HasDopesWith(preds ...predicate.Dope) predicate.Item

HasDopesWith applies the HasEdge predicate on the "dopes" edge with a given conditions (other predicates).

func HasHustlerAccessories

func HasHustlerAccessories() predicate.Item

HasHustlerAccessories applies the HasEdge predicate on the "hustler_accessories" edge.

func HasHustlerAccessoriesWith

func HasHustlerAccessoriesWith(preds ...predicate.Hustler) predicate.Item

HasHustlerAccessoriesWith applies the HasEdge predicate on the "hustler_accessories" edge with a given conditions (other predicates).

func HasHustlerClothes

func HasHustlerClothes() predicate.Item

HasHustlerClothes applies the HasEdge predicate on the "hustler_clothes" edge.

func HasHustlerClothesWith

func HasHustlerClothesWith(preds ...predicate.Hustler) predicate.Item

HasHustlerClothesWith applies the HasEdge predicate on the "hustler_clothes" edge with a given conditions (other predicates).

func HasHustlerDrugs

func HasHustlerDrugs() predicate.Item

HasHustlerDrugs applies the HasEdge predicate on the "hustler_drugs" edge.

func HasHustlerDrugsWith

func HasHustlerDrugsWith(preds ...predicate.Hustler) predicate.Item

HasHustlerDrugsWith applies the HasEdge predicate on the "hustler_drugs" edge with a given conditions (other predicates).

func HasHustlerFeet

func HasHustlerFeet() predicate.Item

HasHustlerFeet applies the HasEdge predicate on the "hustler_feet" edge.

func HasHustlerFeetWith

func HasHustlerFeetWith(preds ...predicate.Hustler) predicate.Item

HasHustlerFeetWith applies the HasEdge predicate on the "hustler_feet" edge with a given conditions (other predicates).

func HasHustlerHands

func HasHustlerHands() predicate.Item

HasHustlerHands applies the HasEdge predicate on the "hustler_hands" edge.

func HasHustlerHandsWith

func HasHustlerHandsWith(preds ...predicate.Hustler) predicate.Item

HasHustlerHandsWith applies the HasEdge predicate on the "hustler_hands" edge with a given conditions (other predicates).

func HasHustlerNecks

func HasHustlerNecks() predicate.Item

HasHustlerNecks applies the HasEdge predicate on the "hustler_necks" edge.

func HasHustlerNecksWith

func HasHustlerNecksWith(preds ...predicate.Hustler) predicate.Item

HasHustlerNecksWith applies the HasEdge predicate on the "hustler_necks" edge with a given conditions (other predicates).

func HasHustlerRings

func HasHustlerRings() predicate.Item

HasHustlerRings applies the HasEdge predicate on the "hustler_rings" edge.

func HasHustlerRingsWith

func HasHustlerRingsWith(preds ...predicate.Hustler) predicate.Item

HasHustlerRingsWith applies the HasEdge predicate on the "hustler_rings" edge with a given conditions (other predicates).

func HasHustlerVehicles

func HasHustlerVehicles() predicate.Item

HasHustlerVehicles applies the HasEdge predicate on the "hustler_vehicles" edge.

func HasHustlerVehiclesWith

func HasHustlerVehiclesWith(preds ...predicate.Hustler) predicate.Item

HasHustlerVehiclesWith applies the HasEdge predicate on the "hustler_vehicles" edge with a given conditions (other predicates).

func HasHustlerWaists

func HasHustlerWaists() predicate.Item

HasHustlerWaists applies the HasEdge predicate on the "hustler_waists" edge.

func HasHustlerWaistsWith

func HasHustlerWaistsWith(preds ...predicate.Hustler) predicate.Item

HasHustlerWaistsWith applies the HasEdge predicate on the "hustler_waists" edge with a given conditions (other predicates).

func HasHustlerWeapons

func HasHustlerWeapons() predicate.Item

HasHustlerWeapons applies the HasEdge predicate on the "hustler_weapons" edge.

func HasHustlerWeaponsWith

func HasHustlerWeaponsWith(preds ...predicate.Hustler) predicate.Item

HasHustlerWeaponsWith applies the HasEdge predicate on the "hustler_weapons" edge with a given conditions (other predicates).

func HasIndex

func HasIndex() predicate.Item

HasIndex applies the HasEdge predicate on the "index" edge.

func HasIndexWith

func HasIndexWith(preds ...predicate.Search) predicate.Item

HasIndexWith applies the HasEdge predicate on the "index" edge with a given conditions (other predicates).

func HasWallets

func HasWallets() predicate.Item

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 ID

func ID(id string) predicate.Item

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Item

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Item

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Item

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Item

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Item

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Item

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Item

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Item

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Item

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Item

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Item

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Item

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Item

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Item

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Item

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Item

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Item

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Item

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Item

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Item

NameNotIn applies the NotIn predicate on the "name" field.

func NamePrefix

func NamePrefix(v string) predicate.Item

NamePrefix applies equality check predicate on the "name_prefix" field. It's identical to NamePrefixEQ.

func NamePrefixContains

func NamePrefixContains(v string) predicate.Item

NamePrefixContains applies the Contains predicate on the "name_prefix" field.

func NamePrefixContainsFold

func NamePrefixContainsFold(v string) predicate.Item

NamePrefixContainsFold applies the ContainsFold predicate on the "name_prefix" field.

func NamePrefixEQ

func NamePrefixEQ(v string) predicate.Item

NamePrefixEQ applies the EQ predicate on the "name_prefix" field.

func NamePrefixEqualFold

func NamePrefixEqualFold(v string) predicate.Item

NamePrefixEqualFold applies the EqualFold predicate on the "name_prefix" field.

func NamePrefixGT

func NamePrefixGT(v string) predicate.Item

NamePrefixGT applies the GT predicate on the "name_prefix" field.

func NamePrefixGTE

func NamePrefixGTE(v string) predicate.Item

NamePrefixGTE applies the GTE predicate on the "name_prefix" field.

func NamePrefixHasPrefix

func NamePrefixHasPrefix(v string) predicate.Item

NamePrefixHasPrefix applies the HasPrefix predicate on the "name_prefix" field.

func NamePrefixHasSuffix

func NamePrefixHasSuffix(v string) predicate.Item

NamePrefixHasSuffix applies the HasSuffix predicate on the "name_prefix" field.

func NamePrefixIn

func NamePrefixIn(vs ...string) predicate.Item

NamePrefixIn applies the In predicate on the "name_prefix" field.

func NamePrefixIsNil

func NamePrefixIsNil() predicate.Item

NamePrefixIsNil applies the IsNil predicate on the "name_prefix" field.

func NamePrefixLT

func NamePrefixLT(v string) predicate.Item

NamePrefixLT applies the LT predicate on the "name_prefix" field.

func NamePrefixLTE

func NamePrefixLTE(v string) predicate.Item

NamePrefixLTE applies the LTE predicate on the "name_prefix" field.

func NamePrefixNEQ

func NamePrefixNEQ(v string) predicate.Item

NamePrefixNEQ applies the NEQ predicate on the "name_prefix" field.

func NamePrefixNotIn

func NamePrefixNotIn(vs ...string) predicate.Item

NamePrefixNotIn applies the NotIn predicate on the "name_prefix" field.

func NamePrefixNotNil

func NamePrefixNotNil() predicate.Item

NamePrefixNotNil applies the NotNil predicate on the "name_prefix" field.

func NameSuffix

func NameSuffix(v string) predicate.Item

NameSuffix applies equality check predicate on the "name_suffix" field. It's identical to NameSuffixEQ.

func NameSuffixContains

func NameSuffixContains(v string) predicate.Item

NameSuffixContains applies the Contains predicate on the "name_suffix" field.

func NameSuffixContainsFold

func NameSuffixContainsFold(v string) predicate.Item

NameSuffixContainsFold applies the ContainsFold predicate on the "name_suffix" field.

func NameSuffixEQ

func NameSuffixEQ(v string) predicate.Item

NameSuffixEQ applies the EQ predicate on the "name_suffix" field.

func NameSuffixEqualFold

func NameSuffixEqualFold(v string) predicate.Item

NameSuffixEqualFold applies the EqualFold predicate on the "name_suffix" field.

func NameSuffixGT

func NameSuffixGT(v string) predicate.Item

NameSuffixGT applies the GT predicate on the "name_suffix" field.

func NameSuffixGTE

func NameSuffixGTE(v string) predicate.Item

NameSuffixGTE applies the GTE predicate on the "name_suffix" field.

func NameSuffixHasPrefix

func NameSuffixHasPrefix(v string) predicate.Item

NameSuffixHasPrefix applies the HasPrefix predicate on the "name_suffix" field.

func NameSuffixHasSuffix

func NameSuffixHasSuffix(v string) predicate.Item

NameSuffixHasSuffix applies the HasSuffix predicate on the "name_suffix" field.

func NameSuffixIn

func NameSuffixIn(vs ...string) predicate.Item

NameSuffixIn applies the In predicate on the "name_suffix" field.

func NameSuffixIsNil

func NameSuffixIsNil() predicate.Item

NameSuffixIsNil applies the IsNil predicate on the "name_suffix" field.

func NameSuffixLT

func NameSuffixLT(v string) predicate.Item

NameSuffixLT applies the LT predicate on the "name_suffix" field.

func NameSuffixLTE

func NameSuffixLTE(v string) predicate.Item

NameSuffixLTE applies the LTE predicate on the "name_suffix" field.

func NameSuffixNEQ

func NameSuffixNEQ(v string) predicate.Item

NameSuffixNEQ applies the NEQ predicate on the "name_suffix" field.

func NameSuffixNotIn

func NameSuffixNotIn(vs ...string) predicate.Item

NameSuffixNotIn applies the NotIn predicate on the "name_suffix" field.

func NameSuffixNotNil

func NameSuffixNotNil() predicate.Item

NameSuffixNotNil applies the NotNil predicate on the "name_suffix" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Item) predicate.Item

Or groups predicates with the OR operator between them.

func RlesIsNil

func RlesIsNil() predicate.Item

RlesIsNil applies the IsNil predicate on the "rles" field.

func RlesNotNil

func RlesNotNil() predicate.Item

RlesNotNil applies the NotNil predicate on the "rles" field.

func SpriteIsNil

func SpriteIsNil() predicate.Item

SpriteIsNil applies the IsNil predicate on the "sprite" field.

func SpriteNotNil

func SpriteNotNil() predicate.Item

SpriteNotNil applies the NotNil predicate on the "sprite" field.

func Suffix

func Suffix(v string) predicate.Item

Suffix applies equality check predicate on the "suffix" field. It's identical to SuffixEQ.

func SuffixContains

func SuffixContains(v string) predicate.Item

SuffixContains applies the Contains predicate on the "suffix" field.

func SuffixContainsFold

func SuffixContainsFold(v string) predicate.Item

SuffixContainsFold applies the ContainsFold predicate on the "suffix" field.

func SuffixEQ

func SuffixEQ(v string) predicate.Item

SuffixEQ applies the EQ predicate on the "suffix" field.

func SuffixEqualFold

func SuffixEqualFold(v string) predicate.Item

SuffixEqualFold applies the EqualFold predicate on the "suffix" field.

func SuffixGT

func SuffixGT(v string) predicate.Item

SuffixGT applies the GT predicate on the "suffix" field.

func SuffixGTE

func SuffixGTE(v string) predicate.Item

SuffixGTE applies the GTE predicate on the "suffix" field.

func SuffixHasPrefix

func SuffixHasPrefix(v string) predicate.Item

SuffixHasPrefix applies the HasPrefix predicate on the "suffix" field.

func SuffixHasSuffix

func SuffixHasSuffix(v string) predicate.Item

SuffixHasSuffix applies the HasSuffix predicate on the "suffix" field.

func SuffixIn

func SuffixIn(vs ...string) predicate.Item

SuffixIn applies the In predicate on the "suffix" field.

func SuffixIsNil

func SuffixIsNil() predicate.Item

SuffixIsNil applies the IsNil predicate on the "suffix" field.

func SuffixLT

func SuffixLT(v string) predicate.Item

SuffixLT applies the LT predicate on the "suffix" field.

func SuffixLTE

func SuffixLTE(v string) predicate.Item

SuffixLTE applies the LTE predicate on the "suffix" field.

func SuffixNEQ

func SuffixNEQ(v string) predicate.Item

SuffixNEQ applies the NEQ predicate on the "suffix" field.

func SuffixNotIn

func SuffixNotIn(vs ...string) predicate.Item

SuffixNotIn applies the NotIn predicate on the "suffix" field.

func SuffixNotNil

func SuffixNotNil() predicate.Item

SuffixNotNil applies the NotNil predicate on the "suffix" field.

func Svg

func Svg(v string) predicate.Item

Svg applies equality check predicate on the "svg" field. It's identical to SvgEQ.

func SvgContains

func SvgContains(v string) predicate.Item

SvgContains applies the Contains predicate on the "svg" field.

func SvgContainsFold

func SvgContainsFold(v string) predicate.Item

SvgContainsFold applies the ContainsFold predicate on the "svg" field.

func SvgEQ

func SvgEQ(v string) predicate.Item

SvgEQ applies the EQ predicate on the "svg" field.

func SvgEqualFold

func SvgEqualFold(v string) predicate.Item

SvgEqualFold applies the EqualFold predicate on the "svg" field.

func SvgGT

func SvgGT(v string) predicate.Item

SvgGT applies the GT predicate on the "svg" field.

func SvgGTE

func SvgGTE(v string) predicate.Item

SvgGTE applies the GTE predicate on the "svg" field.

func SvgHasPrefix

func SvgHasPrefix(v string) predicate.Item

SvgHasPrefix applies the HasPrefix predicate on the "svg" field.

func SvgHasSuffix

func SvgHasSuffix(v string) predicate.Item

SvgHasSuffix applies the HasSuffix predicate on the "svg" field.

func SvgIn

func SvgIn(vs ...string) predicate.Item

SvgIn applies the In predicate on the "svg" field.

func SvgIsNil

func SvgIsNil() predicate.Item

SvgIsNil applies the IsNil predicate on the "svg" field.

func SvgLT

func SvgLT(v string) predicate.Item

SvgLT applies the LT predicate on the "svg" field.

func SvgLTE

func SvgLTE(v string) predicate.Item

SvgLTE applies the LTE predicate on the "svg" field.

func SvgNEQ

func SvgNEQ(v string) predicate.Item

SvgNEQ applies the NEQ predicate on the "svg" field.

func SvgNotIn

func SvgNotIn(vs ...string) predicate.Item

SvgNotIn applies the NotIn predicate on the "svg" field.

func SvgNotNil

func SvgNotNil() predicate.Item

SvgNotNil applies the NotNil predicate on the "svg" field.

func TierEQ

func TierEQ(v Tier) predicate.Item

TierEQ applies the EQ predicate on the "tier" field.

func TierIn

func TierIn(vs ...Tier) predicate.Item

TierIn applies the In predicate on the "tier" field.

func TierIsNil

func TierIsNil() predicate.Item

TierIsNil applies the IsNil predicate on the "tier" field.

func TierNEQ

func TierNEQ(v Tier) predicate.Item

TierNEQ applies the NEQ predicate on the "tier" field.

func TierNotIn

func TierNotIn(vs ...Tier) predicate.Item

TierNotIn applies the NotIn predicate on the "tier" field.

func TierNotNil

func TierNotNil() predicate.Item

TierNotNil applies the NotNil predicate on the "tier" field.

func TierValidator

func TierValidator(t Tier) error

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

func TypeEQ

func TypeEQ(v Type) predicate.Item

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.Item

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.Item

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.Item

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

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

func ValidColumn

func ValidColumn(column string) bool

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

func (t Tier) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Tier) String

func (t Tier) String() string

func (*Tier) UnmarshalGQL

func (t *Tier) UnmarshalGQL(val interface{}) error

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

func (_type Type) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Type) String

func (_type Type) String() string

func (*Type) UnmarshalGQL

func (_type *Type) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL