gameaccount

package
v0.0.0-...-a037928 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the gameaccount type in the database.
	Label = "game_account"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAccountID holds the string denoting the account_id field in the database.
	FieldAccountID = "account_id"
	// FieldGameToken holds the string denoting the game_token field in the database.
	FieldGameToken = "game_token"
	// FieldCookieToken holds the string denoting the cookie_token field in the database.
	FieldCookieToken = "cookie_token"
	// FieldStoken holds the string denoting the stoken field in the database.
	FieldStoken = "stoken"
	// FieldMid holds the string denoting the mid field in the database.
	FieldMid = "mid"
	// FieldCreateAt holds the string denoting the create_at field in the database.
	FieldCreateAt = "create_at"
	// FieldUpdateAt holds the string denoting the update_at field in the database.
	FieldUpdateAt = "update_at"
	// Table holds the table name of the gameaccount in the database.
	Table = "game_accounts"
)

Variables

View Source
var (
	// AccountIDValidator is a validator for the "account_id" field. It is called by the builders before save.
	AccountIDValidator func(string) error
	// DefaultGameToken holds the default value on creation for the "game_token" field.
	DefaultGameToken string
	// GameTokenValidator is a validator for the "game_token" field. It is called by the builders before save.
	GameTokenValidator func(string) error
	// DefaultCookieToken holds the default value on creation for the "cookie_token" field.
	DefaultCookieToken string
	// CookieTokenValidator is a validator for the "cookie_token" field. It is called by the builders before save.
	CookieTokenValidator func(string) error
	// DefaultStoken holds the default value on creation for the "stoken" field.
	DefaultStoken string
	// DefaultMid holds the default value on creation for the "mid" field.
	DefaultMid string
	// MidValidator is a validator for the "mid" field. It is called by the builders before save.
	MidValidator func(string) error
	// DefaultCreateAt holds the default value on creation for the "create_at" field.
	DefaultCreateAt func() time.Time
	// DefaultUpdateAt holds the default value on creation for the "update_at" field.
	DefaultUpdateAt func() time.Time
	// UpdateDefaultUpdateAt holds the default value on update for the "update_at" field.
	UpdateDefaultUpdateAt func() time.Time
)

Columns holds all SQL columns for gameaccount fields.

Functions

func AccountID

func AccountID(v string) predicate.GameAccount

AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.

func AccountIDContains

func AccountIDContains(v string) predicate.GameAccount

AccountIDContains applies the Contains predicate on the "account_id" field.

func AccountIDContainsFold

func AccountIDContainsFold(v string) predicate.GameAccount

AccountIDContainsFold applies the ContainsFold predicate on the "account_id" field.

func AccountIDEQ

func AccountIDEQ(v string) predicate.GameAccount

AccountIDEQ applies the EQ predicate on the "account_id" field.

func AccountIDEqualFold

func AccountIDEqualFold(v string) predicate.GameAccount

AccountIDEqualFold applies the EqualFold predicate on the "account_id" field.

func AccountIDGT

func AccountIDGT(v string) predicate.GameAccount

AccountIDGT applies the GT predicate on the "account_id" field.

func AccountIDGTE

func AccountIDGTE(v string) predicate.GameAccount

AccountIDGTE applies the GTE predicate on the "account_id" field.

func AccountIDHasPrefix

func AccountIDHasPrefix(v string) predicate.GameAccount

AccountIDHasPrefix applies the HasPrefix predicate on the "account_id" field.

func AccountIDHasSuffix

func AccountIDHasSuffix(v string) predicate.GameAccount

AccountIDHasSuffix applies the HasSuffix predicate on the "account_id" field.

func AccountIDIn

func AccountIDIn(vs ...string) predicate.GameAccount

AccountIDIn applies the In predicate on the "account_id" field.

func AccountIDLT

func AccountIDLT(v string) predicate.GameAccount

AccountIDLT applies the LT predicate on the "account_id" field.

func AccountIDLTE

func AccountIDLTE(v string) predicate.GameAccount

AccountIDLTE applies the LTE predicate on the "account_id" field.

func AccountIDNEQ

func AccountIDNEQ(v string) predicate.GameAccount

