fix: some api bug
This commit is contained in:
@@ -420,6 +420,16 @@ func SearchTextHasSuffix(v string) predicate.WalletTransactions {
|
||||
return predicate.WalletTransactions(sql.FieldHasSuffix(FieldSearchText, v))
|
||||
}
|
||||
|
||||
// SearchTextIsNil applies the IsNil predicate on the "search_text" field.
|
||||
func SearchTextIsNil() predicate.WalletTransactions {
|
||||
return predicate.WalletTransactions(sql.FieldIsNull(FieldSearchText))
|
||||
}
|
||||
|
||||
// SearchTextNotNil applies the NotNil predicate on the "search_text" field.
|
||||
func SearchTextNotNil() predicate.WalletTransactions {
|
||||
return predicate.WalletTransactions(sql.FieldNotNull(FieldSearchText))
|
||||
}
|
||||
|
||||
// SearchTextEqualFold applies the EqualFold predicate on the "search_text" field.
|
||||
func SearchTextEqualFold(v string) predicate.WalletTransactions {
|
||||
return predicate.WalletTransactions(sql.FieldEqualFold(FieldSearchText, v))
|
||||
|
||||
Reference in New Issue
Block a user