fix
This commit is contained in:
@ -161,7 +161,7 @@ func GameID(v string) predicate.Ue {
|
||||
}
|
||||
|
||||
// GameStory applies equality check predicate on the "game_story" field. It's identical to GameStoryEQ.
|
||||
func GameStory(v int) predicate.Ue {
|
||||
func GameStory(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
@ -1296,45 +1296,60 @@ func GameIDContainsFold(v string) predicate.Ue {
|
||||
}
|
||||
|
||||
// GameStoryEQ applies the EQ predicate on the "game_story" field.
|
||||
func GameStoryEQ(v int) predicate.Ue {
|
||||
func GameStoryEQ(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryNEQ applies the NEQ predicate on the "game_story" field.
|
||||
func GameStoryNEQ(v int) predicate.Ue {
|
||||
func GameStoryNEQ(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldNEQ(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryIn applies the In predicate on the "game_story" field.
|
||||
func GameStoryIn(vs ...int) predicate.Ue {
|
||||
func GameStoryIn(vs ...string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldIn(FieldGameStory, vs...))
|
||||
}
|
||||
|
||||
// GameStoryNotIn applies the NotIn predicate on the "game_story" field.
|
||||
func GameStoryNotIn(vs ...int) predicate.Ue {
|
||||
func GameStoryNotIn(vs ...string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldNotIn(FieldGameStory, vs...))
|
||||
}
|
||||
|
||||
// GameStoryGT applies the GT predicate on the "game_story" field.
|
||||
func GameStoryGT(v int) predicate.Ue {
|
||||
func GameStoryGT(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldGT(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryGTE applies the GTE predicate on the "game_story" field.
|
||||
func GameStoryGTE(v int) predicate.Ue {
|
||||
func GameStoryGTE(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldGTE(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryLT applies the LT predicate on the "game_story" field.
|
||||
func GameStoryLT(v int) predicate.Ue {
|
||||
func GameStoryLT(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldLT(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryLTE applies the LTE predicate on the "game_story" field.
|
||||
func GameStoryLTE(v int) predicate.Ue {
|
||||
func GameStoryLTE(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldLTE(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryContains applies the Contains predicate on the "game_story" field.
|
||||
func GameStoryContains(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldContains(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryHasPrefix applies the HasPrefix predicate on the "game_story" field.
|
||||
func GameStoryHasPrefix(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldHasPrefix(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryHasSuffix applies the HasSuffix predicate on the "game_story" field.
|
||||
func GameStoryHasSuffix(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldHasSuffix(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryIsNil applies the IsNil predicate on the "game_story" field.
|
||||
func GameStoryIsNil() predicate.Ue {
|
||||
return predicate.Ue(sql.FieldIsNull(FieldGameStory))
|
||||
@ -1345,6 +1360,16 @@ func GameStoryNotNil() predicate.Ue {
|
||||
return predicate.Ue(sql.FieldNotNull(FieldGameStory))
|
||||
}
|
||||
|
||||
// GameStoryEqualFold applies the EqualFold predicate on the "game_story" field.
|
||||
func GameStoryEqualFold(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldEqualFold(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// GameStoryContainsFold applies the ContainsFold predicate on the "game_story" field.
|
||||
func GameStoryContainsFold(v string) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldContainsFold(FieldGameStory, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.Ue {
|
||||
return predicate.Ue(sql.FieldEQ(FieldCreatedAt, v))
|
||||
|
Reference in New Issue
Block a user