gameuser

package
v0.0.0-...-214d0a7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the gameuser type in the database.
	Label = "game_user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldGameID holds the string denoting the game_id field in the database.
	FieldGameID = "game_id"
	// FieldCardID holds the string denoting the card_id field in the database.
	FieldCardID = "card_id"
	// FieldNumber holds the string denoting the number field in the database.
	FieldNumber = "number"
	// FieldExited holds the string denoting the exited field in the database.
	FieldExited = "exited"
	// EdgeGame holds the string denoting the game edge name in mutations.
	EdgeGame = "game"
	// EdgeCard holds the string denoting the card edge name in mutations.
	EdgeCard = "card"
	// Table holds the table name of the gameuser in the database.
	Table = "game_users"
	// GameTable is the table that holds the game relation/edge.
	GameTable = "game_users"
	// GameInverseTable is the table name for the Game entity.
	// It exists in this package in order to avoid circular dependency with the "game" package.
	GameInverseTable = "games"
	// GameColumn is the table column denoting the game relation/edge.
	GameColumn = "game_id"
	// CardTable is the table that holds the card relation/edge.
	CardTable = "game_users"
	// CardInverseTable is the table name for the Card entity.
	// It exists in this package in order to avoid circular dependency with the "card" package.
	CardInverseTable = "cards"
	// CardColumn is the table column denoting the card relation/edge.
	CardColumn = "card_id"
)

Variables

View Source
var (
	// DefaultCreatedBy holds the default value on creation for the "created_by" field.
	DefaultCreatedBy int64
	// DefaultUpdatedBy holds the default value on creation for the "updated_by" field.
	DefaultUpdatedBy int64
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt time.Time
	// DefaultExited holds the default value on creation for the "exited" field.
	DefaultExited bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() int64
)

Columns holds all SQL columns for gameuser fields.

Functions

func And

func And(predicates ...predicate.GameUser) predicate.GameUser

And groups predicates with the AND operator between them.

func CardID

func CardID(v int64) predicate.GameUser

CardID applies equality check predicate on the "card_id" field. It's identical to CardIDEQ.

func CardIDEQ

func CardIDEQ(v int64) predicate.GameUser

CardIDEQ applies the EQ predicate on the "card_id" field.

func CardIDIn

func CardIDIn(vs ...int64) predicate.GameUser

CardIDIn applies the In predicate on the "card_id" field.

func CardIDNEQ

func CardIDNEQ(v int64) predicate.GameUser

CardIDNEQ applies the NEQ predicate on the "card_id" field.

func CardIDNotIn

func CardIDNotIn(vs ...int64) predicate.GameUser

CardIDNotIn applies the NotIn predicate on the "card_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.GameUser

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GameUser

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GameUser

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GameUser

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GameUser

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GameUser

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GameUser

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int64) predicate.GameUser

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int64) predicate.GameUser

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int64) predicate.GameUser

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int64) predicate.GameUser

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int64) predicate.GameUser

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int64) predicate.GameUser

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int64) predicate.GameUser

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.GameUser

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int64) predicate.GameUser

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.GameUser

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.GameUser

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.GameUser

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.GameUser

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.GameUser

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.GameUser

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.GameUser

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.GameUser

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.GameUser

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func Exited

func Exited(v bool) predicate.GameUser

Exited applies equality check predicate on the "exited" field. It's identical to ExitedEQ.

func ExitedEQ

func ExitedEQ(v bool) predicate.GameUser

ExitedEQ applies the EQ predicate on the "exited" field.

func ExitedNEQ

func ExitedNEQ(v bool) predicate.GameUser

ExitedNEQ applies the NEQ predicate on the "exited" field.

func GameID

func GameID(v int64) predicate.GameUser

GameID applies equality check predicate on the "game_id" field. It's identical to GameIDEQ.

func GameIDEQ

func GameIDEQ(v int64) predicate.GameUser

GameIDEQ applies the EQ predicate on the "game_id" field.

func GameIDIn

func GameIDIn(vs ...int64) predicate.GameUser

GameIDIn applies the In predicate on the "game_id" field.

func GameIDNEQ

func GameIDNEQ(v int64) predicate.GameUser

GameIDNEQ applies the NEQ predicate on the "game_id" field.

func GameIDNotIn

func GameIDNotIn(vs ...int64) predicate.GameUser

GameIDNotIn applies the NotIn predicate on the "game_id" field.

func HasCard

func HasCard() predicate.GameUser

HasCard applies the HasEdge predicate on the "card" edge.

func HasCardWith

func HasCardWith(preds ...predicate.Card) predicate.GameUser

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

func HasGame

func HasGame() predicate.GameUser

HasGame applies the HasEdge predicate on the "game" edge.

func HasGameWith

func HasGameWith(preds ...predicate.Game) predicate.GameUser

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

func ID

func ID(id int64) predicate.GameUser

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.GameUser

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.GameUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.GameUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.GameUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.GameUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.GameUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.GameUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.GameUser

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Number

func Number(v uint8) predicate.GameUser

Number applies equality check predicate on the "number" field. It's identical to NumberEQ.

func NumberEQ

func NumberEQ(v uint8) predicate.GameUser

NumberEQ applies the EQ predicate on the "number" field.

func NumberGT

func NumberGT(v uint8) predicate.GameUser

NumberGT applies the GT predicate on the "number" field.

func NumberGTE

func NumberGTE(v uint8) predicate.GameUser

NumberGTE applies the GTE predicate on the "number" field.

func NumberIn

func NumberIn(vs ...uint8) predicate.GameUser

NumberIn applies the In predicate on the "number" field.

func NumberLT

func NumberLT(v uint8) predicate.GameUser

NumberLT applies the LT predicate on the "number" field.

func NumberLTE

func NumberLTE(v uint8) predicate.GameUser

NumberLTE applies the LTE predicate on the "number" field.

func NumberNEQ

func NumberNEQ(v uint8) predicate.GameUser

NumberNEQ applies the NEQ predicate on the "number" field.

func NumberNotIn

func NumberNotIn(vs ...uint8) predicate.GameUser

NumberNotIn applies the NotIn predicate on the "number" field.

func Or

func Or(predicates ...predicate.GameUser) predicate.GameUser

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.GameUser

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GameUser

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GameUser

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GameUser

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.GameUser

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GameUser

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GameUser

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GameUser

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.GameUser

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int64) predicate.GameUser

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int64) predicate.GameUser

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int64) predicate.GameUser

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int64) predicate.GameUser

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int64) predicate.GameUser

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int64) predicate.GameUser

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int64) predicate.GameUser

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int64) predicate.GameUser

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int64) predicate.GameUser

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UserID

func UserID(v int64) predicate.GameUser

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int64) predicate.GameUser

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v int64) predicate.GameUser

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v int64) predicate.GameUser

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int64) predicate.GameUser

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v int64) predicate.GameUser

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v int64) predicate.GameUser

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int64) predicate.GameUser

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int64) predicate.GameUser

UserIDNotIn applies the NotIn predicate on the "user_id" 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