add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
144
internal/ent/epici18nmappings/epici18nmappings.go
Normal file
144
internal/ent/epici18nmappings/epici18nmappings.go
Normal file
@@ -0,0 +1,144 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package epici18nmappings
|
||||
|
||||
import (
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
const (
|
||||
// Label holds the string label denoting the epici18nmappings type in the database.
|
||||
Label = "epic_i18n_mappings"
|
||||
// FieldID holds the string denoting the id field in the database.
|
||||
FieldID = "id"
|
||||
// FieldKeyName holds the string denoting the key_name field in the database.
|
||||
FieldKeyName = "key_name"
|
||||
// FieldLanguage holds the string denoting the language field in the database.
|
||||
FieldLanguage = "language"
|
||||
// FieldValue holds the string denoting the value field in the database.
|
||||
FieldValue = "value"
|
||||
// FieldCategory holds the string denoting the category field in the database.
|
||||
FieldCategory = "category"
|
||||
// FieldStatus holds the string denoting the status field in the database.
|
||||
FieldStatus = "status"
|
||||
// FieldCreator holds the string denoting the creator field in the database.
|
||||
FieldCreator = "creator"
|
||||
// FieldCreateTime holds the string denoting the create_time field in the database.
|
||||
FieldCreateTime = "create_time"
|
||||
// FieldUpdater holds the string denoting the updater field in the database.
|
||||
FieldUpdater = "updater"
|
||||
// FieldUpdateTime holds the string denoting the update_time field in the database.
|
||||
FieldUpdateTime = "update_time"
|
||||
// FieldDeleted holds the string denoting the deleted field in the database.
|
||||
FieldDeleted = "deleted"
|
||||
// FieldCode holds the string denoting the code field in the database.
|
||||
FieldCode = "code"
|
||||
// Table holds the table name of the epici18nmappings in the database.
|
||||
Table = "epic_i18n_mappings"
|
||||
)
|
||||
|
||||
// Columns holds all SQL columns for epici18nmappings fields.
|
||||
var Columns = []string{
|
||||
FieldID,
|
||||
FieldKeyName,
|
||||
FieldLanguage,
|
||||
FieldValue,
|
||||
FieldCategory,
|
||||
FieldStatus,
|
||||
FieldCreator,
|
||||
FieldCreateTime,
|
||||
FieldUpdater,
|
||||
FieldUpdateTime,
|
||||
FieldDeleted,
|
||||
FieldCode,
|
||||
}
|
||||
|
||||
// ValidColumn reports if the column name is valid (part of the table columns).
|
||||
func ValidColumn(column string) bool {
|
||||
for i := range Columns {
|
||||
if column == Columns[i] {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var (
|
||||
// KeyNameValidator is a validator for the "key_name" field. It is called by the builders before save.
|
||||
KeyNameValidator func(string) error
|
||||
// LanguageValidator is a validator for the "language" field. It is called by the builders before save.
|
||||
LanguageValidator func(string) error
|
||||
// ValueValidator is a validator for the "value" field. It is called by the builders before save.
|
||||
ValueValidator func(string) error
|
||||
// CategoryValidator is a validator for the "category" field. It is called by the builders before save.
|
||||
CategoryValidator func(string) error
|
||||
// CreatorValidator is a validator for the "creator" field. It is called by the builders before save.
|
||||
CreatorValidator func(string) error
|
||||
// UpdaterValidator is a validator for the "updater" field. It is called by the builders before save.
|
||||
UpdaterValidator func(string) error
|
||||
// CodeValidator is a validator for the "code" field. It is called by the builders before save.
|
||||
CodeValidator func(string) error
|
||||
)
|
||||
|
||||
// OrderOption defines the ordering options for the EpicI18NMappings queries.
|
||||
type OrderOption func(*sql.Selector)
|
||||
|
||||
// ByID orders the results by the id field.
|
||||
func ByID(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldID, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByKeyName orders the results by the key_name field.
|
||||
func ByKeyName(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldKeyName, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByLanguage orders the results by the language field.
|
||||
func ByLanguage(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldLanguage, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByValue orders the results by the value field.
|
||||
func ByValue(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldValue, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCategory orders the results by the category field.
|
||||
func ByCategory(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCategory, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByStatus orders the results by the status field.
|
||||
func ByStatus(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldStatus, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreator orders the results by the creator field.
|
||||
func ByCreator(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreator, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreateTime orders the results by the create_time field.
|
||||
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreateTime, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUpdater orders the results by the updater field.
|
||||
func ByUpdater(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUpdater, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUpdateTime orders the results by the update_time field.
|
||||
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUpdateTime, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByDeleted orders the results by the deleted field.
|
||||
func ByDeleted(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldDeleted, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCode orders the results by the code field.
|
||||
func ByCode(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCode, opts...).ToFunc()
|
||||
}
|
||||
760
internal/ent/epici18nmappings/where.go
Normal file
760
internal/ent/epici18nmappings/where.go
Normal file
@@ -0,0 +1,760 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package epici18nmappings
|
||||
|
||||
import (
|
||||
"epic-ent/internal/ent/predicate"
|
||||
"time"
|
||||
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
func ID(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDEQ applies the EQ predicate on the ID field.
|
||||
func IDEQ(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDNEQ applies the NEQ predicate on the ID field.
|
||||
func IDNEQ(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDIn applies the In predicate on the ID field.
|
||||
func IDIn(ids ...int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDNotIn applies the NotIn predicate on the ID field.
|
||||
func IDNotIn(ids ...int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDGT applies the GT predicate on the ID field.
|
||||
func IDGT(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDGTE applies the GTE predicate on the ID field.
|
||||
func IDGTE(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLT applies the LT predicate on the ID field.
|
||||
func IDLT(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLTE applies the LTE predicate on the ID field.
|
||||
func IDLTE(id int64) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// KeyName applies equality check predicate on the "key_name" field. It's identical to KeyNameEQ.
|
||||
func KeyName(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
|
||||
func Language(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
|
||||
func Value(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldValue, v))
|
||||
}
|
||||
|
||||
// Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
|
||||
func Category(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
||||
func Status(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
|
||||
func Creator(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
|
||||
func CreateTime(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// Updater applies equality check predicate on the "updater" field. It's identical to UpdaterEQ.
|
||||
func Updater(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
|
||||
func UpdateTime(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
||||
func Deleted(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
|
||||
func Code(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCode, v))
|
||||
}
|
||||
|
||||
// KeyNameEQ applies the EQ predicate on the "key_name" field.
|
||||
func KeyNameEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameNEQ applies the NEQ predicate on the "key_name" field.
|
||||
func KeyNameNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameIn applies the In predicate on the "key_name" field.
|
||||
func KeyNameIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldKeyName, vs...))
|
||||
}
|
||||
|
||||
// KeyNameNotIn applies the NotIn predicate on the "key_name" field.
|
||||
func KeyNameNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldKeyName, vs...))
|
||||
}
|
||||
|
||||
// KeyNameGT applies the GT predicate on the "key_name" field.
|
||||
func KeyNameGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameGTE applies the GTE predicate on the "key_name" field.
|
||||
func KeyNameGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameLT applies the LT predicate on the "key_name" field.
|
||||
func KeyNameLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameLTE applies the LTE predicate on the "key_name" field.
|
||||
func KeyNameLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameContains applies the Contains predicate on the "key_name" field.
|
||||
func KeyNameContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameHasPrefix applies the HasPrefix predicate on the "key_name" field.
|
||||
func KeyNameHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameHasSuffix applies the HasSuffix predicate on the "key_name" field.
|
||||
func KeyNameHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameEqualFold applies the EqualFold predicate on the "key_name" field.
|
||||
func KeyNameEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// KeyNameContainsFold applies the ContainsFold predicate on the "key_name" field.
|
||||
func KeyNameContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldKeyName, v))
|
||||
}
|
||||
|
||||
// LanguageEQ applies the EQ predicate on the "language" field.
|
||||
func LanguageEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageNEQ applies the NEQ predicate on the "language" field.
|
||||
func LanguageNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageIn applies the In predicate on the "language" field.
|
||||
func LanguageIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldLanguage, vs...))
|
||||
}
|
||||
|
||||
// LanguageNotIn applies the NotIn predicate on the "language" field.
|
||||
func LanguageNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldLanguage, vs...))
|
||||
}
|
||||
|
||||
// LanguageGT applies the GT predicate on the "language" field.
|
||||
func LanguageGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageGTE applies the GTE predicate on the "language" field.
|
||||
func LanguageGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageLT applies the LT predicate on the "language" field.
|
||||
func LanguageLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageLTE applies the LTE predicate on the "language" field.
|
||||
func LanguageLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageContains applies the Contains predicate on the "language" field.
|
||||
func LanguageContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
|
||||
func LanguageHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
|
||||
func LanguageHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageEqualFold applies the EqualFold predicate on the "language" field.
|
||||
func LanguageEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// LanguageContainsFold applies the ContainsFold predicate on the "language" field.
|
||||
func LanguageContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldLanguage, v))
|
||||
}
|
||||
|
||||
// ValueEQ applies the EQ predicate on the "value" field.
|
||||
func ValueEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueNEQ applies the NEQ predicate on the "value" field.
|
||||
func ValueNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueIn applies the In predicate on the "value" field.
|
||||
func ValueIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldValue, vs...))
|
||||
}
|
||||
|
||||
// ValueNotIn applies the NotIn predicate on the "value" field.
|
||||
func ValueNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldValue, vs...))
|
||||
}
|
||||
|
||||
// ValueGT applies the GT predicate on the "value" field.
|
||||
func ValueGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueGTE applies the GTE predicate on the "value" field.
|
||||
func ValueGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueLT applies the LT predicate on the "value" field.
|
||||
func ValueLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueLTE applies the LTE predicate on the "value" field.
|
||||
func ValueLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueContains applies the Contains predicate on the "value" field.
|
||||
func ValueContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueHasPrefix applies the HasPrefix predicate on the "value" field.
|
||||
func ValueHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueHasSuffix applies the HasSuffix predicate on the "value" field.
|
||||
func ValueHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueEqualFold applies the EqualFold predicate on the "value" field.
|
||||
func ValueEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldValue, v))
|
||||
}
|
||||
|
||||
// ValueContainsFold applies the ContainsFold predicate on the "value" field.
|
||||
func ValueContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldValue, v))
|
||||
}
|
||||
|
||||
// CategoryEQ applies the EQ predicate on the "category" field.
|
||||
func CategoryEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryNEQ applies the NEQ predicate on the "category" field.
|
||||
func CategoryNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryIn applies the In predicate on the "category" field.
|
||||
func CategoryIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldCategory, vs...))
|
||||
}
|
||||
|
||||
// CategoryNotIn applies the NotIn predicate on the "category" field.
|
||||
func CategoryNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldCategory, vs...))
|
||||
}
|
||||
|
||||
// CategoryGT applies the GT predicate on the "category" field.
|
||||
func CategoryGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryGTE applies the GTE predicate on the "category" field.
|
||||
func CategoryGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryLT applies the LT predicate on the "category" field.
|
||||
func CategoryLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryLTE applies the LTE predicate on the "category" field.
|
||||
func CategoryLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryContains applies the Contains predicate on the "category" field.
|
||||
func CategoryContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
|
||||
func CategoryHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
|
||||
func CategoryHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryEqualFold applies the EqualFold predicate on the "category" field.
|
||||
func CategoryEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryContainsFold applies the ContainsFold predicate on the "category" field.
|
||||
func CategoryContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldCategory, v))
|
||||
}
|
||||
|
||||
// StatusEQ applies the EQ predicate on the "status" field.
|
||||
func StatusEQ(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusNEQ applies the NEQ predicate on the "status" field.
|
||||
func StatusNEQ(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusIn applies the In predicate on the "status" field.
|
||||
func StatusIn(vs ...int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldStatus, vs...))
|
||||
}
|
||||
|
||||
// StatusNotIn applies the NotIn predicate on the "status" field.
|
||||
func StatusNotIn(vs ...int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldStatus, vs...))
|
||||
}
|
||||
|
||||
// StatusGT applies the GT predicate on the "status" field.
|
||||
func StatusGT(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusGTE applies the GTE predicate on the "status" field.
|
||||
func StatusGTE(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusLT applies the LT predicate on the "status" field.
|
||||
func StatusLT(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusLTE applies the LTE predicate on the "status" field.
|
||||
func StatusLTE(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldStatus, v))
|
||||
}
|
||||
|
||||
// CreatorEQ applies the EQ predicate on the "creator" field.
|
||||
func CreatorEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorNEQ applies the NEQ predicate on the "creator" field.
|
||||
func CreatorNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorIn applies the In predicate on the "creator" field.
|
||||
func CreatorIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldCreator, vs...))
|
||||
}
|
||||
|
||||
// CreatorNotIn applies the NotIn predicate on the "creator" field.
|
||||
func CreatorNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldCreator, vs...))
|
||||
}
|
||||
|
||||
// CreatorGT applies the GT predicate on the "creator" field.
|
||||
func CreatorGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorGTE applies the GTE predicate on the "creator" field.
|
||||
func CreatorGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorLT applies the LT predicate on the "creator" field.
|
||||
func CreatorLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorLTE applies the LTE predicate on the "creator" field.
|
||||
func CreatorLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorContains applies the Contains predicate on the "creator" field.
|
||||
func CreatorContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
|
||||
func CreatorHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
|
||||
func CreatorHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorEqualFold applies the EqualFold predicate on the "creator" field.
|
||||
func CreatorEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
|
||||
func CreatorContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldCreator, v))
|
||||
}
|
||||
|
||||
// CreateTimeEQ applies the EQ predicate on the "create_time" field.
|
||||
func CreateTimeEQ(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
|
||||
func CreateTimeNEQ(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeIn applies the In predicate on the "create_time" field.
|
||||
func CreateTimeIn(vs ...time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldCreateTime, vs...))
|
||||
}
|
||||
|
||||
// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
|
||||
func CreateTimeNotIn(vs ...time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldCreateTime, vs...))
|
||||
}
|
||||
|
||||
// CreateTimeGT applies the GT predicate on the "create_time" field.
|
||||
func CreateTimeGT(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeGTE applies the GTE predicate on the "create_time" field.
|
||||
func CreateTimeGTE(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeLT applies the LT predicate on the "create_time" field.
|
||||
func CreateTimeLT(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeLTE applies the LTE predicate on the "create_time" field.
|
||||
func CreateTimeLTE(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldCreateTime, v))
|
||||
}
|
||||
|
||||
// CreateTimeIsNil applies the IsNil predicate on the "create_time" field.
|
||||
func CreateTimeIsNil() predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIsNull(FieldCreateTime))
|
||||
}
|
||||
|
||||
// CreateTimeNotNil applies the NotNil predicate on the "create_time" field.
|
||||
func CreateTimeNotNil() predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotNull(FieldCreateTime))
|
||||
}
|
||||
|
||||
// UpdaterEQ applies the EQ predicate on the "updater" field.
|
||||
func UpdaterEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterNEQ applies the NEQ predicate on the "updater" field.
|
||||
func UpdaterNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterIn applies the In predicate on the "updater" field.
|
||||
func UpdaterIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldUpdater, vs...))
|
||||
}
|
||||
|
||||
// UpdaterNotIn applies the NotIn predicate on the "updater" field.
|
||||
func UpdaterNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldUpdater, vs...))
|
||||
}
|
||||
|
||||
// UpdaterGT applies the GT predicate on the "updater" field.
|
||||
func UpdaterGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterGTE applies the GTE predicate on the "updater" field.
|
||||
func UpdaterGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterLT applies the LT predicate on the "updater" field.
|
||||
func UpdaterLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterLTE applies the LTE predicate on the "updater" field.
|
||||
func UpdaterLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterContains applies the Contains predicate on the "updater" field.
|
||||
func UpdaterContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterHasPrefix applies the HasPrefix predicate on the "updater" field.
|
||||
func UpdaterHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterHasSuffix applies the HasSuffix predicate on the "updater" field.
|
||||
func UpdaterHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterEqualFold applies the EqualFold predicate on the "updater" field.
|
||||
func UpdaterEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdaterContainsFold applies the ContainsFold predicate on the "updater" field.
|
||||
func UpdaterContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldUpdater, v))
|
||||
}
|
||||
|
||||
// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
|
||||
func UpdateTimeEQ(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
|
||||
func UpdateTimeNEQ(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeIn applies the In predicate on the "update_time" field.
|
||||
func UpdateTimeIn(vs ...time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldUpdateTime, vs...))
|
||||
}
|
||||
|
||||
// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
|
||||
func UpdateTimeNotIn(vs ...time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldUpdateTime, vs...))
|
||||
}
|
||||
|
||||
// UpdateTimeGT applies the GT predicate on the "update_time" field.
|
||||
func UpdateTimeGT(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
|
||||
func UpdateTimeGTE(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeLT applies the LT predicate on the "update_time" field.
|
||||
func UpdateTimeLT(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
|
||||
func UpdateTimeLTE(v time.Time) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldUpdateTime, v))
|
||||
}
|
||||
|
||||
// UpdateTimeIsNil applies the IsNil predicate on the "update_time" field.
|
||||
func UpdateTimeIsNil() predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIsNull(FieldUpdateTime))
|
||||
}
|
||||
|
||||
// UpdateTimeNotNil applies the NotNil predicate on the "update_time" field.
|
||||
func UpdateTimeNotNil() predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotNull(FieldUpdateTime))
|
||||
}
|
||||
|
||||
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
||||
func DeletedEQ(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
||||
func DeletedNEQ(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedIn applies the In predicate on the "deleted" field.
|
||||
func DeletedIn(vs ...int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedNotIn applies the NotIn predicate on the "deleted" field.
|
||||
func DeletedNotIn(vs ...int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedGT applies the GT predicate on the "deleted" field.
|
||||
func DeletedGT(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedGTE applies the GTE predicate on the "deleted" field.
|
||||
func DeletedGTE(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLT applies the LT predicate on the "deleted" field.
|
||||
func DeletedLT(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLTE applies the LTE predicate on the "deleted" field.
|
||||
func DeletedLTE(v int) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// CodeEQ applies the EQ predicate on the "code" field.
|
||||
func CodeEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEQ(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeNEQ applies the NEQ predicate on the "code" field.
|
||||
func CodeNEQ(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNEQ(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeIn applies the In predicate on the "code" field.
|
||||
func CodeIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldIn(FieldCode, vs...))
|
||||
}
|
||||
|
||||
// CodeNotIn applies the NotIn predicate on the "code" field.
|
||||
func CodeNotIn(vs ...string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldNotIn(FieldCode, vs...))
|
||||
}
|
||||
|
||||
// CodeGT applies the GT predicate on the "code" field.
|
||||
func CodeGT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGT(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeGTE applies the GTE predicate on the "code" field.
|
||||
func CodeGTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldGTE(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeLT applies the LT predicate on the "code" field.
|
||||
func CodeLT(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLT(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeLTE applies the LTE predicate on the "code" field.
|
||||
func CodeLTE(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldLTE(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeContains applies the Contains predicate on the "code" field.
|
||||
func CodeContains(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContains(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeHasPrefix applies the HasPrefix predicate on the "code" field.
|
||||
func CodeHasPrefix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasPrefix(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeHasSuffix applies the HasSuffix predicate on the "code" field.
|
||||
func CodeHasSuffix(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldHasSuffix(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeEqualFold applies the EqualFold predicate on the "code" field.
|
||||
func CodeEqualFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldEqualFold(FieldCode, v))
|
||||
}
|
||||
|
||||
// CodeContainsFold applies the ContainsFold predicate on the "code" field.
|
||||
func CodeContainsFold(v string) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.FieldContainsFold(FieldCode, v))
|
||||
}
|
||||
|
||||
// And groups predicates with the AND operator between them.
|
||||
func And(predicates ...predicate.EpicI18NMappings) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.AndPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Or groups predicates with the OR operator between them.
|
||||
func Or(predicates ...predicate.EpicI18NMappings) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.OrPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Not applies the not operator on the given predicate.
|
||||
func Not(p predicate.EpicI18NMappings) predicate.EpicI18NMappings {
|
||||
return predicate.EpicI18NMappings(sql.NotPredicates(p))
|
||||
}
|
||||
Reference in New Issue
Block a user