gamehustlerquest

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 gamehustlerquest type in the database.
	Label = "game_hustler_quest"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldQuest holds the string denoting the quest field in the database.
	FieldQuest = "quest"
	// FieldCompleted holds the string denoting the completed field in the database.
	FieldCompleted = "completed"
	// EdgeHustler holds the string denoting the hustler edge name in mutations.
	EdgeHustler = "hustler"
	// Table holds the table name of the gamehustlerquest in the database.
	Table = "game_hustler_quests"
	// HustlerTable is the table that holds the hustler relation/edge.
	HustlerTable = "game_hustler_quests"
	// 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_quests"
)

Variables

View Source
var (
	// DefaultCompleted holds the default value on creation for the "completed" field.
	DefaultCompleted bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for gamehustlerquest fields.

View Source
var ForeignKeys = []string{
	"game_hustler_quests",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "game_hustler_quests" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func Completed

func Completed(v bool) predicate.GameHustlerQuest

Completed applies equality check predicate on the "completed" field. It's identical to CompletedEQ.

func CompletedEQ

func CompletedEQ(v bool) predicate.GameHustlerQuest

CompletedEQ applies the EQ predicate on the "completed" field.

func CompletedNEQ

func CompletedNEQ(v bool) predicate.GameHustlerQuest

CompletedNEQ applies the NEQ predicate on the "completed" field.

func HasHustler

func HasHustler() predicate.GameHustlerQuest

HasHustler applies the HasEdge predicate on the "hustler" edge.

func HasHustlerWith

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

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.GameHustlerQuest

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.GameHustlerQuest

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Quest

Quest applies equality check predicate on the "quest" field. It's identical to QuestEQ.

func QuestContains

func QuestContains(v string) predicate.GameHustlerQuest

QuestContains applies the Contains predicate on the "quest" field.

func QuestContainsFold

func QuestContainsFold(v string) predicate.GameHustlerQuest

QuestContainsFold applies the ContainsFold predicate on the "quest" field.

func QuestEQ

QuestEQ applies the EQ predicate on the "quest" field.

func QuestEqualFold

func QuestEqualFold(v string) predicate.GameHustlerQuest

QuestEqualFold applies the EqualFold predicate on the "quest" field.

func QuestGT

QuestGT applies the GT predicate on the "quest" field.

func QuestGTE

func QuestGTE(v string) predicate.GameHustlerQuest

QuestGTE applies the GTE predicate on the "quest" field.

func QuestHasPrefix

func QuestHasPrefix(v string) predicate.GameHustlerQuest

QuestHasPrefix applies the HasPrefix predicate on the "quest" field.

func QuestHasSuffix

func QuestHasSuffix(v string) predicate.GameHustlerQuest

QuestHasSuffix applies the HasSuffix predicate on the "quest" field.

func QuestIn

func QuestIn(vs ...string) predicate.GameHustlerQuest

QuestIn applies the In predicate on the "quest" field.

func QuestLT

QuestLT applies the LT predicate on the "quest" field.

func QuestLTE

func QuestLTE(v string) predicate.GameHustlerQuest

QuestLTE applies the LTE predicate on the "quest" field.

func QuestNEQ

func QuestNEQ(v string) predicate.GameHustlerQuest

QuestNEQ applies the NEQ predicate on the "quest" field.

func QuestNotIn

func QuestNotIn(vs ...string) predicate.GameHustlerQuest

QuestNotIn applies the NotIn predicate on the "quest" field.

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