fix game story
This commit is contained in:
@@ -295,6 +295,16 @@ func GameExp(v int) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldGameExp, v))
|
||||
}
|
||||
|
||||
// GameStory applies equality check predicate on the "game_story" field. It's identical to GameStoryEQ.
|
||||
func GameStory(v int) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameLimit applies equality check predicate on the "game_limit" field. It's identical to GameLimitEQ.
|
||||
func GameLimit(v bool) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldGameLimit, v))
|
||||
}
|
||||
|
||||
// Coin applies equality check predicate on the "coin" field. It's identical to CoinEQ.
|
||||
func Coin(v int) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldCoin, v))
|
||||
@@ -2495,6 +2505,76 @@ func GameExpNotNil() predicate.User {
|
||||
return predicate.User(sql.FieldNotNull(FieldGameExp))
|
||||
}
|
||||
|
||||
// GameStoryEQ applies the EQ predicate on the "game_story" field.
|
||||
func GameStoryEQ(v int) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryNEQ applies the NEQ predicate on the "game_story" field.
|
||||
func GameStoryNEQ(v int) predicate.User {
|
||||
return predicate.User(sql.FieldNEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryIn applies the In predicate on the "game_story" field.
|
||||
func GameStoryIn(vs ...int) predicate.User {
|
||||
return predicate.User(sql.FieldIn(FieldGameStory, vs...))
|
||||
}
|
||||
|
||||
// GameStoryNotIn applies the NotIn predicate on the "game_story" field.
|
||||
func GameStoryNotIn(vs ...int) predicate.User {
|
||||
return predicate.User(sql.FieldNotIn(FieldGameStory, vs...))
|
||||
}
|
||||
|
||||
// GameStoryGT applies the GT predicate on the "game_story" field.
|
||||
func GameStoryGT(v int) predicate.User {
|
||||
return predicate.User(sql.FieldGT(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryGTE applies the GTE predicate on the "game_story" field.
|
||||
func GameStoryGTE(v int) predicate.User {
|
||||
return predicate.User(sql.FieldGTE(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryLT applies the LT predicate on the "game_story" field.
|
||||
func GameStoryLT(v int) predicate.User {
|
||||
return predicate.User(sql.FieldLT(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryLTE applies the LTE predicate on the "game_story" field.
|
||||
func GameStoryLTE(v int) predicate.User {
|
||||
return predicate.User(sql.FieldLTE(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryIsNil applies the IsNil predicate on the "game_story" field.
|
||||
func GameStoryIsNil() predicate.User {
|
||||
return predicate.User(sql.FieldIsNull(FieldGameStory))
|
||||
}
|
||||
|
||||
// GameStoryNotNil applies the NotNil predicate on the "game_story" field.
|
||||
func GameStoryNotNil() predicate.User {
|
||||
return predicate.User(sql.FieldNotNull(FieldGameStory))
|
||||
}
|
||||
|
||||
// GameLimitEQ applies the EQ predicate on the "game_limit" field.
|
||||
func GameLimitEQ(v bool) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldGameLimit, v))
|
||||
}
|
||||
|
||||
// GameLimitNEQ applies the NEQ predicate on the "game_limit" field.
|
||||
func GameLimitNEQ(v bool) predicate.User {
|
||||
return predicate.User(sql.FieldNEQ(FieldGameLimit, v))
|
||||
}
|
||||
|
||||
// GameLimitIsNil applies the IsNil predicate on the "game_limit" field.
|
||||
func GameLimitIsNil() predicate.User {
|
||||
return predicate.User(sql.FieldIsNull(FieldGameLimit))
|
||||
}
|
||||
|
||||
// GameLimitNotNil applies the NotNil predicate on the "game_limit" field.
|
||||
func GameLimitNotNil() predicate.User {
|
||||
return predicate.User(sql.FieldNotNull(FieldGameLimit))
|
||||
}
|
||||
|
||||
// CoinEQ applies the EQ predicate on the "coin" field.
|
||||
func CoinEQ(v int) predicate.User {
|
||||
return predicate.User(sql.FieldEQ(FieldCoin, v))
|
||||
|
Reference in New Issue
Block a user