Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SystemSetting) predicate.SystemSetting
- func ID(id int) predicate.SystemSetting
- func IDEQ(id int) predicate.SystemSetting
- func IDGT(id int) predicate.SystemSetting
- func IDGTE(id int) predicate.SystemSetting
- func IDIn(ids ...int) predicate.SystemSetting
- func IDLT(id int) predicate.SystemSetting
- func IDLTE(id int) predicate.SystemSetting
- func IDNEQ(id int) predicate.SystemSetting
- func IDNotIn(ids ...int) predicate.SystemSetting
- func Key(v string) predicate.SystemSetting
- func KeyContains(v string) predicate.SystemSetting
- func KeyContainsFold(v string) predicate.SystemSetting
- func KeyEQ(v string) predicate.SystemSetting
- func KeyEqualFold(v string) predicate.SystemSetting
- func KeyGT(v string) predicate.SystemSetting
- func KeyGTE(v string) predicate.SystemSetting
- func KeyHasPrefix(v string) predicate.SystemSetting
- func KeyHasSuffix(v string) predicate.SystemSetting
- func KeyIn(vs ...string) predicate.SystemSetting
- func KeyLT(v string) predicate.SystemSetting
- func KeyLTE(v string) predicate.SystemSetting
- func KeyNEQ(v string) predicate.SystemSetting
- func KeyNotIn(vs ...string) predicate.SystemSetting
- func Not(p predicate.SystemSetting) predicate.SystemSetting
- func Or(predicates ...predicate.SystemSetting) predicate.SystemSetting
- func SpaceEQ(v Space) predicate.SystemSetting
- func SpaceIn(vs ...Space) predicate.SystemSetting
- func SpaceIsNil() predicate.SystemSetting
- func SpaceNEQ(v Space) predicate.SystemSetting
- func SpaceNotIn(vs ...Space) predicate.SystemSetting
- func SpaceNotNil() predicate.SystemSetting
- func SpaceValidator(s Space) error
- func Typeof(v string) predicate.SystemSetting
- func TypeofContains(v string) predicate.SystemSetting
- func TypeofContainsFold(v string) predicate.SystemSetting
- func TypeofEQ(v string) predicate.SystemSetting
- func TypeofEqualFold(v string) predicate.SystemSetting
- func TypeofGT(v string) predicate.SystemSetting
- func TypeofGTE(v string) predicate.SystemSetting
- func TypeofHasPrefix(v string) predicate.SystemSetting
- func TypeofHasSuffix(v string) predicate.SystemSetting
- func TypeofIn(vs ...string) predicate.SystemSetting
- func TypeofLT(v string) predicate.SystemSetting
- func TypeofLTE(v string) predicate.SystemSetting
- func TypeofNEQ(v string) predicate.SystemSetting
- func TypeofNotIn(vs ...string) predicate.SystemSetting
- func UpdateTime(v time.Time) predicate.SystemSetting
- func UpdateTimeEQ(v time.Time) predicate.SystemSetting
- func UpdateTimeGT(v time.Time) predicate.SystemSetting
- func UpdateTimeGTE(v time.Time) predicate.SystemSetting
- func UpdateTimeIn(vs ...time.Time) predicate.SystemSetting
- func UpdateTimeLT(v time.Time) predicate.SystemSetting
- func UpdateTimeLTE(v time.Time) predicate.SystemSetting
- func UpdateTimeNEQ(v time.Time) predicate.SystemSetting
- func UpdateTimeNotIn(vs ...time.Time) predicate.SystemSetting
- func ValidColumn(column string) bool
- func Value(v string) predicate.SystemSetting
- func ValueContains(v string) predicate.SystemSetting
- func ValueContainsFold(v string) predicate.SystemSetting
- func ValueEQ(v string) predicate.SystemSetting
- func ValueEqualFold(v string) predicate.SystemSetting
- func ValueGT(v string) predicate.SystemSetting
- func ValueGTE(v string) predicate.SystemSetting
- func ValueHasPrefix(v string) predicate.SystemSetting
- func ValueHasSuffix(v string) predicate.SystemSetting
- func ValueIn(vs ...string) predicate.SystemSetting
- func ValueIsNil() predicate.SystemSetting
- func ValueLT(v string) predicate.SystemSetting
- func ValueLTE(v string) predicate.SystemSetting
- func ValueNEQ(v string) predicate.SystemSetting
- func ValueNotIn(vs ...string) predicate.SystemSetting
- func ValueNotNil() predicate.SystemSetting
- type Space
Constants ¶
const ( // Label holds the string label denoting the systemsetting type in the database. Label = "system_setting" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSpace holds the string denoting the space field in the database. FieldSpace = "space" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldTypeof holds the string denoting the typeof field in the database. FieldTypeof = "typeof" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // Table holds the table name of the systemsetting in the database. Table = "system_setting" )
Variables ¶
var ( // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // DefaultValue holds the default value on creation for the "value" field. DefaultValue string // DefaultTypeof holds the default value on creation for the "typeof" field. DefaultTypeof string // TypeofValidator is a validator for the "typeof" field. It is called by the builders before save. TypeofValidator func(string) error // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldSpace, FieldKey, FieldValue, FieldTypeof, FieldUpdateTime, }
Columns holds all SQL columns for systemsetting fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SystemSetting) predicate.SystemSetting
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.SystemSetting
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.SystemSetting
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.SystemSetting
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.SystemSetting
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.SystemSetting
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SystemSetting
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SystemSetting
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.SystemSetting
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.SystemSetting
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.SystemSetting
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.SystemSetting
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.SystemSetting
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.SystemSetting
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.SystemSetting
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.SystemSetting
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.SystemSetting
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.SystemSetting
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.SystemSetting
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.SystemSetting
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.SystemSetting
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.SystemSetting
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.SystemSetting
KeyNotIn applies the NotIn predicate on the "key" field.
func Not ¶
func Not(p predicate.SystemSetting) predicate.SystemSetting
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SystemSetting) predicate.SystemSetting
Or groups predicates with the OR operator between them.
func SpaceEQ ¶
func SpaceEQ(v Space) predicate.SystemSetting
SpaceEQ applies the EQ predicate on the "space" field.
func SpaceIn ¶
func SpaceIn(vs ...Space) predicate.SystemSetting
SpaceIn applies the In predicate on the "space" field.
func SpaceIsNil ¶
func SpaceIsNil() predicate.SystemSetting
SpaceIsNil applies the IsNil predicate on the "space" field.
func SpaceNEQ ¶
func SpaceNEQ(v Space) predicate.SystemSetting
SpaceNEQ applies the NEQ predicate on the "space" field.
func SpaceNotIn ¶
func SpaceNotIn(vs ...Space) predicate.SystemSetting
SpaceNotIn applies the NotIn predicate on the "space" field.
func SpaceNotNil ¶
func SpaceNotNil() predicate.SystemSetting
SpaceNotNil applies the NotNil predicate on the "space" field.
func SpaceValidator ¶
SpaceValidator is a validator for the "space" field enum values. It is called by the builders before save.
func Typeof ¶
func Typeof(v string) predicate.SystemSetting
Typeof applies equality check predicate on the "typeof" field. It's identical to TypeofEQ.
func TypeofContains ¶
func TypeofContains(v string) predicate.SystemSetting
TypeofContains applies the Contains predicate on the "typeof" field.
func TypeofContainsFold ¶
func TypeofContainsFold(v string) predicate.SystemSetting
TypeofContainsFold applies the ContainsFold predicate on the "typeof" field.
func TypeofEQ ¶
func TypeofEQ(v string) predicate.SystemSetting
TypeofEQ applies the EQ predicate on the "typeof" field.
func TypeofEqualFold ¶
func TypeofEqualFold(v string) predicate.SystemSetting
TypeofEqualFold applies the EqualFold predicate on the "typeof" field.
func TypeofGT ¶
func TypeofGT(v string) predicate.SystemSetting
TypeofGT applies the GT predicate on the "typeof" field.
func TypeofGTE ¶
func TypeofGTE(v string) predicate.SystemSetting
TypeofGTE applies the GTE predicate on the "typeof" field.
func TypeofHasPrefix ¶
func TypeofHasPrefix(v string) predicate.SystemSetting
TypeofHasPrefix applies the HasPrefix predicate on the "typeof" field.
func TypeofHasSuffix ¶
func TypeofHasSuffix(v string) predicate.SystemSetting
TypeofHasSuffix applies the HasSuffix predicate on the "typeof" field.
func TypeofIn ¶
func TypeofIn(vs ...string) predicate.SystemSetting
TypeofIn applies the In predicate on the "typeof" field.
func TypeofLT ¶
func TypeofLT(v string) predicate.SystemSetting
TypeofLT applies the LT predicate on the "typeof" field.
func TypeofLTE ¶
func TypeofLTE(v string) predicate.SystemSetting
TypeofLTE applies the LTE predicate on the "typeof" field.
func TypeofNEQ ¶
func TypeofNEQ(v string) predicate.SystemSetting
TypeofNEQ applies the NEQ predicate on the "typeof" field.
func TypeofNotIn ¶
func TypeofNotIn(vs ...string) predicate.SystemSetting
TypeofNotIn applies the NotIn predicate on the "typeof" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.SystemSetting
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.SystemSetting
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.SystemSetting
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.SystemSetting
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.SystemSetting
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.SystemSetting
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.SystemSetting
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.SystemSetting
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.SystemSetting
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.SystemSetting
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.SystemSetting
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.SystemSetting
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.SystemSetting
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.SystemSetting
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.SystemSetting
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.SystemSetting
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.SystemSetting
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.SystemSetting
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.SystemSetting
ValueIn applies the In predicate on the "value" field.
func ValueIsNil ¶
func ValueIsNil() predicate.SystemSetting
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.SystemSetting
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.SystemSetting
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.SystemSetting
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.SystemSetting
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueNotNil ¶
func ValueNotNil() predicate.SystemSetting
ValueNotNil applies the NotNil predicate on the "value" field.