Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DecisionDef) predicate.DecisionDef
- func AppID(v int) predicate.DecisionDef
- func AppIDEQ(v int) predicate.DecisionDef
- func AppIDGT(v int) predicate.DecisionDef
- func AppIDGTE(v int) predicate.DecisionDef
- func AppIDIn(vs ...int) predicate.DecisionDef
- func AppIDLT(v int) predicate.DecisionDef
- func AppIDLTE(v int) predicate.DecisionDef
- func AppIDNEQ(v int) predicate.DecisionDef
- func AppIDNotIn(vs ...int) predicate.DecisionDef
- func Category(v string) predicate.DecisionDef
- func CategoryContains(v string) predicate.DecisionDef
- func CategoryContainsFold(v string) predicate.DecisionDef
- func CategoryEQ(v string) predicate.DecisionDef
- func CategoryEqualFold(v string) predicate.DecisionDef
- func CategoryGT(v string) predicate.DecisionDef
- func CategoryGTE(v string) predicate.DecisionDef
- func CategoryHasPrefix(v string) predicate.DecisionDef
- func CategoryHasSuffix(v string) predicate.DecisionDef
- func CategoryIn(vs ...string) predicate.DecisionDef
- func CategoryIsNil() predicate.DecisionDef
- func CategoryLT(v string) predicate.DecisionDef
- func CategoryLTE(v string) predicate.DecisionDef
- func CategoryNEQ(v string) predicate.DecisionDef
- func CategoryNotIn(vs ...string) predicate.DecisionDef
- func CategoryNotNil() predicate.DecisionDef
- func CreatedAt(v time.Time) predicate.DecisionDef
- func CreatedAtEQ(v time.Time) predicate.DecisionDef
- func CreatedAtGT(v time.Time) predicate.DecisionDef
- func CreatedAtGTE(v time.Time) predicate.DecisionDef
- func CreatedAtIn(vs ...time.Time) predicate.DecisionDef
- func CreatedAtLT(v time.Time) predicate.DecisionDef
- func CreatedAtLTE(v time.Time) predicate.DecisionDef
- func CreatedAtNEQ(v time.Time) predicate.DecisionDef
- func CreatedAtNotIn(vs ...time.Time) predicate.DecisionDef
- func CreatedBy(v int) predicate.DecisionDef
- func CreatedByEQ(v int) predicate.DecisionDef
- func CreatedByGT(v int) predicate.DecisionDef
- func CreatedByGTE(v int) predicate.DecisionDef
- func CreatedByIn(vs ...int) predicate.DecisionDef
- func CreatedByLT(v int) predicate.DecisionDef
- func CreatedByLTE(v int) predicate.DecisionDef
- func CreatedByNEQ(v int) predicate.DecisionDef
- func CreatedByNotIn(vs ...int) predicate.DecisionDef
- func DeploymentID(v int) predicate.DecisionDef
- func DeploymentIDEQ(v int) predicate.DecisionDef
- func DeploymentIDGT(v int) predicate.DecisionDef
- func DeploymentIDGTE(v int) predicate.DecisionDef
- func DeploymentIDIn(vs ...int) predicate.DecisionDef
- func DeploymentIDLT(v int) predicate.DecisionDef
- func DeploymentIDLTE(v int) predicate.DecisionDef
- func DeploymentIDNEQ(v int) predicate.DecisionDef
- func DeploymentIDNotIn(vs ...int) predicate.DecisionDef
- func HasReqDef() predicate.DecisionDef
- func HasReqDefWith(preds ...predicate.DecisionReqDef) predicate.DecisionDef
- func ID(id int) predicate.DecisionDef
- func IDEQ(id int) predicate.DecisionDef
- func IDGT(id int) predicate.DecisionDef
- func IDGTE(id int) predicate.DecisionDef
- func IDIn(ids ...int) predicate.DecisionDef
- func IDLT(id int) predicate.DecisionDef
- func IDLTE(id int) predicate.DecisionDef
- func IDNEQ(id int) predicate.DecisionDef
- func IDNotIn(ids ...int) predicate.DecisionDef
- func Key(v string) predicate.DecisionDef
- func KeyContains(v string) predicate.DecisionDef
- func KeyContainsFold(v string) predicate.DecisionDef
- func KeyEQ(v string) predicate.DecisionDef
- func KeyEqualFold(v string) predicate.DecisionDef
- func KeyGT(v string) predicate.DecisionDef
- func KeyGTE(v string) predicate.DecisionDef
- func KeyHasPrefix(v string) predicate.DecisionDef
- func KeyHasSuffix(v string) predicate.DecisionDef
- func KeyIn(vs ...string) predicate.DecisionDef
- func KeyLT(v string) predicate.DecisionDef
- func KeyLTE(v string) predicate.DecisionDef
- func KeyNEQ(v string) predicate.DecisionDef
- func KeyNotIn(vs ...string) predicate.DecisionDef
- func Name(v string) predicate.DecisionDef
- func NameContains(v string) predicate.DecisionDef
- func NameContainsFold(v string) predicate.DecisionDef
- func NameEQ(v string) predicate.DecisionDef
- func NameEqualFold(v string) predicate.DecisionDef
- func NameGT(v string) predicate.DecisionDef
- func NameGTE(v string) predicate.DecisionDef
- func NameHasPrefix(v string) predicate.DecisionDef
- func NameHasSuffix(v string) predicate.DecisionDef
- func NameIn(vs ...string) predicate.DecisionDef
- func NameIsNil() predicate.DecisionDef
- func NameLT(v string) predicate.DecisionDef
- func NameLTE(v string) predicate.DecisionDef
- func NameNEQ(v string) predicate.DecisionDef
- func NameNotIn(vs ...string) predicate.DecisionDef
- func NameNotNil() predicate.DecisionDef
- func Not(p predicate.DecisionDef) predicate.DecisionDef
- func Or(predicates ...predicate.DecisionDef) predicate.DecisionDef
- func ReqDefID(v int) predicate.DecisionDef
- func ReqDefIDEQ(v int) predicate.DecisionDef
- func ReqDefIDIn(vs ...int) predicate.DecisionDef
- func ReqDefIDNEQ(v int) predicate.DecisionDef
- func ReqDefIDNotIn(vs ...int) predicate.DecisionDef
- func ReqDefKey(v string) predicate.DecisionDef
- func ReqDefKeyContains(v string) predicate.DecisionDef
- func ReqDefKeyContainsFold(v string) predicate.DecisionDef
- func ReqDefKeyEQ(v string) predicate.DecisionDef
- func ReqDefKeyEqualFold(v string) predicate.DecisionDef
- func ReqDefKeyGT(v string) predicate.DecisionDef
- func ReqDefKeyGTE(v string) predicate.DecisionDef
- func ReqDefKeyHasPrefix(v string) predicate.DecisionDef
- func ReqDefKeyHasSuffix(v string) predicate.DecisionDef
- func ReqDefKeyIn(vs ...string) predicate.DecisionDef
- func ReqDefKeyLT(v string) predicate.DecisionDef
- func ReqDefKeyLTE(v string) predicate.DecisionDef
- func ReqDefKeyNEQ(v string) predicate.DecisionDef
- func ReqDefKeyNotIn(vs ...string) predicate.DecisionDef
- func Revision(v int32) predicate.DecisionDef
- func RevisionEQ(v int32) predicate.DecisionDef
- func RevisionGT(v int32) predicate.DecisionDef
- func RevisionGTE(v int32) predicate.DecisionDef
- func RevisionIn(vs ...int32) predicate.DecisionDef
- func RevisionIsNil() predicate.DecisionDef
- func RevisionLT(v int32) predicate.DecisionDef
- func RevisionLTE(v int32) predicate.DecisionDef
- func RevisionNEQ(v int32) predicate.DecisionDef
- func RevisionNotIn(vs ...int32) predicate.DecisionDef
- func RevisionNotNil() predicate.DecisionDef
- func TenantID(v int) predicate.DecisionDef
- func TenantIDEQ(v int) predicate.DecisionDef
- func TenantIDGT(v int) predicate.DecisionDef
- func TenantIDGTE(v int) predicate.DecisionDef
- func TenantIDIn(vs ...int) predicate.DecisionDef
- func TenantIDLT(v int) predicate.DecisionDef
- func TenantIDLTE(v int) predicate.DecisionDef
- func TenantIDNEQ(v int) predicate.DecisionDef
- func TenantIDNotIn(vs ...int) predicate.DecisionDef
- func UpdatedAt(v time.Time) predicate.DecisionDef
- func UpdatedAtEQ(v time.Time) predicate.DecisionDef
- func UpdatedAtGT(v time.Time) predicate.DecisionDef
- func UpdatedAtGTE(v time.Time) predicate.DecisionDef
- func UpdatedAtIn(vs ...time.Time) predicate.DecisionDef
- func UpdatedAtIsNil() predicate.DecisionDef
- func UpdatedAtLT(v time.Time) predicate.DecisionDef
- func UpdatedAtLTE(v time.Time) predicate.DecisionDef
- func UpdatedAtNEQ(v time.Time) predicate.DecisionDef
- func UpdatedAtNotIn(vs ...time.Time) predicate.DecisionDef
- func UpdatedAtNotNil() predicate.DecisionDef
- func UpdatedBy(v int) predicate.DecisionDef
- func UpdatedByEQ(v int) predicate.DecisionDef
- func UpdatedByGT(v int) predicate.DecisionDef
- func UpdatedByGTE(v int) predicate.DecisionDef
- func UpdatedByIn(vs ...int) predicate.DecisionDef
- func UpdatedByIsNil() predicate.DecisionDef
- func UpdatedByLT(v int) predicate.DecisionDef
- func UpdatedByLTE(v int) predicate.DecisionDef
- func UpdatedByNEQ(v int) predicate.DecisionDef
- func UpdatedByNotIn(vs ...int) predicate.DecisionDef
- func UpdatedByNotNil() predicate.DecisionDef
- func ValidColumn(column string) bool
- func Version(v int32) predicate.DecisionDef
- func VersionEQ(v int32) predicate.DecisionDef
- func VersionGT(v int32) predicate.DecisionDef
- func VersionGTE(v int32) predicate.DecisionDef
- func VersionIn(vs ...int32) predicate.DecisionDef
- func VersionLT(v int32) predicate.DecisionDef
- func VersionLTE(v int32) predicate.DecisionDef
- func VersionNEQ(v int32) predicate.DecisionDef
- func VersionNotIn(vs ...int32) predicate.DecisionDef
- func VersionTag(v string) predicate.DecisionDef
- func VersionTagContains(v string) predicate.DecisionDef
- func VersionTagContainsFold(v string) predicate.DecisionDef
- func VersionTagEQ(v string) predicate.DecisionDef
- func VersionTagEqualFold(v string) predicate.DecisionDef
- func VersionTagGT(v string) predicate.DecisionDef
- func VersionTagGTE(v string) predicate.DecisionDef
- func VersionTagHasPrefix(v string) predicate.DecisionDef
- func VersionTagHasSuffix(v string) predicate.DecisionDef
- func VersionTagIn(vs ...string) predicate.DecisionDef
- func VersionTagIsNil() predicate.DecisionDef
- func VersionTagLT(v string) predicate.DecisionDef
- func VersionTagLTE(v string) predicate.DecisionDef
- func VersionTagNEQ(v string) predicate.DecisionDef
- func VersionTagNotIn(vs ...string) predicate.DecisionDef
- func VersionTagNotNil() predicate.DecisionDef
- type OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeploymentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByReqDefField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReqDefID(opts ...sql.OrderTermOption) OrderOption
- func ByReqDefKey(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByVersionTag(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the decisiondef type in the database. Label = "decision_def" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldDeploymentID holds the string denoting the deployment_id field in the database. FieldDeploymentID = "deployment_id" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldReqDefID holds the string denoting the req_def_id field in the database. FieldReqDefID = "req_def_id" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // 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" // FieldReqDefKey holds the string denoting the req_def_key field in the database. FieldReqDefKey = "req_def_key" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // FieldVersionTag holds the string denoting the version_tag field in the database. FieldVersionTag = "version_tag" // EdgeReqDef holds the string denoting the req_def edge name in mutations. EdgeReqDef = "req_def" // Table holds the table name of the decisiondef in the database. Table = "act_decision_def" // ReqDefTable is the table that holds the req_def relation/edge. ReqDefTable = "act_decision_def" // ReqDefInverseTable is the table name for the DecisionReqDef entity. // It exists in this package in order to avoid circular dependency with the "decisionreqdef" package. ReqDefInverseTable = "act_decision_req_def" // ReqDefColumn is the table column denoting the req_def relation/edge. ReqDefColumn = "req_def_id" )
Variables ¶
var ( Hooks [2]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() int )
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/woocoos/workflow/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldTenantID, FieldDeploymentID, FieldAppID, FieldReqDefID, FieldCategory, FieldName, FieldKey, FieldReqDefKey, FieldVersion, FieldRevision, FieldVersionTag, }
Columns holds all SQL columns for decisiondef fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DecisionDef) predicate.DecisionDef
And groups predicates with the AND operator between them.
func AppID ¶
func AppID(v int) predicate.DecisionDef
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDEQ ¶
func AppIDEQ(v int) predicate.DecisionDef
AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDGT ¶
func AppIDGT(v int) predicate.DecisionDef
AppIDGT applies the GT predicate on the "app_id" field.
func AppIDGTE ¶
func AppIDGTE(v int) predicate.DecisionDef
AppIDGTE applies the GTE predicate on the "app_id" field.
func AppIDIn ¶
func AppIDIn(vs ...int) predicate.DecisionDef
AppIDIn applies the In predicate on the "app_id" field.
func AppIDLT ¶
func AppIDLT(v int) predicate.DecisionDef
AppIDLT applies the LT predicate on the "app_id" field.
func AppIDLTE ¶
func AppIDLTE(v int) predicate.DecisionDef
AppIDLTE applies the LTE predicate on the "app_id" field.
func AppIDNEQ ¶
func AppIDNEQ(v int) predicate.DecisionDef
AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNotIn ¶
func AppIDNotIn(vs ...int) predicate.DecisionDef
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func Category ¶
func Category(v string) predicate.DecisionDef
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
func CategoryContains(v string) predicate.DecisionDef
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
func CategoryContainsFold(v string) predicate.DecisionDef
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
func CategoryEQ(v string) predicate.DecisionDef
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
func CategoryEqualFold(v string) predicate.DecisionDef
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
func CategoryGT(v string) predicate.DecisionDef
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
func CategoryGTE(v string) predicate.DecisionDef
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
func CategoryHasPrefix(v string) predicate.DecisionDef
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
func CategoryHasSuffix(v string) predicate.DecisionDef
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
func CategoryIn(vs ...string) predicate.DecisionDef
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
func CategoryIsNil() predicate.DecisionDef
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
func CategoryLT(v string) predicate.DecisionDef
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
func CategoryLTE(v string) predicate.DecisionDef
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
func CategoryNEQ(v string) predicate.DecisionDef
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
func CategoryNotIn(vs ...string) predicate.DecisionDef
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
func CategoryNotNil() predicate.DecisionDef
CategoryNotNil applies the NotNil predicate on the "category" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DecisionDef
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DecisionDef
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DecisionDef
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DecisionDef
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DecisionDef
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DecisionDef
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DecisionDef
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DecisionDef
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DecisionDef
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.DecisionDef
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.DecisionDef
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.DecisionDef
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.DecisionDef
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.DecisionDef
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.DecisionDef
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.DecisionDef
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.DecisionDef
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.DecisionDef
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeploymentID ¶
func DeploymentID(v int) predicate.DecisionDef
DeploymentID applies equality check predicate on the "deployment_id" field. It's identical to DeploymentIDEQ.
func DeploymentIDEQ ¶
func DeploymentIDEQ(v int) predicate.DecisionDef
DeploymentIDEQ applies the EQ predicate on the "deployment_id" field.
func DeploymentIDGT ¶
func DeploymentIDGT(v int) predicate.DecisionDef
DeploymentIDGT applies the GT predicate on the "deployment_id" field.
func DeploymentIDGTE ¶
func DeploymentIDGTE(v int) predicate.DecisionDef
DeploymentIDGTE applies the GTE predicate on the "deployment_id" field.
func DeploymentIDIn ¶
func DeploymentIDIn(vs ...int) predicate.DecisionDef
DeploymentIDIn applies the In predicate on the "deployment_id" field.
func DeploymentIDLT ¶
func DeploymentIDLT(v int) predicate.DecisionDef
DeploymentIDLT applies the LT predicate on the "deployment_id" field.
func DeploymentIDLTE ¶
func DeploymentIDLTE(v int) predicate.DecisionDef
DeploymentIDLTE applies the LTE predicate on the "deployment_id" field.
func DeploymentIDNEQ ¶
func DeploymentIDNEQ(v int) predicate.DecisionDef
DeploymentIDNEQ applies the NEQ predicate on the "deployment_id" field.
func DeploymentIDNotIn ¶
func DeploymentIDNotIn(vs ...int) predicate.DecisionDef
DeploymentIDNotIn applies the NotIn predicate on the "deployment_id" field.
func HasReqDef ¶
func HasReqDef() predicate.DecisionDef
HasReqDef applies the HasEdge predicate on the "req_def" edge.
func HasReqDefWith ¶
func HasReqDefWith(preds ...predicate.DecisionReqDef) predicate.DecisionDef
HasReqDefWith applies the HasEdge predicate on the "req_def" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.DecisionDef
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DecisionDef
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DecisionDef
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DecisionDef
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DecisionDef
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.DecisionDef
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.DecisionDef
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.DecisionDef
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.DecisionDef
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.DecisionDef
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.DecisionDef
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.DecisionDef
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.DecisionDef
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.DecisionDef
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.DecisionDef
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.DecisionDef
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.DecisionDef
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.DecisionDef
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.DecisionDef
KeyNotIn applies the NotIn predicate on the "key" field.
func Name ¶
func Name(v string) predicate.DecisionDef
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.DecisionDef
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.DecisionDef
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.DecisionDef
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.DecisionDef
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.DecisionDef
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.DecisionDef
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.DecisionDef
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.DecisionDef
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.DecisionDef
NameIn applies the In predicate on the "name" field.
func NameIsNil ¶
func NameIsNil() predicate.DecisionDef
NameIsNil applies the IsNil predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.DecisionDef
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.DecisionDef
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.DecisionDef
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.DecisionDef
NameNotIn applies the NotIn predicate on the "name" field.
func NameNotNil ¶
func NameNotNil() predicate.DecisionDef
NameNotNil applies the NotNil predicate on the "name" field.
func Not ¶
func Not(p predicate.DecisionDef) predicate.DecisionDef
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DecisionDef) predicate.DecisionDef
Or groups predicates with the OR operator between them.
func ReqDefID ¶
func ReqDefID(v int) predicate.DecisionDef
ReqDefID applies equality check predicate on the "req_def_id" field. It's identical to ReqDefIDEQ.
func ReqDefIDEQ ¶
func ReqDefIDEQ(v int) predicate.DecisionDef
ReqDefIDEQ applies the EQ predicate on the "req_def_id" field.
func ReqDefIDIn ¶
func ReqDefIDIn(vs ...int) predicate.DecisionDef
ReqDefIDIn applies the In predicate on the "req_def_id" field.
func ReqDefIDNEQ ¶
func ReqDefIDNEQ(v int) predicate.DecisionDef
ReqDefIDNEQ applies the NEQ predicate on the "req_def_id" field.
func ReqDefIDNotIn ¶
func ReqDefIDNotIn(vs ...int) predicate.DecisionDef
ReqDefIDNotIn applies the NotIn predicate on the "req_def_id" field.
func ReqDefKey ¶
func ReqDefKey(v string) predicate.DecisionDef
ReqDefKey applies equality check predicate on the "req_def_key" field. It's identical to ReqDefKeyEQ.
func ReqDefKeyContains ¶
func ReqDefKeyContains(v string) predicate.DecisionDef
ReqDefKeyContains applies the Contains predicate on the "req_def_key" field.
func ReqDefKeyContainsFold ¶
func ReqDefKeyContainsFold(v string) predicate.DecisionDef
ReqDefKeyContainsFold applies the ContainsFold predicate on the "req_def_key" field.
func ReqDefKeyEQ ¶
func ReqDefKeyEQ(v string) predicate.DecisionDef
ReqDefKeyEQ applies the EQ predicate on the "req_def_key" field.
func ReqDefKeyEqualFold ¶
func ReqDefKeyEqualFold(v string) predicate.DecisionDef
ReqDefKeyEqualFold applies the EqualFold predicate on the "req_def_key" field.
func ReqDefKeyGT ¶
func ReqDefKeyGT(v string) predicate.DecisionDef
ReqDefKeyGT applies the GT predicate on the "req_def_key" field.
func ReqDefKeyGTE ¶
func ReqDefKeyGTE(v string) predicate.DecisionDef
ReqDefKeyGTE applies the GTE predicate on the "req_def_key" field.
func ReqDefKeyHasPrefix ¶
func ReqDefKeyHasPrefix(v string) predicate.DecisionDef
ReqDefKeyHasPrefix applies the HasPrefix predicate on the "req_def_key" field.
func ReqDefKeyHasSuffix ¶
func ReqDefKeyHasSuffix(v string) predicate.DecisionDef
ReqDefKeyHasSuffix applies the HasSuffix predicate on the "req_def_key" field.
func ReqDefKeyIn ¶
func ReqDefKeyIn(vs ...string) predicate.DecisionDef
ReqDefKeyIn applies the In predicate on the "req_def_key" field.
func ReqDefKeyLT ¶
func ReqDefKeyLT(v string) predicate.DecisionDef
ReqDefKeyLT applies the LT predicate on the "req_def_key" field.
func ReqDefKeyLTE ¶
func ReqDefKeyLTE(v string) predicate.DecisionDef
ReqDefKeyLTE applies the LTE predicate on the "req_def_key" field.
func ReqDefKeyNEQ ¶
func ReqDefKeyNEQ(v string) predicate.DecisionDef
ReqDefKeyNEQ applies the NEQ predicate on the "req_def_key" field.
func ReqDefKeyNotIn ¶
func ReqDefKeyNotIn(vs ...string) predicate.DecisionDef
ReqDefKeyNotIn applies the NotIn predicate on the "req_def_key" field.
func Revision ¶
func Revision(v int32) predicate.DecisionDef
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
func RevisionEQ(v int32) predicate.DecisionDef
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
func RevisionGT(v int32) predicate.DecisionDef
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
func RevisionGTE(v int32) predicate.DecisionDef
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
func RevisionIn(vs ...int32) predicate.DecisionDef
RevisionIn applies the In predicate on the "revision" field.
func RevisionIsNil ¶
func RevisionIsNil() predicate.DecisionDef
RevisionIsNil applies the IsNil predicate on the "revision" field.
func RevisionLT ¶
func RevisionLT(v int32) predicate.DecisionDef
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
func RevisionLTE(v int32) predicate.DecisionDef
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
func RevisionNEQ(v int32) predicate.DecisionDef
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
func RevisionNotIn(vs ...int32) predicate.DecisionDef
RevisionNotIn applies the NotIn predicate on the "revision" field.
func RevisionNotNil ¶
func RevisionNotNil() predicate.DecisionDef
RevisionNotNil applies the NotNil predicate on the "revision" field.
func TenantID ¶
func TenantID(v int) predicate.DecisionDef
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.DecisionDef
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.DecisionDef
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.DecisionDef
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.DecisionDef
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.DecisionDef
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.DecisionDef
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.DecisionDef
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.DecisionDef
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DecisionDef
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DecisionDef
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DecisionDef
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DecisionDef
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DecisionDef
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.DecisionDef
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DecisionDef
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DecisionDef
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DecisionDef
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DecisionDef
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.DecisionDef
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.DecisionDef
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.DecisionDef
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.DecisionDef
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.DecisionDef
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.DecisionDef
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.DecisionDef
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.DecisionDef
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.DecisionDef
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.DecisionDef
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.DecisionDef
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.DecisionDef
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 Version ¶
func Version(v int32) predicate.DecisionDef
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int32) predicate.DecisionDef
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int32) predicate.DecisionDef
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int32) predicate.DecisionDef
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int32) predicate.DecisionDef
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int32) predicate.DecisionDef
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int32) predicate.DecisionDef
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int32) predicate.DecisionDef
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int32) predicate.DecisionDef
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionTag ¶
func VersionTag(v string) predicate.DecisionDef
VersionTag applies equality check predicate on the "version_tag" field. It's identical to VersionTagEQ.
func VersionTagContains ¶
func VersionTagContains(v string) predicate.DecisionDef
VersionTagContains applies the Contains predicate on the "version_tag" field.
func VersionTagContainsFold ¶
func VersionTagContainsFold(v string) predicate.DecisionDef
VersionTagContainsFold applies the ContainsFold predicate on the "version_tag" field.
func VersionTagEQ ¶
func VersionTagEQ(v string) predicate.DecisionDef
VersionTagEQ applies the EQ predicate on the "version_tag" field.
func VersionTagEqualFold ¶
func VersionTagEqualFold(v string) predicate.DecisionDef
VersionTagEqualFold applies the EqualFold predicate on the "version_tag" field.
func VersionTagGT ¶
func VersionTagGT(v string) predicate.DecisionDef
VersionTagGT applies the GT predicate on the "version_tag" field.
func VersionTagGTE ¶
func VersionTagGTE(v string) predicate.DecisionDef
VersionTagGTE applies the GTE predicate on the "version_tag" field.
func VersionTagHasPrefix ¶
func VersionTagHasPrefix(v string) predicate.DecisionDef
VersionTagHasPrefix applies the HasPrefix predicate on the "version_tag" field.
func VersionTagHasSuffix ¶
func VersionTagHasSuffix(v string) predicate.DecisionDef
VersionTagHasSuffix applies the HasSuffix predicate on the "version_tag" field.
func VersionTagIn ¶
func VersionTagIn(vs ...string) predicate.DecisionDef
VersionTagIn applies the In predicate on the "version_tag" field.
func VersionTagIsNil ¶
func VersionTagIsNil() predicate.DecisionDef
VersionTagIsNil applies the IsNil predicate on the "version_tag" field.
func VersionTagLT ¶
func VersionTagLT(v string) predicate.DecisionDef
VersionTagLT applies the LT predicate on the "version_tag" field.
func VersionTagLTE ¶
func VersionTagLTE(v string) predicate.DecisionDef
VersionTagLTE applies the LTE predicate on the "version_tag" field.
func VersionTagNEQ ¶
func VersionTagNEQ(v string) predicate.DecisionDef
VersionTagNEQ applies the NEQ predicate on the "version_tag" field.
func VersionTagNotIn ¶
func VersionTagNotIn(vs ...string) predicate.DecisionDef
VersionTagNotIn applies the NotIn predicate on the "version_tag" field.
func VersionTagNotNil ¶
func VersionTagNotNil() predicate.DecisionDef
VersionTagNotNil applies the NotNil predicate on the "version_tag" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DecisionDef queries.
func ByAppID ¶
func ByAppID(opts ...sql.OrderTermOption) OrderOption
ByAppID orders the results by the app_id field.
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 ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeploymentID ¶
func ByDeploymentID(opts ...sql.OrderTermOption) OrderOption
ByDeploymentID orders the results by the deployment_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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByReqDefField ¶
func ByReqDefField(field string, opts ...sql.OrderTermOption) OrderOption
ByReqDefField orders the results by req_def field.
func ByReqDefID ¶
func ByReqDefID(opts ...sql.OrderTermOption) OrderOption
ByReqDefID orders the results by the req_def_id field.
func ByReqDefKey ¶
func ByReqDefKey(opts ...sql.OrderTermOption) OrderOption
ByReqDefKey orders the results by the req_def_key field.
func ByRevision ¶
func ByRevision(opts ...sql.OrderTermOption) OrderOption
ByRevision orders the results by the revision 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.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
func ByVersionTag ¶
func ByVersionTag(opts ...sql.OrderTermOption) OrderOption
ByVersionTag orders the results by the version_tag field.