fix ue game lv
This commit is contained in:
@@ -108,6 +108,8 @@ const (
|
||||
FieldGameAccount = "game_account"
|
||||
// FieldGameLv holds the string denoting the game_lv field in the database.
|
||||
FieldGameLv = "game_lv"
|
||||
// FieldGameExp holds the string denoting the game_exp field in the database.
|
||||
FieldGameExp = "game_exp"
|
||||
// FieldCoin holds the string denoting the coin field in the database.
|
||||
FieldCoin = "coin"
|
||||
// FieldCoinOpen holds the string denoting the coin_open field in the database.
|
||||
@@ -204,6 +206,7 @@ var Columns = []string{
|
||||
FieldGameEnd,
|
||||
FieldGameAccount,
|
||||
FieldGameLv,
|
||||
FieldGameExp,
|
||||
FieldCoin,
|
||||
FieldCoinOpen,
|
||||
FieldCoinAt,
|
||||
@@ -528,6 +531,11 @@ func ByGameLv(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldGameLv, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByGameExp orders the results by the game_exp field.
|
||||
func ByGameExp(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldGameExp, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCoin orders the results by the coin field.
|
||||
func ByCoin(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCoin, opts...).ToFunc()
|
||||
|
Reference in New Issue
Block a user