AccountIDNEQ applies the NEQ predicate on the "account_id" field.

func AccountIDNotIn

func AccountIDNotIn(vs ...string) predicate.GameAccount

AccountIDNotIn applies the NotIn predicate on the "account_id" field.

func And

func And(predicates ...predicate.GameAccount) predicate.GameAccount

And groups predicates with the AND operator between them.

func CookieToken

func CookieToken(v string) predicate.GameAccount

CookieToken applies equality check predicate on the "cookie_token" field. It's identical to CookieTokenEQ.

func CookieTokenContains

func CookieTokenContains(v string) predicate.GameAccount

CookieTokenContains applies the Contains predicate on the "cookie_token" field.

func CookieTokenContainsFold

func CookieTokenContainsFold(v string) predicate.GameAccount

CookieTokenContainsFold applies the ContainsFold predicate on the "cookie_token" field.

func CookieTokenEQ

func CookieTokenEQ(v string) predicate.GameAccount

CookieTokenEQ applies the EQ predicate on the "cookie_token" field.

func CookieTokenEqualFold

func CookieTokenEqualFold(v string) predicate.GameAccount

CookieTokenEqualFold applies the EqualFold predicate on the "cookie_token" field.

func CookieTokenGT

func CookieTokenGT(v string) predicate.GameAccount

CookieTokenGT applies the GT predicate on the "cookie_token" field.

func CookieTokenGTE

func CookieTokenGTE(v string) predicate.GameAccount

CookieTokenGTE applies the GTE predicate on the "cookie_token" field.

func CookieTokenHasPrefix

func CookieTokenHasPrefix(v string) predicate.GameAccount

CookieTokenHasPrefix applies the HasPrefix predicate on the "cookie_token" field.

func CookieTokenHasSuffix

func CookieTokenHasSuffix(v string) predicate.GameAccount

CookieTokenHasSuffix applies the HasSuffix predicate on the "cookie_token" field.

func CookieTokenIn

func CookieTokenIn(vs ...string) predicate.GameAccount

CookieTokenIn applies the In predicate on the "cookie_token" field.

func CookieTokenLT

func CookieTokenLT(v string) predicate.GameAccount

CookieTokenLT applies the LT predicate on the "cookie_token" field.

func CookieTokenLTE

func CookieTokenLTE(v string) predicate.GameAccount

CookieTokenLTE applies the LTE predicate on the "cookie_token" field.

func CookieTokenNEQ

func CookieTokenNEQ(v string) predicate.GameAccount

CookieTokenNEQ applies the NEQ predicate on the "cookie_token" field.

func CookieTokenNotIn

func CookieTokenNotIn(vs ...string) predicate.GameAccount

CookieTokenNotIn applies the NotIn predicate on the "cookie_token" field.

func CreateAt

func CreateAt(v time.Time) predicate.GameAccount

CreateAt applies equality check predicate on the "create_at" field. It's identical to CreateAtEQ.

func CreateAtEQ

func CreateAtEQ(v time.Time) predicate.GameAccount

CreateAtEQ applies the EQ predicate on the "create_at" field.

func CreateAtGT

func CreateAtGT(v time.Time) predicate.GameAccount

CreateAtGT applies the GT predicate on the "create_at" field.

func CreateAtGTE

func CreateAtGTE(v time.Time) predicate.GameAccount

CreateAtGTE applies the GTE predicate on the "create_at" field.

func CreateAtIn

func CreateAtIn(vs ...time.Time) predicate.GameAccount

CreateAtIn applies the In predicate on the "create_at" field.

func CreateAtLT

func CreateAtLT(v time.Time) predicate.GameAccount

CreateAtLT applies the LT predicate on the "create_at" field.

func CreateAtLTE

func CreateAtLTE(v time.Time) predicate.GameAccount

CreateAtLTE applies the LTE predicate on the "create_at" field.

func CreateAtNEQ

func CreateAtNEQ(v time.Time) predicate.GameAccount

CreateAtNEQ applies the NEQ predicate on the "create_at" field.

func CreateAtNotIn

func CreateAtNotIn(vs ...time.Time) predicate.GameAccount

CreateAtNotIn applies the NotIn predicate on the "create_at" field.

func GameToken

