Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MemberSetting) predicate.MemberSetting
- func HasSettingsOwner() predicate.MemberSetting
- func HasSettingsOwnerWith(preds ...predicate.Member) predicate.MemberSetting
- func ID(id int) predicate.MemberSetting
- func IDEQ(id int) predicate.MemberSetting
- func IDGT(id int) predicate.MemberSetting
- func IDGTE(id int) predicate.MemberSetting
- func IDIn(ids ...int) predicate.MemberSetting
- func IDLT(id int) predicate.MemberSetting
- func IDLTE(id int) predicate.MemberSetting
- func IDNEQ(id int) predicate.MemberSetting
- func IDNotIn(ids ...int) predicate.MemberSetting
- func Key(v string) predicate.MemberSetting
- func KeyContains(v string) predicate.MemberSetting
- func KeyContainsFold(v string) predicate.MemberSetting
- func KeyEQ(v string) predicate.MemberSetting
- func KeyEqualFold(v string) predicate.MemberSetting
- func KeyGT(v string) predicate.MemberSetting
- func KeyGTE(v string) predicate.MemberSetting
- func KeyHasPrefix(v string) predicate.MemberSetting
- func KeyHasSuffix(v string) predicate.MemberSetting
- func KeyIn(vs ...string) predicate.MemberSetting
- func KeyLT(v string) predicate.MemberSetting
- func KeyLTE(v string) predicate.MemberSetting
- func KeyNEQ(v string) predicate.MemberSetting
- func KeyNotIn(vs ...string) predicate.MemberSetting
- func Not(p predicate.MemberSetting) predicate.MemberSetting
- func Or(predicates ...predicate.MemberSetting) predicate.MemberSetting
- func OwnerID(v int) predicate.MemberSetting
- func OwnerIDEQ(v int) predicate.MemberSetting
- func OwnerIDIn(vs ...int) predicate.MemberSetting
- func OwnerIDNEQ(v int) predicate.MemberSetting
- func OwnerIDNotIn(vs ...int) predicate.MemberSetting
- func TypeofEQ(v Typeof) predicate.MemberSetting
- func TypeofIn(vs ...Typeof) predicate.MemberSetting
- func TypeofNEQ(v Typeof) predicate.MemberSetting
- func TypeofNotIn(vs ...Typeof) predicate.MemberSetting
- func TypeofValidator(t Typeof) error
- func ValidColumn(column string) bool
- func Value(v string) predicate.MemberSetting
- func ValueContains(v string) predicate.MemberSetting
- func ValueContainsFold(v string) predicate.MemberSetting
- func ValueEQ(v string) predicate.MemberSetting
- func ValueEqualFold(v string) predicate.MemberSetting
- func ValueGT(v string) predicate.MemberSetting
- func ValueGTE(v string) predicate.MemberSetting
- func ValueHasPrefix(v string) predicate.MemberSetting
- func ValueHasSuffix(v string) predicate.MemberSetting
- func ValueIn(vs ...string) predicate.MemberSetting
- func ValueLT(v string) predicate.MemberSetting
- func ValueLTE(v string) predicate.MemberSetting
- func ValueNEQ(v string) predicate.MemberSetting
- func ValueNotIn(vs ...string) predicate.MemberSetting
- type Typeof
Constants ¶
const ( // Label holds the string label denoting the membersetting type in the database. Label = "member_setting" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_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" // EdgeSettingsOwner holds the string denoting the settings_owner edge name in mutations. EdgeSettingsOwner = "settings_owner" // Table holds the table name of the membersetting in the database. Table = "member_setting" // SettingsOwnerTable is the table the holds the settings_owner relation/edge. SettingsOwnerTable = "member_setting" // SettingsOwnerInverseTable is the table name for the Member entity. // It exists in this package in order to avoid circular dependency with the "member" package. SettingsOwnerInverseTable = "member" // SettingsOwnerColumn is the table column denoting the settings_owner relation/edge. SettingsOwnerColumn = "owner_id" )
const DefaultTypeof = TypeofSTRING
TypeofSTRING is the default value of the Typeof enum.
Variables ¶
var Columns = []string{ FieldID, FieldOwnerID, FieldKey, FieldValue, FieldTypeof, }
Columns holds all SQL columns for membersetting 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.MemberSetting) predicate.MemberSetting
And groups predicates with the AND operator between them.
func HasSettingsOwner ¶ added in v1.0.8
func HasSettingsOwner() predicate.MemberSetting
HasSettingsOwner applies the HasEdge predicate on the "settings_owner" edge.
func HasSettingsOwnerWith ¶ added in v1.0.8
func HasSettingsOwnerWith(preds ...predicate.Member) predicate.MemberSetting
HasSettingsOwnerWith applies the HasEdge predicate on the "settings_owner" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.MemberSetting
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.MemberSetting
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.MemberSetting
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MemberSetting
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.MemberSetting
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MemberSetting
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MemberSetting
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MemberSetting
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.MemberSetting
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.MemberSetting
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.MemberSetting
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.MemberSetting
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.MemberSetting
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.MemberSetting
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.MemberSetting
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.MemberSetting
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.MemberSetting
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.MemberSetting
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.MemberSetting
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.MemberSetting
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.MemberSetting
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.MemberSetting
KeyNotIn applies the NotIn predicate on the "key" field.
func Not ¶
func Not(p predicate.MemberSetting) predicate.MemberSetting
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MemberSetting) predicate.MemberSetting
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v1.0.8
func OwnerID(v int) predicate.MemberSetting
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDEQ ¶ added in v1.0.8
func OwnerIDEQ(v int) predicate.MemberSetting
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDIn ¶ added in v1.0.8
func OwnerIDIn(vs ...int) predicate.MemberSetting
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v1.0.8
func OwnerIDNEQ(v int) predicate.MemberSetting
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v1.0.8
func OwnerIDNotIn(vs ...int) predicate.MemberSetting
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func TypeofEQ ¶
func TypeofEQ(v Typeof) predicate.MemberSetting
TypeofEQ applies the EQ predicate on the "typeof" field.
func TypeofIn ¶
func TypeofIn(vs ...Typeof) predicate.MemberSetting
TypeofIn applies the In predicate on the "typeof" field.
func TypeofNEQ ¶
func TypeofNEQ(v Typeof) predicate.MemberSetting
TypeofNEQ applies the NEQ predicate on the "typeof" field.
func TypeofNotIn ¶
func TypeofNotIn(vs ...Typeof) predicate.MemberSetting
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.MemberSetting
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.MemberSetting
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.MemberSetting
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.MemberSetting
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.MemberSetting
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.MemberSetting
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.MemberSetting
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.MemberSetting
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.MemberSetting
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.MemberSetting
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.MemberSetting
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.MemberSetting
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.MemberSetting
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.MemberSetting
ValueNotIn applies the NotIn predicate on the "value" field.