Documentation
¶
Index ¶
- Constants
- Variables
- func AccountID(v string) predicate.GameRole
- func AccountIDContains(v string) predicate.GameRole
- func AccountIDContainsFold(v string) predicate.GameRole
- func AccountIDEQ(v string) predicate.GameRole
- func AccountIDEqualFold(v string) predicate.GameRole
- func AccountIDGT(v string) predicate.GameRole
- func AccountIDGTE(v string) predicate.GameRole
- func AccountIDHasPrefix(v string) predicate.GameRole
- func AccountIDHasSuffix(v string) predicate.GameRole
- func AccountIDIn(vs ...string) predicate.GameRole
- func AccountIDLT(v string) predicate.GameRole
- func AccountIDLTE(v string) predicate.GameRole
- func AccountIDNEQ(v string) predicate.GameRole
- func AccountIDNotIn(vs ...string) predicate.GameRole
- func And(predicates ...predicate.GameRole) predicate.GameRole
- func CreateAt(v time.Time) predicate.GameRole
- func CreateAtEQ(v time.Time) predicate.GameRole
- func CreateAtGT(v time.Time) predicate.GameRole
- func CreateAtGTE(v time.Time) predicate.GameRole
- func CreateAtIn(vs ...time.Time) predicate.GameRole
- func CreateAtLT(v time.Time) predicate.GameRole
- func CreateAtLTE(v time.Time) predicate.GameRole
- func CreateAtNEQ(v time.Time) predicate.GameRole
- func CreateAtNotIn(vs ...time.Time) predicate.GameRole
- func ID(id int64) predicate.GameRole
- func IDEQ(id int64) predicate.GameRole
- func IDGT(id int64) predicate.GameRole
- func IDGTE(id int64) predicate.GameRole
- func IDIn(ids ...int64) predicate.GameRole
- func IDLT(id int64) predicate.GameRole
- func IDLTE(id int64) predicate.GameRole
- func IDNEQ(id int64) predicate.GameRole
- func IDNotIn(ids ...int64) predicate.GameRole
- func Level(v int) predicate.GameRole
- func LevelEQ(v int) predicate.GameRole
- func LevelGT(v int) predicate.GameRole
- func LevelGTE(v int) predicate.GameRole
- func LevelIn(vs ...int) predicate.GameRole
- func LevelLT(v int) predicate.GameRole
- func LevelLTE(v int) predicate.GameRole
- func LevelNEQ(v int) predicate.GameRole
- func LevelNotIn(vs ...int) predicate.GameRole
- func NickName(v string) predicate.GameRole
- func NickNameContains(v string) predicate.GameRole
- func NickNameContainsFold(v string) predicate.GameRole
- func NickNameEQ(v string) predicate.GameRole
- func NickNameEqualFold(v string) predicate.GameRole
- func NickNameGT(v string) predicate.GameRole
- func NickNameGTE(v string) predicate.GameRole
- func NickNameHasPrefix(v string) predicate.GameRole
- func NickNameHasSuffix(v string) predicate.GameRole
- func NickNameIn(vs ...string) predicate.GameRole
- func NickNameLT(v string) predicate.GameRole
- func NickNameLTE(v string) predicate.GameRole
- func NickNameNEQ(v string) predicate.GameRole
- func NickNameNotIn(vs ...string) predicate.GameRole
- func Not(p predicate.GameRole) predicate.GameRole
- func Or(predicates ...predicate.GameRole) predicate.GameRole
- func Region(v string) predicate.GameRole
- func RegionContains(v string) predicate.GameRole
- func RegionContainsFold(v string) predicate.GameRole
- func RegionEQ(v string) predicate.GameRole
- func RegionEqualFold(v string) predicate.GameRole
- func RegionGT(v string) predicate.GameRole
- func RegionGTE(v string) predicate.GameRole
- func RegionHasPrefix(v string) predicate.GameRole
- func RegionHasSuffix(v string) predicate.GameRole
- func RegionIn(vs ...string) predicate.GameRole
- func RegionLT(v string) predicate.GameRole
- func RegionLTE(v string) predicate.GameRole
- func RegionNEQ(v string) predicate.GameRole
- func RegionName(v string) predicate.GameRole
- func RegionNameContains(v string) predicate.GameRole
- func RegionNameContainsFold(v string) predicate.GameRole
- func RegionNameEQ(v string) predicate.GameRole
- func RegionNameEqualFold(v string) predicate.GameRole
- func RegionNameGT(v string) predicate.GameRole
- func RegionNameGTE(v string) predicate.GameRole
- func RegionNameHasPrefix(v string) predicate.GameRole
- func RegionNameHasSuffix(v string) predicate.GameRole
- func RegionNameIn(vs ...string) predicate.GameRole
- func RegionNameLT(v string) predicate.GameRole
- func RegionNameLTE(v string) predicate.GameRole
- func RegionNameNEQ(v string) predicate.GameRole
- func RegionNameNotIn(vs ...string) predicate.GameRole
- func RegionNotIn(vs ...string) predicate.GameRole
- func RoleID(v string) predicate.GameRole
- func RoleIDContains(v string) predicate.GameRole
- func RoleIDContainsFold(v string) predicate.GameRole
- func RoleIDEQ(v string) predicate.GameRole
- func RoleIDEqualFold(v string) predicate.GameRole
- func RoleIDGT(v string) predicate.GameRole
- func RoleIDGTE(v string) predicate.GameRole
- func RoleIDHasPrefix(v string) predicate.GameRole
- func RoleIDHasSuffix(v string) predicate.GameRole
- func RoleIDIn(vs ...string) predicate.GameRole
- func RoleIDLT(v string) predicate.GameRole
- func RoleIDLTE(v string) predicate.GameRole
- func RoleIDNEQ(v string) predicate.GameRole
- func RoleIDNotIn(vs ...string) predicate.GameRole
- func UpdateAt(v time.Time) predicate.GameRole
- func UpdateAtEQ(v time.Time) predicate.GameRole
- func UpdateAtGT(v time.Time) predicate.GameRole
- func UpdateAtGTE(v time.Time) predicate.GameRole
- func UpdateAtIn(vs ...time.Time) predicate.GameRole
- func UpdateAtLT(v time.Time) predicate.GameRole
- func UpdateAtLTE(v time.Time) predicate.GameRole
- func UpdateAtNEQ(v time.Time) predicate.GameRole
- func UpdateAtNotIn(vs ...time.Time) predicate.GameRole
- func UserID(v int64) predicate.GameRole
- func UserIDEQ(v int64) predicate.GameRole
- func UserIDGT(v int64) predicate.GameRole
- func UserIDGTE(v int64) predicate.GameRole
- func UserIDIn(vs ...int64) predicate.GameRole
- func UserIDLT(v int64) predicate.GameRole
- func UserIDLTE(v int64) predicate.GameRole
- func UserIDNEQ(v int64) predicate.GameRole
- func UserIDNotIn(vs ...int64) predicate.GameRole
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the gamerole type in the database. Label = "game_role" // 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" // FieldLevel holds the string denoting the level field in the database. FieldLevel = "level" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldRegionName holds the string denoting the region_name field in the database. FieldRegionName = "region_name" // FieldNickName holds the string denoting the nick_name field in the database. FieldNickName = "nick_name" // 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 gamerole in the database. Table = "game_roles" )
Variables ¶
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 // DefaultLevel holds the default value on creation for the "level" field. DefaultLevel int // DefaultRegion holds the default value on creation for the "region" field. DefaultRegion string // RegionValidator is a validator for the "region" field. It is called by the builders before save. RegionValidator func(string) error // DefaultRegionName holds the default value on creation for the "region_name" field. DefaultRegionName string // RegionNameValidator is a validator for the "region_name" field. It is called by the builders before save. RegionNameValidator func(string) error // DefaultNickName holds the default value on creation for the "nick_name" field. DefaultNickName string // NickNameValidator is a validator for the "nick_name" field. It is called by the builders before save. NickNameValidator 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 )
var Columns = []string{ FieldID, FieldUserID, FieldAccountID, FieldRoleID, FieldLevel, FieldRegion, FieldRegionName, FieldNickName, FieldCreateAt, FieldUpdateAt, }
Columns holds all SQL columns for gamerole fields.
Functions ¶
func AccountID ¶
AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
func AccountIDContains ¶
AccountIDContains applies the Contains predicate on the "account_id" field.
func AccountIDContainsFold ¶
AccountIDContainsFold applies the ContainsFold predicate on the "account_id" field.
func AccountIDEQ ¶
AccountIDEQ applies the EQ predicate on the "account_id" field.
func AccountIDEqualFold ¶
AccountIDEqualFold applies the EqualFold predicate on the "account_id" field.
func AccountIDGT ¶
AccountIDGT applies the GT predicate on the "account_id" field.
func AccountIDGTE ¶
AccountIDGTE applies the GTE predicate on the "account_id" field.
func AccountIDHasPrefix ¶
AccountIDHasPrefix applies the HasPrefix predicate on the "account_id" field.
func AccountIDHasSuffix ¶
AccountIDHasSuffix applies the HasSuffix predicate on the "account_id" field.
func AccountIDIn ¶
AccountIDIn applies the In predicate on the "account_id" field.
func AccountIDLT ¶
AccountIDLT applies the LT predicate on the "account_id" field.
func AccountIDLTE ¶
AccountIDLTE applies the LTE predicate on the "account_id" field.
func AccountIDNEQ ¶
AccountIDNEQ applies the NEQ predicate on the "account_id" field.
func AccountIDNotIn ¶
AccountIDNotIn applies the NotIn predicate on the "account_id" field.
func CreateAt ¶
CreateAt applies equality check predicate on the "create_at" field. It's identical to CreateAtEQ.
func CreateAtEQ ¶
CreateAtEQ applies the EQ predicate on the "create_at" field.
func CreateAtGT ¶
CreateAtGT applies the GT predicate on the "create_at" field.
func CreateAtGTE ¶
CreateAtGTE applies the GTE predicate on the "create_at" field.
func CreateAtIn ¶
CreateAtIn applies the In predicate on the "create_at" field.
func CreateAtLT ¶
CreateAtLT applies the LT predicate on the "create_at" field.
func CreateAtLTE ¶
CreateAtLTE applies the LTE predicate on the "create_at" field.
func CreateAtNEQ ¶
CreateAtNEQ applies the NEQ predicate on the "create_at" field.
func CreateAtNotIn ¶
CreateAtNotIn applies the NotIn predicate on the "create_at" field.
func Level ¶
Level applies equality check predicate on the "level" field. It's identical to LevelEQ.
func LevelNotIn ¶
LevelNotIn applies the NotIn predicate on the "level" field.
func NickName ¶
NickName applies equality check predicate on the "nick_name" field. It's identical to NickNameEQ.
func NickNameContains ¶
NickNameContains applies the Contains predicate on the "nick_name" field.
func NickNameContainsFold ¶
NickNameContainsFold applies the ContainsFold predicate on the "nick_name" field.
func NickNameEQ ¶
NickNameEQ applies the EQ predicate on the "nick_name" field.
func NickNameEqualFold ¶
NickNameEqualFold applies the EqualFold predicate on the "nick_name" field.
func NickNameGT ¶
NickNameGT applies the GT predicate on the "nick_name" field.
func NickNameGTE ¶
NickNameGTE applies the GTE predicate on the "nick_name" field.
func NickNameHasPrefix ¶
NickNameHasPrefix applies the HasPrefix predicate on the "nick_name" field.
func NickNameHasSuffix ¶
NickNameHasSuffix applies the HasSuffix predicate on the "nick_name" field.
func NickNameIn ¶
NickNameIn applies the In predicate on the "nick_name" field.
func NickNameLT ¶
NickNameLT applies the LT predicate on the "nick_name" field.
func NickNameLTE ¶
NickNameLTE applies the LTE predicate on the "nick_name" field.
func NickNameNEQ ¶
NickNameNEQ applies the NEQ predicate on the "nick_name" field.
func NickNameNotIn ¶
NickNameNotIn applies the NotIn predicate on the "nick_name" field.
func Region ¶
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEqualFold ¶
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionHasPrefix ¶
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionName ¶
RegionName applies equality check predicate on the "region_name" field. It's identical to RegionNameEQ.
func RegionNameContains ¶
RegionNameContains applies the Contains predicate on the "region_name" field.
func RegionNameContainsFold ¶
RegionNameContainsFold applies the ContainsFold predicate on the "region_name" field.
func RegionNameEQ ¶
RegionNameEQ applies the EQ predicate on the "region_name" field.
func RegionNameEqualFold ¶
RegionNameEqualFold applies the EqualFold predicate on the "region_name" field.
func RegionNameGT ¶
RegionNameGT applies the GT predicate on the "region_name" field.
func RegionNameGTE ¶
RegionNameGTE applies the GTE predicate on the "region_name" field.
func RegionNameHasPrefix ¶
RegionNameHasPrefix applies the HasPrefix predicate on the "region_name" field.
func RegionNameHasSuffix ¶
RegionNameHasSuffix applies the HasSuffix predicate on the "region_name" field.
func RegionNameIn ¶
RegionNameIn applies the In predicate on the "region_name" field.
func RegionNameLT ¶
RegionNameLT applies the LT predicate on the "region_name" field.
func RegionNameLTE ¶
RegionNameLTE applies the LTE predicate on the "region_name" field.
func RegionNameNEQ ¶
RegionNameNEQ applies the NEQ predicate on the "region_name" field.
func RegionNameNotIn ¶
RegionNameNotIn applies the NotIn predicate on the "region_name" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "region" field.
func RoleID ¶
RoleID applies equality check predicate on the "role_id" field. It's identical to RoleIDEQ.
func RoleIDContains ¶
RoleIDContains applies the Contains predicate on the "role_id" field.
func RoleIDContainsFold ¶
RoleIDContainsFold applies the ContainsFold predicate on the "role_id" field.
func RoleIDEqualFold ¶
RoleIDEqualFold applies the EqualFold predicate on the "role_id" field.
func RoleIDHasPrefix ¶
RoleIDHasPrefix applies the HasPrefix predicate on the "role_id" field.
func RoleIDHasSuffix ¶
RoleIDHasSuffix applies the HasSuffix predicate on the "role_id" field.
func RoleIDNotIn ¶
RoleIDNotIn applies the NotIn predicate on the "role_id" field.
func UpdateAt ¶
UpdateAt applies equality check predicate on the "update_at" field. It's identical to UpdateAtEQ.
func UpdateAtEQ ¶
UpdateAtEQ applies the EQ predicate on the "update_at" field.
func UpdateAtGT ¶
UpdateAtGT applies the GT predicate on the "update_at" field.
func UpdateAtGTE ¶
UpdateAtGTE applies the GTE predicate on the "update_at" field.
func UpdateAtIn ¶
UpdateAtIn applies the In predicate on the "update_at" field.
func UpdateAtLT ¶
UpdateAtLT applies the LT predicate on the "update_at" field.
func UpdateAtLTE ¶
UpdateAtLTE applies the LTE predicate on the "update_at" field.
func UpdateAtNEQ ¶
UpdateAtNEQ applies the NEQ predicate on the "update_at" field.
func UpdateAtNotIn ¶
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 UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.