gameroleattribute

package
v0.0.0-...-1c65c5f Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the gameroleattribute type in the database.
	Label = "game_role_attribute"
	// 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"
	// FieldRoleID holds the string denoting the role_id field in the database.
	FieldRoleID = "role_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// 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 gameroleattribute in the database.
	Table = "game_role_attributes"
)

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
	// RoleIDValidator is a validator for the "role_id" field. It is called by the builders before save.
	RoleIDValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultType holds the default value on creation for the "type" field.
	DefaultType int
	// DefaultValue holds the default value on creation for the "value" field.
	DefaultValue string
	// 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 gameroleattribute fields.

Functions

func AccountID

func AccountID(v string) predicate.GameRoleAttribute

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

func AccountIDContains

func AccountIDContains(v string) predicate.GameRoleAttribute

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

func AccountIDContainsFold

func AccountIDContainsFold(v string) predicate.GameRoleAttribute

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

func AccountIDEQ

func AccountIDEQ(v string) predicate.GameRoleAttribute

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

func AccountIDEqualFold

func AccountIDEqualFold(v string) predicate.GameRoleAttribute

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

func AccountIDGT

func AccountIDGT(v string) predicate.GameRoleAttribute

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

func AccountIDGTE

func AccountIDGTE(v string) predicate.GameRoleAttribute

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

func AccountIDHasPrefix

func AccountIDHasPrefix(v string) predicate.GameRoleAttribute

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

func AccountIDHasSuffix

func AccountIDHasSuffix(v string) predicate.GameRoleAttribute

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

func AccountIDIn

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

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

func AccountIDLT

func AccountIDLT(v string) predicate.GameRoleAttribute

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

func AccountIDLTE

func AccountIDLTE(v string) predicate.GameRoleAttribute

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

func AccountIDNEQ

func AccountIDNEQ(v string) predicate.GameRoleAttribute

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

func AccountIDNotIn

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

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

func And

And groups predicates with the AND operator between them.

func CreateAt

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

func CreateAtEQ

func CreateAtEQ(v time.Time) predicate.GameRoleAttribute

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

func CreateAtGT

func CreateAtGT(v time.Time) predicate.GameRoleAttribute

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

func CreateAtGTE

func CreateAtGTE(v time.Time) predicate.GameRoleAttribute

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

func CreateAtIn

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

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

func CreateAtLT

func CreateAtLT(v time.Time) predicate.GameRoleAttribute

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

func CreateAtLTE

func CreateAtLTE(v time.Time) predicate.GameRoleAttribute

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

func CreateAtNEQ

func CreateAtNEQ(v time.Time) predicate.GameRoleAttribute

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

func CreateAtNotIn

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

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

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 ...int64) predicate.GameRoleAttribute

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 ...int64) predicate.GameRoleAttribute

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.GameRoleAttribute

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.GameRoleAttribute

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.GameRoleAttribute

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.GameRoleAttribute

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.GameRoleAttribute

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.GameRoleAttribute

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.GameRoleAttribute

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RoleID

RoleID applies equality check predicate on the "role_id" field. It's identical to RoleIDEQ.

func RoleIDContains

func RoleIDContains(v string) predicate.GameRoleAttribute

RoleIDContains applies the Contains predicate on the "role_id" field.

func RoleIDContainsFold

func RoleIDContainsFold(v string) predicate.GameRoleAttribute

RoleIDContainsFold applies the ContainsFold predicate on the "role_id" field.

func RoleIDEQ

RoleIDEQ applies the EQ predicate on the "role_id" field.

func RoleIDEqualFold

func RoleIDEqualFold(v string) predicate.GameRoleAttribute

RoleIDEqualFold applies the EqualFold predicate on the "role_id" field.

func RoleIDGT

RoleIDGT applies the GT predicate on the "role_id" field.

func RoleIDGTE

func RoleIDGTE(v string) predicate.GameRoleAttribute

RoleIDGTE applies the GTE predicate on the "role_id" field.

func RoleIDHasPrefix

func RoleIDHasPrefix(v string) predicate.GameRoleAttribute

RoleIDHasPrefix applies the HasPrefix predicate on the "role_id" field.

func RoleIDHasSuffix

func RoleIDHasSuffix(v string) predicate.GameRoleAttribute

RoleIDHasSuffix applies the HasSuffix predicate on the "role_id" field.

func RoleIDIn

func RoleIDIn(vs ...string) predicate.GameRoleAttribute

RoleIDIn applies the In predicate on the "role_id" field.

func RoleIDLT

RoleIDLT applies the LT predicate on the "role_id" field.

func RoleIDLTE

func RoleIDLTE(v string) predicate.GameRoleAttribute

RoleIDLTE applies the LTE predicate on the "role_id" field.

func RoleIDNEQ

func RoleIDNEQ(v string) predicate.GameRoleAttribute

RoleIDNEQ applies the NEQ predicate on the "role_id" field.

func RoleIDNotIn

func RoleIDNotIn(vs ...string) predicate.GameRoleAttribute

RoleIDNotIn applies the NotIn predicate on the "role_id" field.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeGT

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v int) predicate.GameRoleAttribute

TypeGTE applies the GTE predicate on the "type" field.

func TypeIn

func TypeIn(vs ...int) predicate.GameRoleAttribute

TypeIn applies the In predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v int) predicate.GameRoleAttribute

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v int) predicate.GameRoleAttribute

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...int) predicate.GameRoleAttribute

TypeNotIn applies the NotIn predicate on the "type" field.

func UpdateAt

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

func UpdateAtEQ

func UpdateAtEQ(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtGT

func UpdateAtGT(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtGTE

func UpdateAtGTE(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtIn

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

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

func UpdateAtLT

func UpdateAtLT(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtLTE

func UpdateAtLTE(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtNEQ

func UpdateAtNEQ(v time.Time) predicate.GameRoleAttribute

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

func UpdateAtNotIn

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

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

func UserID

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

func UserIDEQ

func UserIDEQ(v int64) predicate.GameRoleAttribute

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

func UserIDGT

func UserIDGT(v int64) predicate.GameRoleAttribute

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

func UserIDGTE

func UserIDGTE(v int64) predicate.GameRoleAttribute

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

func UserIDIn

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

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

func UserIDLT

func UserIDLT(v int64) predicate.GameRoleAttribute

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

func UserIDLTE

func UserIDLTE(v int64) predicate.GameRoleAttribute

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

func UserIDNEQ

func UserIDNEQ(v int64) predicate.GameRoleAttribute

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

func UserIDNotIn

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

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

func Value

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.GameRoleAttribute

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.GameRoleAttribute

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

ValueEQ applies the EQ predicate on the "value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.GameRoleAttribute

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.GameRoleAttribute

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.GameRoleAttribute

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

func ValueIn(vs ...string) predicate.GameRoleAttribute

ValueIn applies the In predicate on the "value" field.

func ValueLT

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.GameRoleAttribute

ValueNotIn applies the NotIn predicate on the "value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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