gamehustler

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the gamehustler type in the database.
	Label = "game_hustler"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldLastPosition holds the string denoting the last_position field in the database.
	FieldLastPosition = "last_position"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeRelations holds the string denoting the relations edge name in mutations.
	EdgeRelations = "relations"
	// EdgeItems holds the string denoting the items edge name in mutations.
	EdgeItems = "items"
	// EdgeQuests holds the string denoting the quests edge name in mutations.
	EdgeQuests = "quests"
	// Table holds the table name of the gamehustler in the database.
	Table = "game_hustlers"
	// RelationsTable is the table that holds the relations relation/edge.
	RelationsTable = "game_hustler_relations"
	// RelationsInverseTable is the table name for the GameHustlerRelation entity.
	// It exists in this package in order to avoid circular dependency with the "gamehustlerrelation" package.
	RelationsInverseTable = "game_hustler_relations"
	// RelationsColumn is the table column denoting the relations relation/edge.
	RelationsColumn = "game_hustler_relations"
	// ItemsTable is the table that holds the items relation/edge.
	ItemsTable = "game_hustler_items"
	// ItemsInverseTable is the table name for the GameHustlerItem entity.
	// It exists in this package in order to avoid circular dependency with the "gamehustleritem" package.
	ItemsInverseTable = "game_hustler_items"
	// ItemsColumn is the table column denoting the items relation/edge.
	ItemsColumn = "game_hustler_items"
	// QuestsTable is the table that holds the quests relation/edge.
	QuestsTable = "game_hustler_quests"
	// QuestsInverseTable is the table name for the GameHustlerQuest entity.
	// It exists in this package in order to avoid circular dependency with the "gamehustlerquest" package.
	QuestsInverseTable = "game_hustler_quests"
	// QuestsColumn is the table column denoting the quests relation/edge.
	QuestsColumn = "game_hustler_quests"
)

Variables

Columns holds all SQL columns for gamehustler fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Functions

func And

func And(predicates ...predicate.GameHustler) predicate.GameHustler

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.GameHustler

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GameHustler

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GameHustler

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GameHustler

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.GameHustler

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GameHustler

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GameHustler

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GameHustler

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.GameHustler

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasItems

func HasItems() predicate.GameHustler

HasItems applies the HasEdge predicate on the "items" edge.

func HasItemsWith

func HasItemsWith(preds ...predicate.GameHustlerItem) predicate.GameHustler

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

func HasQuests

func HasQuests() predicate.GameHustler

HasQuests applies the HasEdge predicate on the "quests" edge.

func HasQuestsWith

func HasQuestsWith(preds ...predicate.GameHustlerQuest) predicate.GameHustler

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

func HasRelations

func HasRelations() predicate.GameHustler

HasRelations applies the HasEdge predicate on the "relations" edge.

func HasRelationsWith

func HasRelationsWith(preds ...predicate.GameHustlerRelation) predicate.GameHustler

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.GameHustler

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.GameHustler

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.GameHustler

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.GameHustler

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.GameHustler

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.GameHustler

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GameHustler) predicate.GameHustler

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