Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkspaceFeatureControl) predicate.WorkspaceFeatureControl
- func Capability(v string) predicate.WorkspaceFeatureControl
- func CapabilityContains(v string) predicate.WorkspaceFeatureControl
- func CapabilityContainsFold(v string) predicate.WorkspaceFeatureControl
- func CapabilityEQ(v string) predicate.WorkspaceFeatureControl
- func CapabilityEqualFold(v string) predicate.WorkspaceFeatureControl
- func CapabilityGT(v string) predicate.WorkspaceFeatureControl
- func CapabilityGTE(v string) predicate.WorkspaceFeatureControl
- func CapabilityHasPrefix(v string) predicate.WorkspaceFeatureControl
- func CapabilityHasSuffix(v string) predicate.WorkspaceFeatureControl
- func CapabilityIn(vs ...string) predicate.WorkspaceFeatureControl
- func CapabilityLT(v string) predicate.WorkspaceFeatureControl
- func CapabilityLTE(v string) predicate.WorkspaceFeatureControl
- func CapabilityNEQ(v string) predicate.WorkspaceFeatureControl
- func CapabilityNotIn(vs ...string) predicate.WorkspaceFeatureControl
- func CreatedAt(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtEQ(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtGT(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtGTE(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtIn(vs ...time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtLT(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtLTE(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtNEQ(v time.Time) predicate.WorkspaceFeatureControl
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkspaceFeatureControl
- func Enabled(v bool) predicate.WorkspaceFeatureControl
- func EnabledEQ(v bool) predicate.WorkspaceFeatureControl
- func EnabledNEQ(v bool) predicate.WorkspaceFeatureControl
- func HasUser() predicate.WorkspaceFeatureControl
- func HasUserWith(preds ...predicate.User) predicate.WorkspaceFeatureControl
- func HasWorkspace() predicate.WorkspaceFeatureControl
- func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.WorkspaceFeatureControl
- func ID(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDEQ(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDGT(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDGTE(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDIn(ids ...uuid.UUID) predicate.WorkspaceFeatureControl
- func IDLT(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDLTE(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDNEQ(id uuid.UUID) predicate.WorkspaceFeatureControl
- func IDNotIn(ids ...uuid.UUID) predicate.WorkspaceFeatureControl
- func Not(p predicate.WorkspaceFeatureControl) predicate.WorkspaceFeatureControl
- func Or(predicates ...predicate.WorkspaceFeatureControl) predicate.WorkspaceFeatureControl
- func ReasonCode(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeContains(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeContainsFold(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeEQ(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeEqualFold(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeGT(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeGTE(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeHasPrefix(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeHasSuffix(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeIn(vs ...string) predicate.WorkspaceFeatureControl
- func ReasonCodeIsNil() predicate.WorkspaceFeatureControl
- func ReasonCodeLT(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeLTE(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeNEQ(v string) predicate.WorkspaceFeatureControl
- func ReasonCodeNotIn(vs ...string) predicate.WorkspaceFeatureControl
- func ReasonCodeNotNil() predicate.WorkspaceFeatureControl
- func RolloutStage(v string) predicate.WorkspaceFeatureControl
- func RolloutStageContains(v string) predicate.WorkspaceFeatureControl
- func RolloutStageContainsFold(v string) predicate.WorkspaceFeatureControl
- func RolloutStageEQ(v string) predicate.WorkspaceFeatureControl
- func RolloutStageEqualFold(v string) predicate.WorkspaceFeatureControl
- func RolloutStageGT(v string) predicate.WorkspaceFeatureControl
- func RolloutStageGTE(v string) predicate.WorkspaceFeatureControl
- func RolloutStageHasPrefix(v string) predicate.WorkspaceFeatureControl
- func RolloutStageHasSuffix(v string) predicate.WorkspaceFeatureControl
- func RolloutStageIn(vs ...string) predicate.WorkspaceFeatureControl
- func RolloutStageLT(v string) predicate.WorkspaceFeatureControl
- func RolloutStageLTE(v string) predicate.WorkspaceFeatureControl
- func RolloutStageNEQ(v string) predicate.WorkspaceFeatureControl
- func RolloutStageNotIn(vs ...string) predicate.WorkspaceFeatureControl
- func UpdatedAt(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtEQ(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtGT(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtGTE(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtIn(vs ...time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtLT(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtLTE(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtNEQ(v time.Time) predicate.WorkspaceFeatureControl
- func UpdatedAtNotIn(vs ...time.Time) predicate.WorkspaceFeatureControl
- func ValidColumn(column string) bool
- type OrderOption
- func ByCapability(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByReasonCode(opts ...sql.OrderTermOption) OrderOption
- func ByRolloutStage(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workspacefeaturecontrol type in the database. Label = "workspace_feature_control" // 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" // FieldCapability holds the string denoting the capability field in the database. FieldCapability = "capability" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldRolloutStage holds the string denoting the rollout_stage field in the database. FieldRolloutStage = "rollout_stage" // FieldReasonCode holds the string denoting the reason_code field in the database. FieldReasonCode = "reason_code" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the workspacefeaturecontrol in the database. Table = "workspace_feature_controls" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "workspace_feature_controls" // WorkspaceInverseTable is the table name for the RevenueWorkspace entity. // It exists in this package in order to avoid circular dependency with the "revenueworkspace" package. WorkspaceInverseTable = "revenue_workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "revenue_workspace_id" // UserTable is the table that holds the user relation/edge. UserTable = "workspace_feature_controls" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_workspace_feature_controls" )
Variables ¶
var ( Hooks [1]ent.Hook Policy ent.Policy // 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 // CapabilityValidator is a validator for the "capability" field. It is called by the builders before save. CapabilityValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // DefaultRolloutStage holds the default value on creation for the "rollout_stage" field. DefaultRolloutStage string // RolloutStageValidator is a validator for the "rollout_stage" field. It is called by the builders before save. RolloutStageValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCapability, FieldEnabled, FieldRolloutStage, FieldReasonCode, }
Columns holds all SQL columns for workspacefeaturecontrol fields.
var ForeignKeys = []string{
"revenue_workspace_id",
"user_workspace_feature_controls",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workspace_feature_controls" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkspaceFeatureControl) predicate.WorkspaceFeatureControl
And groups predicates with the AND operator between them.
func Capability ¶
func Capability(v string) predicate.WorkspaceFeatureControl
Capability applies equality check predicate on the "capability" field. It's identical to CapabilityEQ.
func CapabilityContains ¶
func CapabilityContains(v string) predicate.WorkspaceFeatureControl
CapabilityContains applies the Contains predicate on the "capability" field.
func CapabilityContainsFold ¶
func CapabilityContainsFold(v string) predicate.WorkspaceFeatureControl
CapabilityContainsFold applies the ContainsFold predicate on the "capability" field.
func CapabilityEQ ¶
func CapabilityEQ(v string) predicate.WorkspaceFeatureControl
CapabilityEQ applies the EQ predicate on the "capability" field.
func CapabilityEqualFold ¶
func CapabilityEqualFold(v string) predicate.WorkspaceFeatureControl
CapabilityEqualFold applies the EqualFold predicate on the "capability" field.
func CapabilityGT ¶
func CapabilityGT(v string) predicate.WorkspaceFeatureControl
CapabilityGT applies the GT predicate on the "capability" field.
func CapabilityGTE ¶
func CapabilityGTE(v string) predicate.WorkspaceFeatureControl
CapabilityGTE applies the GTE predicate on the "capability" field.
func CapabilityHasPrefix ¶
func CapabilityHasPrefix(v string) predicate.WorkspaceFeatureControl
CapabilityHasPrefix applies the HasPrefix predicate on the "capability" field.
func CapabilityHasSuffix ¶
func CapabilityHasSuffix(v string) predicate.WorkspaceFeatureControl
CapabilityHasSuffix applies the HasSuffix predicate on the "capability" field.
func CapabilityIn ¶
func CapabilityIn(vs ...string) predicate.WorkspaceFeatureControl
CapabilityIn applies the In predicate on the "capability" field.
func CapabilityLT ¶
func CapabilityLT(v string) predicate.WorkspaceFeatureControl
CapabilityLT applies the LT predicate on the "capability" field.
func CapabilityLTE ¶
func CapabilityLTE(v string) predicate.WorkspaceFeatureControl
CapabilityLTE applies the LTE predicate on the "capability" field.
func CapabilityNEQ ¶
func CapabilityNEQ(v string) predicate.WorkspaceFeatureControl
CapabilityNEQ applies the NEQ predicate on the "capability" field.
func CapabilityNotIn ¶
func CapabilityNotIn(vs ...string) predicate.WorkspaceFeatureControl
CapabilityNotIn applies the NotIn predicate on the "capability" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkspaceFeatureControl
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkspaceFeatureControl
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkspaceFeatureControl
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkspaceFeatureControl
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Enabled ¶
func Enabled(v bool) predicate.WorkspaceFeatureControl
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.WorkspaceFeatureControl
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.WorkspaceFeatureControl
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasUser ¶
func HasUser() predicate.WorkspaceFeatureControl
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.WorkspaceFeatureControl
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasWorkspace ¶
func HasWorkspace() predicate.WorkspaceFeatureControl
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.WorkspaceFeatureControl
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.WorkspaceFeatureControl
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkspaceFeatureControl
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkspaceFeatureControl
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkspaceFeatureControl
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkspaceFeatureControl
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkspaceFeatureControl
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkspaceFeatureControl
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkspaceFeatureControl
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkspaceFeatureControl
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.WorkspaceFeatureControl) predicate.WorkspaceFeatureControl
Or groups predicates with the OR operator between them.
func ReasonCode ¶
func ReasonCode(v string) predicate.WorkspaceFeatureControl
ReasonCode applies equality check predicate on the "reason_code" field. It's identical to ReasonCodeEQ.
func ReasonCodeContains ¶
func ReasonCodeContains(v string) predicate.WorkspaceFeatureControl
ReasonCodeContains applies the Contains predicate on the "reason_code" field.
func ReasonCodeContainsFold ¶
func ReasonCodeContainsFold(v string) predicate.WorkspaceFeatureControl
ReasonCodeContainsFold applies the ContainsFold predicate on the "reason_code" field.
func ReasonCodeEQ ¶
func ReasonCodeEQ(v string) predicate.WorkspaceFeatureControl
ReasonCodeEQ applies the EQ predicate on the "reason_code" field.
func ReasonCodeEqualFold ¶
func ReasonCodeEqualFold(v string) predicate.WorkspaceFeatureControl
ReasonCodeEqualFold applies the EqualFold predicate on the "reason_code" field.
func ReasonCodeGT ¶
func ReasonCodeGT(v string) predicate.WorkspaceFeatureControl
ReasonCodeGT applies the GT predicate on the "reason_code" field.
func ReasonCodeGTE ¶
func ReasonCodeGTE(v string) predicate.WorkspaceFeatureControl
ReasonCodeGTE applies the GTE predicate on the "reason_code" field.
func ReasonCodeHasPrefix ¶
func ReasonCodeHasPrefix(v string) predicate.WorkspaceFeatureControl
ReasonCodeHasPrefix applies the HasPrefix predicate on the "reason_code" field.
func ReasonCodeHasSuffix ¶
func ReasonCodeHasSuffix(v string) predicate.WorkspaceFeatureControl
ReasonCodeHasSuffix applies the HasSuffix predicate on the "reason_code" field.
func ReasonCodeIn ¶
func ReasonCodeIn(vs ...string) predicate.WorkspaceFeatureControl
ReasonCodeIn applies the In predicate on the "reason_code" field.
func ReasonCodeIsNil ¶
func ReasonCodeIsNil() predicate.WorkspaceFeatureControl
ReasonCodeIsNil applies the IsNil predicate on the "reason_code" field.
func ReasonCodeLT ¶
func ReasonCodeLT(v string) predicate.WorkspaceFeatureControl
ReasonCodeLT applies the LT predicate on the "reason_code" field.
func ReasonCodeLTE ¶
func ReasonCodeLTE(v string) predicate.WorkspaceFeatureControl
ReasonCodeLTE applies the LTE predicate on the "reason_code" field.
func ReasonCodeNEQ ¶
func ReasonCodeNEQ(v string) predicate.WorkspaceFeatureControl
ReasonCodeNEQ applies the NEQ predicate on the "reason_code" field.
func ReasonCodeNotIn ¶
func ReasonCodeNotIn(vs ...string) predicate.WorkspaceFeatureControl
ReasonCodeNotIn applies the NotIn predicate on the "reason_code" field.
func ReasonCodeNotNil ¶
func ReasonCodeNotNil() predicate.WorkspaceFeatureControl
ReasonCodeNotNil applies the NotNil predicate on the "reason_code" field.
func RolloutStage ¶
func RolloutStage(v string) predicate.WorkspaceFeatureControl
RolloutStage applies equality check predicate on the "rollout_stage" field. It's identical to RolloutStageEQ.
func RolloutStageContains ¶
func RolloutStageContains(v string) predicate.WorkspaceFeatureControl
RolloutStageContains applies the Contains predicate on the "rollout_stage" field.
func RolloutStageContainsFold ¶
func RolloutStageContainsFold(v string) predicate.WorkspaceFeatureControl
RolloutStageContainsFold applies the ContainsFold predicate on the "rollout_stage" field.
func RolloutStageEQ ¶
func RolloutStageEQ(v string) predicate.WorkspaceFeatureControl
RolloutStageEQ applies the EQ predicate on the "rollout_stage" field.
func RolloutStageEqualFold ¶
func RolloutStageEqualFold(v string) predicate.WorkspaceFeatureControl
RolloutStageEqualFold applies the EqualFold predicate on the "rollout_stage" field.
func RolloutStageGT ¶
func RolloutStageGT(v string) predicate.WorkspaceFeatureControl
RolloutStageGT applies the GT predicate on the "rollout_stage" field.
func RolloutStageGTE ¶
func RolloutStageGTE(v string) predicate.WorkspaceFeatureControl
RolloutStageGTE applies the GTE predicate on the "rollout_stage" field.
func RolloutStageHasPrefix ¶
func RolloutStageHasPrefix(v string) predicate.WorkspaceFeatureControl
RolloutStageHasPrefix applies the HasPrefix predicate on the "rollout_stage" field.
func RolloutStageHasSuffix ¶
func RolloutStageHasSuffix(v string) predicate.WorkspaceFeatureControl
RolloutStageHasSuffix applies the HasSuffix predicate on the "rollout_stage" field.
func RolloutStageIn ¶
func RolloutStageIn(vs ...string) predicate.WorkspaceFeatureControl
RolloutStageIn applies the In predicate on the "rollout_stage" field.
func RolloutStageLT ¶
func RolloutStageLT(v string) predicate.WorkspaceFeatureControl
RolloutStageLT applies the LT predicate on the "rollout_stage" field.
func RolloutStageLTE ¶
func RolloutStageLTE(v string) predicate.WorkspaceFeatureControl
RolloutStageLTE applies the LTE predicate on the "rollout_stage" field.
func RolloutStageNEQ ¶
func RolloutStageNEQ(v string) predicate.WorkspaceFeatureControl
RolloutStageNEQ applies the NEQ predicate on the "rollout_stage" field.
func RolloutStageNotIn ¶
func RolloutStageNotIn(vs ...string) predicate.WorkspaceFeatureControl
RolloutStageNotIn applies the NotIn predicate on the "rollout_stage" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.WorkspaceFeatureControl
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.WorkspaceFeatureControl
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.WorkspaceFeatureControl
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkspaceFeatureControl queries.
func ByCapability ¶
func ByCapability(opts ...sql.OrderTermOption) OrderOption
ByCapability orders the results by the capability field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByReasonCode ¶
func ByReasonCode(opts ...sql.OrderTermOption) OrderOption
ByReasonCode orders the results by the reason_code field.
func ByRolloutStage ¶
func ByRolloutStage(opts ...sql.OrderTermOption) OrderOption
ByRolloutStage orders the results by the rollout_stage field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.