Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Configuration) predicate.Configuration
- func Category(v string) predicate.Configuration
- func CategoryContains(v string) predicate.Configuration
- func CategoryContainsFold(v string) predicate.Configuration
- func CategoryEQ(v string) predicate.Configuration
- func CategoryEqualFold(v string) predicate.Configuration
- func CategoryGT(v string) predicate.Configuration
- func CategoryGTE(v string) predicate.Configuration
- func CategoryHasPrefix(v string) predicate.Configuration
- func CategoryHasSuffix(v string) predicate.Configuration
- func CategoryIn(vs ...string) predicate.Configuration
- func CategoryLT(v string) predicate.Configuration
- func CategoryLTE(v string) predicate.Configuration
- func CategoryNEQ(v string) predicate.Configuration
- func CategoryNotIn(vs ...string) predicate.Configuration
- func CreatedAt(v time.Time) predicate.Configuration
- func CreatedAtEQ(v time.Time) predicate.Configuration
- func CreatedAtGT(v time.Time) predicate.Configuration
- func CreatedAtGTE(v time.Time) predicate.Configuration
- func CreatedAtIn(vs ...time.Time) predicate.Configuration
- func CreatedAtLT(v time.Time) predicate.Configuration
- func CreatedAtLTE(v time.Time) predicate.Configuration
- func CreatedAtNEQ(v time.Time) predicate.Configuration
- func CreatedAtNotIn(vs ...time.Time) predicate.Configuration
- func ID(id uint64) predicate.Configuration
- func IDEQ(id uint64) predicate.Configuration
- func IDGT(id uint64) predicate.Configuration
- func IDGTE(id uint64) predicate.Configuration
- func IDIn(ids ...uint64) predicate.Configuration
- func IDLT(id uint64) predicate.Configuration
- func IDLTE(id uint64) predicate.Configuration
- func IDNEQ(id uint64) predicate.Configuration
- func IDNotIn(ids ...uint64) predicate.Configuration
- func Key(v string) predicate.Configuration
- func KeyContains(v string) predicate.Configuration
- func KeyContainsFold(v string) predicate.Configuration
- func KeyEQ(v string) predicate.Configuration
- func KeyEqualFold(v string) predicate.Configuration
- func KeyGT(v string) predicate.Configuration
- func KeyGTE(v string) predicate.Configuration
- func KeyHasPrefix(v string) predicate.Configuration
- func KeyHasSuffix(v string) predicate.Configuration
- func KeyIn(vs ...string) predicate.Configuration
- func KeyLT(v string) predicate.Configuration
- func KeyLTE(v string) predicate.Configuration
- func KeyNEQ(v string) predicate.Configuration
- func KeyNotIn(vs ...string) predicate.Configuration
- func Name(v string) predicate.Configuration
- func NameContains(v string) predicate.Configuration
- func NameContainsFold(v string) predicate.Configuration
- func NameEQ(v string) predicate.Configuration
- func NameEqualFold(v string) predicate.Configuration
- func NameGT(v string) predicate.Configuration
- func NameGTE(v string) predicate.Configuration
- func NameHasPrefix(v string) predicate.Configuration
- func NameHasSuffix(v string) predicate.Configuration
- func NameIn(vs ...string) predicate.Configuration
- func NameLT(v string) predicate.Configuration
- func NameLTE(v string) predicate.Configuration
- func NameNEQ(v string) predicate.Configuration
- func NameNotIn(vs ...string) predicate.Configuration
- func Not(p predicate.Configuration) predicate.Configuration
- func Or(predicates ...predicate.Configuration) predicate.Configuration
- func Remark(v string) predicate.Configuration
- func RemarkContains(v string) predicate.Configuration
- func RemarkContainsFold(v string) predicate.Configuration
- func RemarkEQ(v string) predicate.Configuration
- func RemarkEqualFold(v string) predicate.Configuration
- func RemarkGT(v string) predicate.Configuration
- func RemarkGTE(v string) predicate.Configuration
- func RemarkHasPrefix(v string) predicate.Configuration
- func RemarkHasSuffix(v string) predicate.Configuration
- func RemarkIn(vs ...string) predicate.Configuration
- func RemarkIsNil() predicate.Configuration
- func RemarkLT(v string) predicate.Configuration
- func RemarkLTE(v string) predicate.Configuration
- func RemarkNEQ(v string) predicate.Configuration
- func RemarkNotIn(vs ...string) predicate.Configuration
- func RemarkNotNil() predicate.Configuration
- func Sort(v uint32) predicate.Configuration
- func SortEQ(v uint32) predicate.Configuration
- func SortGT(v uint32) predicate.Configuration
- func SortGTE(v uint32) predicate.Configuration
- func SortIn(vs ...uint32) predicate.Configuration
- func SortLT(v uint32) predicate.Configuration
- func SortLTE(v uint32) predicate.Configuration
- func SortNEQ(v uint32) predicate.Configuration
- func SortNotIn(vs ...uint32) predicate.Configuration
- func State(v bool) predicate.Configuration
- func StateEQ(v bool) predicate.Configuration
- func StateIsNil() predicate.Configuration
- func StateNEQ(v bool) predicate.Configuration
- func StateNotNil() predicate.Configuration
- func UpdatedAt(v time.Time) predicate.Configuration
- func UpdatedAtEQ(v time.Time) predicate.Configuration
- func UpdatedAtGT(v time.Time) predicate.Configuration
- func UpdatedAtGTE(v time.Time) predicate.Configuration
- func UpdatedAtIn(vs ...time.Time) predicate.Configuration
- func UpdatedAtLT(v time.Time) predicate.Configuration
- func UpdatedAtLTE(v time.Time) predicate.Configuration
- func UpdatedAtNEQ(v time.Time) predicate.Configuration
- func UpdatedAtNotIn(vs ...time.Time) predicate.Configuration
- func ValidColumn(column string) bool
- func Value(v string) predicate.Configuration
- func ValueContains(v string) predicate.Configuration
- func ValueContainsFold(v string) predicate.Configuration
- func ValueEQ(v string) predicate.Configuration
- func ValueEqualFold(v string) predicate.Configuration
- func ValueGT(v string) predicate.Configuration
- func ValueGTE(v string) predicate.Configuration
- func ValueHasPrefix(v string) predicate.Configuration
- func ValueHasSuffix(v string) predicate.Configuration
- func ValueIn(vs ...string) predicate.Configuration
- func ValueLT(v string) predicate.Configuration
- func ValueLTE(v string) predicate.Configuration
- func ValueNEQ(v string) predicate.Configuration
- func ValueNotIn(vs ...string) predicate.Configuration
- type OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRemark(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValue(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the configuration type in the database. Label = "configuration" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldName holds the string denoting the name field in the database. FieldName = "name" // 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" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // Table holds the table name of the configuration in the database. Table = "sys_configuration" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 // DefaultState holds the default value on creation for the "state" field. DefaultState bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSort, FieldState, FieldName, FieldKey, FieldValue, FieldCategory, FieldRemark, }
Columns holds all SQL columns for configuration fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Configuration) predicate.Configuration
And groups predicates with the AND operator between them.
func Category ¶
func Category(v string) predicate.Configuration
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
func CategoryContains(v string) predicate.Configuration
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
func CategoryContainsFold(v string) predicate.Configuration
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
func CategoryEQ(v string) predicate.Configuration
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
func CategoryEqualFold(v string) predicate.Configuration
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
func CategoryGT(v string) predicate.Configuration
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
func CategoryGTE(v string) predicate.Configuration
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
func CategoryHasPrefix(v string) predicate.Configuration
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
func CategoryHasSuffix(v string) predicate.Configuration
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
func CategoryIn(vs ...string) predicate.Configuration
CategoryIn applies the In predicate on the "category" field.
func CategoryLT ¶
func CategoryLT(v string) predicate.Configuration
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
func CategoryLTE(v string) predicate.Configuration
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
func CategoryNEQ(v string) predicate.Configuration
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
func CategoryNotIn(vs ...string) predicate.Configuration
CategoryNotIn applies the NotIn predicate on the "category" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Configuration
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Configuration
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Configuration
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Configuration
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Configuration
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Configuration
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Configuration
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Configuration
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Configuration
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id uint64) predicate.Configuration
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.Configuration
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.Configuration
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.Configuration
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.Configuration
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.Configuration
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.Configuration
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.Configuration
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.Configuration
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.Configuration
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.Configuration
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.Configuration
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.Configuration
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.Configuration
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.Configuration
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.Configuration
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.Configuration
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.Configuration
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.Configuration
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.Configuration
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.Configuration
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.Configuration
KeyNotIn applies the NotIn predicate on the "key" field.
func Name ¶
func Name(v string) predicate.Configuration
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Configuration
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Configuration
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Configuration
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Configuration
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Configuration
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Configuration
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Configuration
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Configuration
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Configuration
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Configuration
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Configuration
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Configuration
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Configuration
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Configuration) predicate.Configuration
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Configuration) predicate.Configuration
Or groups predicates with the OR operator between them.
func Remark ¶
func Remark(v string) predicate.Configuration
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
func RemarkContains(v string) predicate.Configuration
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
func RemarkContainsFold(v string) predicate.Configuration
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEQ ¶
func RemarkEQ(v string) predicate.Configuration
RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEqualFold ¶
func RemarkEqualFold(v string) predicate.Configuration
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkGT ¶
func RemarkGT(v string) predicate.Configuration
RemarkGT applies the GT predicate on the "remark" field.
func RemarkGTE ¶
func RemarkGTE(v string) predicate.Configuration
RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkHasPrefix ¶
func RemarkHasPrefix(v string) predicate.Configuration
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
func RemarkHasSuffix(v string) predicate.Configuration
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkIn ¶
func RemarkIn(vs ...string) predicate.Configuration
RemarkIn applies the In predicate on the "remark" field.
func RemarkIsNil ¶
func RemarkIsNil() predicate.Configuration
RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkLT ¶
func RemarkLT(v string) predicate.Configuration
RemarkLT applies the LT predicate on the "remark" field.
func RemarkLTE ¶
func RemarkLTE(v string) predicate.Configuration
RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkNEQ ¶
func RemarkNEQ(v string) predicate.Configuration
RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNotIn ¶
func RemarkNotIn(vs ...string) predicate.Configuration
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotNil ¶
func RemarkNotNil() predicate.Configuration
RemarkNotNil applies the NotNil predicate on the "remark" field.
func Sort ¶
func Sort(v uint32) predicate.Configuration
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.Configuration
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.Configuration
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.Configuration
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.Configuration
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.Configuration
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.Configuration
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.Configuration
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.Configuration
SortNotIn applies the NotIn predicate on the "sort" field.
func State ¶
func State(v bool) predicate.Configuration
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateEQ ¶
func StateEQ(v bool) predicate.Configuration
StateEQ applies the EQ predicate on the "state" field.
func StateIsNil ¶
func StateIsNil() predicate.Configuration
StateIsNil applies the IsNil predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v bool) predicate.Configuration
StateNEQ applies the NEQ predicate on the "state" field.
func StateNotNil ¶
func StateNotNil() predicate.Configuration
StateNotNil applies the NotNil predicate on the "state" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Configuration
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Configuration
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Configuration
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Configuration
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Configuration
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Configuration
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Configuration
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Configuration
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Configuration
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.Configuration
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.Configuration
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.Configuration
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.Configuration
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.Configuration
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.Configuration
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.Configuration
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.Configuration
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.Configuration
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.Configuration
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.Configuration
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.Configuration
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.Configuration
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.Configuration
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Configuration queries.
func ByCategory ¶
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRemark ¶
func ByRemark(opts ...sql.OrderTermOption) OrderOption
ByRemark orders the results by the remark field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.