Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SysSetting) predicate.SysSetting
- func ID(id int) predicate.SysSetting
- func IDEQ(id int) predicate.SysSetting
- func IDGT(id int) predicate.SysSetting
- func IDGTE(id int) predicate.SysSetting
- func IDIn(ids ...int) predicate.SysSetting
- func IDLT(id int) predicate.SysSetting
- func IDLTE(id int) predicate.SysSetting
- func IDNEQ(id int) predicate.SysSetting
- func IDNotIn(ids ...int) predicate.SysSetting
- func Key(v string) predicate.SysSetting
- func KeyContains(v string) predicate.SysSetting
- func KeyContainsFold(v string) predicate.SysSetting
- func KeyEQ(v string) predicate.SysSetting
- func KeyEqualFold(v string) predicate.SysSetting
- func KeyGT(v string) predicate.SysSetting
- func KeyGTE(v string) predicate.SysSetting
- func KeyHasPrefix(v string) predicate.SysSetting
- func KeyHasSuffix(v string) predicate.SysSetting
- func KeyIn(vs ...string) predicate.SysSetting
- func KeyLT(v string) predicate.SysSetting
- func KeyLTE(v string) predicate.SysSetting
- func KeyNEQ(v string) predicate.SysSetting
- func KeyNotIn(vs ...string) predicate.SysSetting
- func Not(p predicate.SysSetting) predicate.SysSetting
- func Or(predicates ...predicate.SysSetting) predicate.SysSetting
- func TypeofEQ(v Typeof) predicate.SysSetting
- func TypeofIn(vs ...Typeof) predicate.SysSetting
- func TypeofNEQ(v Typeof) predicate.SysSetting
- func TypeofNotIn(vs ...Typeof) predicate.SysSetting
- func TypeofValidator(t Typeof) error
- func ValidColumn(column string) bool
- func Value(v string) predicate.SysSetting
- func ValueContains(v string) predicate.SysSetting
- func ValueContainsFold(v string) predicate.SysSetting
- func ValueEQ(v string) predicate.SysSetting
- func ValueEqualFold(v string) predicate.SysSetting
- func ValueGT(v string) predicate.SysSetting
- func ValueGTE(v string) predicate.SysSetting
- func ValueHasPrefix(v string) predicate.SysSetting
- func ValueHasSuffix(v string) predicate.SysSetting
- func ValueIn(vs ...string) predicate.SysSetting
- func ValueLT(v string) predicate.SysSetting
- func ValueLTE(v string) predicate.SysSetting
- func ValueNEQ(v string) predicate.SysSetting
- func ValueNotIn(vs ...string) predicate.SysSetting
- type Typeof
Constants ¶
const ( // Label holds the string label denoting the syssetting type in the database. Label = "sys_setting" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // Table holds the table name of the syssetting in the database. Table = "sys_setting" )
const DefaultTypeof = TypeofSTRING
TypeofSTRING is the default value of the Typeof enum.
Variables ¶
var Columns = []string{ FieldID, FieldKey, FieldValue, FieldTypeof, }
Columns holds all SQL columns for syssetting fields.
var ( // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.SysSetting) predicate.SysSetting
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.SysSetting
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.SysSetting
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SysSetting
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SysSetting
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.SysSetting
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.SysSetting
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.SysSetting
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.SysSetting
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.SysSetting
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.SysSetting
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.SysSetting
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.SysSetting
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.SysSetting
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.SysSetting
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.SysSetting
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.SysSetting
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.SysSetting
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.SysSetting
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.SysSetting
KeyNotIn applies the NotIn predicate on the "key" field.
func Not ¶
func Not(p predicate.SysSetting) predicate.SysSetting
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SysSetting) predicate.SysSetting
Or groups predicates with the OR operator between them.
func TypeofEQ ¶
func TypeofEQ(v Typeof) predicate.SysSetting
TypeofEQ applies the EQ predicate on the "typeof" field.
func TypeofIn ¶
func TypeofIn(vs ...Typeof) predicate.SysSetting
TypeofIn applies the In predicate on the "typeof" field.
func TypeofNEQ ¶
func TypeofNEQ(v Typeof) predicate.SysSetting
TypeofNEQ applies the NEQ predicate on the "typeof" field.
func TypeofNotIn ¶
func TypeofNotIn(vs ...Typeof) predicate.SysSetting
TypeofNotIn applies the NotIn predicate on the "typeof" field.
func TypeofValidator ¶
TypeofValidator is a validator for the "typeof" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.SysSetting
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.SysSetting
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.SysSetting
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.SysSetting
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.SysSetting
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.SysSetting
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.SysSetting
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.SysSetting
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.SysSetting
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.SysSetting
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.SysSetting
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.SysSetting
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.SysSetting
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.SysSetting
ValueNotIn applies the NotIn predicate on the "value" field.