Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Environment) predicate.Environment
- func CreatedAt(v time.Time) predicate.Environment
- func CreatedAtEQ(v time.Time) predicate.Environment
- func CreatedAtGT(v time.Time) predicate.Environment
- func CreatedAtGTE(v time.Time) predicate.Environment
- func CreatedAtIn(vs ...time.Time) predicate.Environment
- func CreatedAtLT(v time.Time) predicate.Environment
- func CreatedAtLTE(v time.Time) predicate.Environment
- func CreatedAtNEQ(v time.Time) predicate.Environment
- func CreatedAtNotIn(vs ...time.Time) predicate.Environment
- func CreatedBy(v string) predicate.Environment
- func CreatedByContains(v string) predicate.Environment
- func CreatedByContainsFold(v string) predicate.Environment
- func CreatedByEQ(v string) predicate.Environment
- func CreatedByEqualFold(v string) predicate.Environment
- func CreatedByGT(v string) predicate.Environment
- func CreatedByGTE(v string) predicate.Environment
- func CreatedByHasPrefix(v string) predicate.Environment
- func CreatedByHasSuffix(v string) predicate.Environment
- func CreatedByIn(vs ...string) predicate.Environment
- func CreatedByIsNil() predicate.Environment
- func CreatedByLT(v string) predicate.Environment
- func CreatedByLTE(v string) predicate.Environment
- func CreatedByNEQ(v string) predicate.Environment
- func CreatedByNotIn(vs ...string) predicate.Environment
- func CreatedByNotNil() predicate.Environment
- func ID(id string) predicate.Environment
- func IDContainsFold(id string) predicate.Environment
- func IDEQ(id string) predicate.Environment
- func IDEqualFold(id string) predicate.Environment
- func IDGT(id string) predicate.Environment
- func IDGTE(id string) predicate.Environment
- func IDIn(ids ...string) predicate.Environment
- func IDLT(id string) predicate.Environment
- func IDLTE(id string) predicate.Environment
- func IDNEQ(id string) predicate.Environment
- func IDNotIn(ids ...string) predicate.Environment
- func Name(v string) predicate.Environment
- func NameContains(v string) predicate.Environment
- func NameContainsFold(v string) predicate.Environment
- func NameEQ(v string) predicate.Environment
- func NameEqualFold(v string) predicate.Environment
- func NameGT(v string) predicate.Environment
- func NameGTE(v string) predicate.Environment
- func NameHasPrefix(v string) predicate.Environment
- func NameHasSuffix(v string) predicate.Environment
- func NameIn(vs ...string) predicate.Environment
- func NameLT(v string) predicate.Environment
- func NameLTE(v string) predicate.Environment
- func NameNEQ(v string) predicate.Environment
- func NameNotIn(vs ...string) predicate.Environment
- func Not(p predicate.Environment) predicate.Environment
- func Or(predicates ...predicate.Environment) predicate.Environment
- func Status(v string) predicate.Environment
- func StatusContains(v string) predicate.Environment
- func StatusContainsFold(v string) predicate.Environment
- func StatusEQ(v string) predicate.Environment
- func StatusEqualFold(v string) predicate.Environment
- func StatusGT(v string) predicate.Environment
- func StatusGTE(v string) predicate.Environment
- func StatusHasPrefix(v string) predicate.Environment
- func StatusHasSuffix(v string) predicate.Environment
- func StatusIn(vs ...string) predicate.Environment
- func StatusLT(v string) predicate.Environment
- func StatusLTE(v string) predicate.Environment
- func StatusNEQ(v string) predicate.Environment
- func StatusNotIn(vs ...string) predicate.Environment
- func TenantID(v string) predicate.Environment
- func TenantIDContains(v string) predicate.Environment
- func TenantIDContainsFold(v string) predicate.Environment
- func TenantIDEQ(v string) predicate.Environment
- func TenantIDEqualFold(v string) predicate.Environment
- func TenantIDGT(v string) predicate.Environment
- func TenantIDGTE(v string) predicate.Environment
- func TenantIDHasPrefix(v string) predicate.Environment
- func TenantIDHasSuffix(v string) predicate.Environment
- func TenantIDIn(vs ...string) predicate.Environment
- func TenantIDLT(v string) predicate.Environment
- func TenantIDLTE(v string) predicate.Environment
- func TenantIDNEQ(v string) predicate.Environment
- func TenantIDNotIn(vs ...string) predicate.Environment
- func Type(v string) predicate.Environment
- func TypeContains(v string) predicate.Environment
- func TypeContainsFold(v string) predicate.Environment
- func TypeEQ(v string) predicate.Environment
- func TypeEqualFold(v string) predicate.Environment
- func TypeGT(v string) predicate.Environment
- func TypeGTE(v string) predicate.Environment
- func TypeHasPrefix(v string) predicate.Environment
- func TypeHasSuffix(v string) predicate.Environment
- func TypeIn(vs ...string) predicate.Environment
- func TypeLT(v string) predicate.Environment
- func TypeLTE(v string) predicate.Environment
- func TypeNEQ(v string) predicate.Environment
- func TypeNotIn(vs ...string) predicate.Environment
- func UpdatedAt(v time.Time) predicate.Environment
- func UpdatedAtEQ(v time.Time) predicate.Environment
- func UpdatedAtGT(v time.Time) predicate.Environment
- func UpdatedAtGTE(v time.Time) predicate.Environment
- func UpdatedAtIn(vs ...time.Time) predicate.Environment
- func UpdatedAtLT(v time.Time) predicate.Environment
- func UpdatedAtLTE(v time.Time) predicate.Environment
- func UpdatedAtNEQ(v time.Time) predicate.Environment
- func UpdatedAtNotIn(vs ...time.Time) predicate.Environment
- func UpdatedBy(v string) predicate.Environment
- func UpdatedByContains(v string) predicate.Environment
- func UpdatedByContainsFold(v string) predicate.Environment
- func UpdatedByEQ(v string) predicate.Environment
- func UpdatedByEqualFold(v string) predicate.Environment
- func UpdatedByGT(v string) predicate.Environment
- func UpdatedByGTE(v string) predicate.Environment
- func UpdatedByHasPrefix(v string) predicate.Environment
- func UpdatedByHasSuffix(v string) predicate.Environment
- func UpdatedByIn(vs ...string) predicate.Environment
- func UpdatedByIsNil() predicate.Environment
- func UpdatedByLT(v string) predicate.Environment
- func UpdatedByLTE(v string) predicate.Environment
- func UpdatedByNEQ(v string) predicate.Environment
- func UpdatedByNotIn(vs ...string) predicate.Environment
- func UpdatedByNotNil() predicate.Environment
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByType(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 environment type in the database. Label = "environment" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldType holds the string denoting the type field in the database. FieldType = "type" // Table holds the table name of the environment in the database. Table = "environments" )
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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldName, FieldType, }
Columns holds all SQL columns for environment fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Environment) predicate.Environment
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Environment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Environment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Environment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Environment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Environment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Environment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Environment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Environment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Environment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.Environment
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.Environment
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.Environment
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.Environment
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.Environment
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.Environment
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.Environment
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.Environment
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.Environment
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.Environment
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.Environment
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.Environment
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.Environment
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.Environment
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.Environment
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.Environment
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Environment
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Environment
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Environment
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Environment
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Environment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Environment
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Environment
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Environment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Environment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Environment
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.Environment
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Environment
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Environment
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Environment
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Environment
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Environment
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Environment
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Environment
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Environment
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Environment
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Environment
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Environment
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Environment
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Environment
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Environment) predicate.Environment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Environment) predicate.Environment
Or groups predicates with the OR operator between them.
func Status ¶
func Status(v string) predicate.Environment
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.Environment
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.Environment
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.Environment
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.Environment
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.Environment
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.Environment
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.Environment
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.Environment
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.Environment
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.Environment
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.Environment
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.Environment
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.Environment
StatusNotIn applies the NotIn predicate on the "status" field.
func TenantID ¶
func TenantID(v string) predicate.Environment
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
func TenantIDContains(v string) predicate.Environment
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
func TenantIDContainsFold(v string) predicate.Environment
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
func TenantIDEQ(v string) predicate.Environment
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
func TenantIDEqualFold(v string) predicate.Environment
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v string) predicate.Environment
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v string) predicate.Environment
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
func TenantIDHasPrefix(v string) predicate.Environment
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
func TenantIDHasSuffix(v string) predicate.Environment
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...string) predicate.Environment
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v string) predicate.Environment
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v string) predicate.Environment
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v string) predicate.Environment
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...string) predicate.Environment
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func Type ¶
func Type(v string) predicate.Environment
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.Environment
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.Environment
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.Environment
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.Environment
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.Environment
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.Environment
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.Environment
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.Environment
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.Environment
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.Environment
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.Environment
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.Environment
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.Environment
TypeNotIn applies the NotIn predicate on the "type" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Environment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Environment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Environment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Environment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Environment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Environment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Environment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Environment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Environment
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.Environment
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.Environment
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.Environment
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.Environment
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.Environment
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.Environment
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.Environment
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.Environment
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.Environment
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.Environment
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.Environment
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.Environment
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.Environment
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.Environment
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.Environment
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.Environment
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Environment 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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type 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.