Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Setting) predicate.Setting
- func CreatedAt(v time.Time) predicate.Setting
- func CreatedAtEQ(v time.Time) predicate.Setting
- func CreatedAtGT(v time.Time) predicate.Setting
- func CreatedAtGTE(v time.Time) predicate.Setting
- func CreatedAtIn(vs ...time.Time) predicate.Setting
- func CreatedAtLT(v time.Time) predicate.Setting
- func CreatedAtLTE(v time.Time) predicate.Setting
- func CreatedAtNEQ(v time.Time) predicate.Setting
- func CreatedAtNotIn(vs ...time.Time) predicate.Setting
- func DeletedAt(v time.Time) predicate.Setting
- func DeletedAtEQ(v time.Time) predicate.Setting
- func DeletedAtGT(v time.Time) predicate.Setting
- func DeletedAtGTE(v time.Time) predicate.Setting
- func DeletedAtIn(vs ...time.Time) predicate.Setting
- func DeletedAtIsNil() predicate.Setting
- func DeletedAtLT(v time.Time) predicate.Setting
- func DeletedAtLTE(v time.Time) predicate.Setting
- func DeletedAtNEQ(v time.Time) predicate.Setting
- func DeletedAtNotIn(vs ...time.Time) predicate.Setting
- func DeletedAtNotNil() predicate.Setting
- func ID(id int) predicate.Setting
- func IDEQ(id int) predicate.Setting
- func IDGT(id int) predicate.Setting
- func IDGTE(id int) predicate.Setting
- func IDIn(ids ...int) predicate.Setting
- func IDLT(id int) predicate.Setting
- func IDLTE(id int) predicate.Setting
- func IDNEQ(id int) predicate.Setting
- func IDNotIn(ids ...int) predicate.Setting
- func Name(v string) predicate.Setting
- func NameContains(v string) predicate.Setting
- func NameContainsFold(v string) predicate.Setting
- func NameEQ(v string) predicate.Setting
- func NameEqualFold(v string) predicate.Setting
- func NameGT(v string) predicate.Setting
- func NameGTE(v string) predicate.Setting
- func NameHasPrefix(v string) predicate.Setting
- func NameHasSuffix(v string) predicate.Setting
- func NameIn(vs ...string) predicate.Setting
- func NameLT(v string) predicate.Setting
- func NameLTE(v string) predicate.Setting
- func NameNEQ(v string) predicate.Setting
- func NameNotIn(vs ...string) predicate.Setting
- func Not(p predicate.Setting) predicate.Setting
- func Or(predicates ...predicate.Setting) predicate.Setting
- func Type(v string) predicate.Setting
- func TypeContains(v string) predicate.Setting
- func TypeContainsFold(v string) predicate.Setting
- func TypeEQ(v string) predicate.Setting
- func TypeEqualFold(v string) predicate.Setting
- func TypeGT(v string) predicate.Setting
- func TypeGTE(v string) predicate.Setting
- func TypeHasPrefix(v string) predicate.Setting
- func TypeHasSuffix(v string) predicate.Setting
- func TypeIn(vs ...string) predicate.Setting
- func TypeIsNil() predicate.Setting
- func TypeLT(v string) predicate.Setting
- func TypeLTE(v string) predicate.Setting
- func TypeNEQ(v string) predicate.Setting
- func TypeNotIn(vs ...string) predicate.Setting
- func TypeNotNil() predicate.Setting
- func UpdatedAt(v time.Time) predicate.Setting
- func UpdatedAtEQ(v time.Time) predicate.Setting
- func UpdatedAtGT(v time.Time) predicate.Setting
- func UpdatedAtGTE(v time.Time) predicate.Setting
- func UpdatedAtIn(vs ...time.Time) predicate.Setting
- func UpdatedAtLT(v time.Time) predicate.Setting
- func UpdatedAtLTE(v time.Time) predicate.Setting
- func UpdatedAtNEQ(v time.Time) predicate.Setting
- func UpdatedAtNotIn(vs ...time.Time) predicate.Setting
- func ValidColumn(column string) bool
- func Value(v string) predicate.Setting
- func ValueContains(v string) predicate.Setting
- func ValueContainsFold(v string) predicate.Setting
- func ValueEQ(v string) predicate.Setting
- func ValueEqualFold(v string) predicate.Setting
- func ValueGT(v string) predicate.Setting
- func ValueGTE(v string) predicate.Setting
- func ValueHasPrefix(v string) predicate.Setting
- func ValueHasSuffix(v string) predicate.Setting
- func ValueIn(vs ...string) predicate.Setting
- func ValueIsNil() predicate.Setting
- func ValueLT(v string) predicate.Setting
- func ValueLTE(v string) predicate.Setting
- func ValueNEQ(v string) predicate.Setting
- func ValueNotIn(vs ...string) predicate.Setting
- func ValueNotNil() predicate.Setting
Constants ¶
const ( // Label holds the string label denoting the setting type in the database. Label = "setting" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldType holds the string denoting the type field in the database. FieldType = "type" // Table holds the table name of the setting in the database. Table = "settings" )
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 // DefaultType holds the default value on creation for the "type" field. DefaultType string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldValue, FieldType, }
Columns holds all SQL columns for setting fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEqualFold ¶
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueHasPrefix ¶
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIsNil ¶
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueNotNil ¶
ValueNotNil applies the NotNil predicate on the "value" field.
Types ¶
This section is empty.