gamehustleritem

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: 3 Imported by: 0

Documentation

Index

Constants

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

View Source
var Columns = []string{
	FieldID,
	FieldItem,
}

Columns holds all SQL columns for gamehustleritem fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)
View Source
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

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

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

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

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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