Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Settings) predicate.Settings
- func CreatedAt(v time.Time) predicate.Settings
- func CreatedAtEQ(v time.Time) predicate.Settings
- func CreatedAtGT(v time.Time) predicate.Settings
- func CreatedAtGTE(v time.Time) predicate.Settings
- func CreatedAtIn(vs ...time.Time) predicate.Settings
- func CreatedAtLT(v time.Time) predicate.Settings
- func CreatedAtLTE(v time.Time) predicate.Settings
- func CreatedAtNEQ(v time.Time) predicate.Settings
- func CreatedAtNotIn(vs ...time.Time) predicate.Settings
- func CreatedBy(v string) predicate.Settings
- func CreatedByContains(v string) predicate.Settings
- func CreatedByContainsFold(v string) predicate.Settings
- func CreatedByEQ(v string) predicate.Settings
- func CreatedByEqualFold(v string) predicate.Settings
- func CreatedByGT(v string) predicate.Settings
- func CreatedByGTE(v string) predicate.Settings
- func CreatedByHasPrefix(v string) predicate.Settings
- func CreatedByHasSuffix(v string) predicate.Settings
- func CreatedByIn(vs ...string) predicate.Settings
- func CreatedByIsNil() predicate.Settings
- func CreatedByLT(v string) predicate.Settings
- func CreatedByLTE(v string) predicate.Settings
- func CreatedByNEQ(v string) predicate.Settings
- func CreatedByNotIn(vs ...string) predicate.Settings
- func CreatedByNotNil() predicate.Settings
- func EnvironmentID(v string) predicate.Settings
- func EnvironmentIDContains(v string) predicate.Settings
- func EnvironmentIDContainsFold(v string) predicate.Settings
- func EnvironmentIDEQ(v string) predicate.Settings
- func EnvironmentIDEqualFold(v string) predicate.Settings
- func EnvironmentIDGT(v string) predicate.Settings
- func EnvironmentIDGTE(v string) predicate.Settings
- func EnvironmentIDHasPrefix(v string) predicate.Settings
- func EnvironmentIDHasSuffix(v string) predicate.Settings
- func EnvironmentIDIn(vs ...string) predicate.Settings
- func EnvironmentIDIsNil() predicate.Settings
- func EnvironmentIDLT(v string) predicate.Settings
- func EnvironmentIDLTE(v string) predicate.Settings
- func EnvironmentIDNEQ(v string) predicate.Settings
- func EnvironmentIDNotIn(vs ...string) predicate.Settings
- func EnvironmentIDNotNil() predicate.Settings
- func ID(id string) predicate.Settings
- func IDContainsFold(id string) predicate.Settings
- func IDEQ(id string) predicate.Settings
- func IDEqualFold(id string) predicate.Settings
- func IDGT(id string) predicate.Settings
- func IDGTE(id string) predicate.Settings
- func IDIn(ids ...string) predicate.Settings
- func IDLT(id string) predicate.Settings
- func IDLTE(id string) predicate.Settings
- func IDNEQ(id string) predicate.Settings
- func IDNotIn(ids ...string) predicate.Settings
- func Key(v string) predicate.Settings
- func KeyContains(v string) predicate.Settings
- func KeyContainsFold(v string) predicate.Settings
- func KeyEQ(v string) predicate.Settings
- func KeyEqualFold(v string) predicate.Settings
- func KeyGT(v string) predicate.Settings
- func KeyGTE(v string) predicate.Settings
- func KeyHasPrefix(v string) predicate.Settings
- func KeyHasSuffix(v string) predicate.Settings
- func KeyIn(vs ...string) predicate.Settings
- func KeyLT(v string) predicate.Settings
- func KeyLTE(v string) predicate.Settings
- func KeyNEQ(v string) predicate.Settings
- func KeyNotIn(vs ...string) predicate.Settings
- func Not(p predicate.Settings) predicate.Settings
- func Or(predicates ...predicate.Settings) predicate.Settings
- func Status(v string) predicate.Settings
- func StatusContains(v string) predicate.Settings
- func StatusContainsFold(v string) predicate.Settings
- func StatusEQ(v string) predicate.Settings
- func StatusEqualFold(v string) predicate.Settings
- func StatusGT(v string) predicate.Settings
- func StatusGTE(v string) predicate.Settings
- func StatusHasPrefix(v string) predicate.Settings
- func StatusHasSuffix(v string) predicate.Settings
- func StatusIn(vs ...string) predicate.Settings
- func StatusLT(v string) predicate.Settings
- func StatusLTE(v string) predicate.Settings
- func StatusNEQ(v string) predicate.Settings
- func StatusNotIn(vs ...string) predicate.Settings
- func TenantID(v string) predicate.Settings
- func TenantIDContains(v string) predicate.Settings
- func TenantIDContainsFold(v string) predicate.Settings
- func TenantIDEQ(v string) predicate.Settings
- func TenantIDEqualFold(v string) predicate.Settings
- func TenantIDGT(v string) predicate.Settings
- func TenantIDGTE(v string) predicate.Settings
- func TenantIDHasPrefix(v string) predicate.Settings
- func TenantIDHasSuffix(v string) predicate.Settings
- func TenantIDIn(vs ...string) predicate.Settings
- func TenantIDLT(v string) predicate.Settings
- func TenantIDLTE(v string) predicate.Settings
- func TenantIDNEQ(v string) predicate.Settings
- func TenantIDNotIn(vs ...string) predicate.Settings
- func UpdatedAt(v time.Time) predicate.Settings
- func UpdatedAtEQ(v time.Time) predicate.Settings
- func UpdatedAtGT(v time.Time) predicate.Settings
- func UpdatedAtGTE(v time.Time) predicate.Settings
- func UpdatedAtIn(vs ...time.Time) predicate.Settings
- func UpdatedAtLT(v time.Time) predicate.Settings
- func UpdatedAtLTE(v time.Time) predicate.Settings
- func UpdatedAtNEQ(v time.Time) predicate.Settings
- func UpdatedAtNotIn(vs ...time.Time) predicate.Settings
- func UpdatedBy(v string) predicate.Settings
- func UpdatedByContains(v string) predicate.Settings
- func UpdatedByContainsFold(v string) predicate.Settings
- func UpdatedByEQ(v string) predicate.Settings
- func UpdatedByEqualFold(v string) predicate.Settings
- func UpdatedByGT(v string) predicate.Settings
- func UpdatedByGTE(v string) predicate.Settings
- func UpdatedByHasPrefix(v string) predicate.Settings
- func UpdatedByHasSuffix(v string) predicate.Settings
- func UpdatedByIn(vs ...string) predicate.Settings
- func UpdatedByIsNil() predicate.Settings
- func UpdatedByLT(v string) predicate.Settings
- func UpdatedByLTE(v string) predicate.Settings
- func UpdatedByNEQ(v string) predicate.Settings
- func UpdatedByNotIn(vs ...string) predicate.Settings
- func UpdatedByNotNil() predicate.Settings
- func ValidColumn(column string) bool
- func ValueIsNil() predicate.Settings
- func ValueNotNil() predicate.Settings
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the settings type in the database. Label = "settings" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_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" // Table holds the table name of the settings in the database. Table = "settings" )
Variables ¶
var ( // TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save. TenantIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // 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 // DefaultEnvironmentID holds the default value on creation for the "environment_id" field. DefaultEnvironmentID string // 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 map[string]interface{} )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldKey, FieldValue, }
Columns holds all SQL columns for settings 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValueIsNil ¶
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueNotNil ¶
ValueNotNil applies the NotNil predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Settings queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id 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 ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.