func GameToken(v string) predicate.GameAccount

GameToken applies equality check predicate on the "game_token" field. It's identical to GameTokenEQ.

func GameTokenContains

func GameTokenContains(v string) predicate.GameAccount

GameTokenContains applies the Contains predicate on the "game_token" field.

func GameTokenContainsFold

func GameTokenContainsFold(v string) predicate.GameAccount

GameTokenContainsFold applies the ContainsFold predicate on the "game_token" field.

func GameTokenEQ

func GameTokenEQ(v string) predicate.GameAccount

GameTokenEQ applies the EQ predicate on the "game_token" field.

func GameTokenEqualFold

func GameTokenEqualFold(v string) predicate.GameAccount

GameTokenEqualFold applies the EqualFold predicate on the "game_token" field.

func GameTokenGT

func GameTokenGT(v string) predicate.GameAccount

GameTokenGT applies the GT predicate on the "game_token" field.

func GameTokenGTE

func GameTokenGTE(v string) predicate.GameAccount

GameTokenGTE applies the GTE predicate on the "game_token" field.

func GameTokenHasPrefix

func GameTokenHasPrefix(v string) predicate.GameAccount

GameTokenHasPrefix applies the HasPrefix predicate on the "game_token" field.

func GameTokenHasSuffix

func GameTokenHasSuffix(v string) predicate.GameAccount

GameTokenHasSuffix applies the HasSuffix predicate on the "game_token" field.

func GameTokenIn

func GameTokenIn(vs ...string) predicate.GameAccount

GameTokenIn applies the In predicate on the "game_token" field.

func GameTokenLT

func GameTokenLT(v string) predicate.GameAccount

GameTokenLT applies the LT predicate on the "game_token" field.

func GameTokenLTE

func GameTokenLTE(v string) predicate.GameAccount

GameTokenLTE applies the LTE predicate on the "game_token" field.

func GameTokenNEQ

func GameTokenNEQ(v string) predicate.GameAccount

GameTokenNEQ applies the NEQ predicate on the "game_token" field.

func GameTokenNotIn

func GameTokenNotIn(vs ...string) predicate.GameAccount

GameTokenNotIn applies the NotIn predicate on the "game_token" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.GameAccount

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.GameAccount

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.GameAccount

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.GameAccount

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.GameAccount

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.GameAccount

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Mid

Mid applies equality check predicate on the "mid" field. It's identical to MidEQ.

func MidContains

func MidContains(v string) predicate.GameAccount

MidContains applies the Contains predicate on the "mid" field.

func MidContainsFold

func MidContainsFold(v string) predicate.GameAccount

MidContainsFold applies the ContainsFold predicate on the "mid" field.

func MidEQ

func MidEQ(v string) predicate.GameAccount

MidEQ applies the EQ predicate on the "mid" field.

func MidEqualFold

func MidEqualFold(v string) predicate.GameAccount

MidEqualFold applies the EqualFold predicate on the "mid" field.

func MidGT

func MidGT(v string) predicate.GameAccount

MidGT applies the GT predicate on the "mid" field.

func MidGTE

func MidGTE(v string) predicate.GameAccount

MidGTE applies the GTE predicate on the "mid" field.

func MidHasPrefix

func MidHasPrefix(v string) predicate.GameAccount

MidHasPrefix applies the HasPrefix predicate on the "mid" field.

func MidHasSuffix

func MidHasSuffix(v string) predicate.GameAccount

MidHasSuffix applies the HasSuffix predicate on the "mid" field.

func MidIn

func MidIn(vs ...string) predicate.GameAccount

MidIn applies the In predicate on the "mid" field.

func MidLT

func MidLT(v string) predicate.GameAccount

MidLT applies the LT predicate on the "mid" field.

func MidLTE

func MidLTE(v string) predicate.GameAccount

MidLTE applies the LTE predicate on the "mid" field.

func MidNEQ

func MidNEQ(v string) predicate.GameAccount

MidNEQ applies the NEQ predicate on the "mid" field.

func MidNotIn

func MidNotIn(vs ...string) predicate.GameAccount

MidNotIn applies the NotIn predicate on the "mid" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GameAccount) predicate.GameAccount

Or groups predicates with the OR operator between them.

func Stoken

func Stoken(v string) predicate.GameAccount

Stoken applies equality check predicate on the "stoken" field. It's identical to StokenEQ.

func StokenContains

func StokenContains(v string) predicate.GameAccount

StokenContains applies the Contains predicate on the "stoken" field.

func StokenContainsFold

func StokenContainsFold(v string) predicate.GameAccount

StokenContainsFold applies the ContainsFold predicate on the "stoken" field.

func StokenEQ

func StokenEQ(v string) predicate.GameAccount

StokenEQ applies the EQ predicate on the "stoken" field.

func StokenEqualFold

func StokenEqualFold(v string) predicate.GameAccount

StokenEqualFold applies the EqualFold predicate on the "stoken" field.

func StokenGT

func StokenGT(v string) predicate.GameAccount

StokenGT applies the GT predicate on the "stoken" field.

func StokenGTE

func StokenGTE(v string) predicate.GameAccount

StokenGTE applies the GTE predicate on the "stoken" field.

func StokenHasPrefix

func StokenHasPrefix(v string) predicate.GameAccount

StokenHasPrefix applies the HasPrefix predicate on the "stoken" field.

func StokenHasSuffix

func StokenHasSuffix(v string) predicate.GameAccount

StokenHasSuffix applies the HasSuffix predicate on the "stoken" field.

func StokenIn

func StokenIn(vs ...string) predicate.GameAccount

StokenIn applies the In predicate on the "stoken" field.

func StokenLT

func StokenLT(v string) predicate.GameAccount

StokenLT applies the LT predicate on the "stoken" field.

func StokenLTE

func StokenLTE(v string) predicate.GameAccount

StokenLTE applies the LTE predicate on the "stoken" field.

func StokenNEQ

func StokenNEQ(v string) predicate.GameAccount

StokenNEQ applies the NEQ predicate on the "stoken" field.

func StokenNotIn

func StokenNotIn(vs ...string) predicate.GameAccount

StokenNotIn applies the NotIn predicate on the "stoken" field.

func UpdateAt

func UpdateAt(v time.Time) predicate.GameAccount

UpdateAt applies equality check predicate on the "update_at" field. It's identical to UpdateAtEQ.

func UpdateAtEQ

func UpdateAtEQ(v time.Time) predicate.GameAccount

UpdateAtEQ applies the EQ predicate on the "update_at" field.

func UpdateAtGT

func UpdateAtGT(v time.Time) predicate.GameAccount

UpdateAtGT applies the GT predicate on the "update_at" field.

func UpdateAtGTE

func UpdateAtGTE(v time.Time) predicate.GameAccount

UpdateAtGTE applies the GTE predicate on the "update_at" field.

func UpdateAtIn

func UpdateAtIn(vs ...time.Time) predicate.GameAccount

UpdateAtIn applies the In predicate on the "update_at" field.

func UpdateAtLT

func UpdateAtLT(v time.Time) predicate.GameAccount

UpdateAtLT applies the LT predicate on the "update_at" field.

func UpdateAtLTE

func UpdateAtLTE(v time.Time) predicate.GameAccount

UpdateAtLTE applies the LTE predicate on the "update_at" field.

func UpdateAtNEQ

func UpdateAtNEQ(v time.Time) predicate.GameAccount

UpdateAtNEQ applies the NEQ predicate on the "update_at" field.

func UpdateAtNotIn

func UpdateAtNotIn(vs ...time.Time) predicate.GameAccount

UpdateAtNotIn applies the NotIn predicate on the "update_at" field.

func UserID

func UserID(v int64) predicate.GameAccount

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

func UserIDEQ

func UserIDEQ(v int64) predicate.GameAccount

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

func UserIDGT

func UserIDGT(v int64) predicate.GameAccount

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

func UserIDGTE

func UserIDGTE(v int64) predicate.GameAccount

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

func UserIDIn

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

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

func UserIDLT

func UserIDLT(v int64) predicate.GameAccount

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

func UserIDLTE

func UserIDLTE(v int64) predicate.GameAccount

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

func UserIDNEQ

func UserIDNEQ(v int64) predicate.GameAccount

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

func UserIDNotIn

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

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