Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowContract) predicate.WorkflowContract
- func CreatedAt(v time.Time) predicate.WorkflowContract
- func CreatedAtEQ(v time.Time) predicate.WorkflowContract
- func CreatedAtGT(v time.Time) predicate.WorkflowContract
- func CreatedAtGTE(v time.Time) predicate.WorkflowContract
- func CreatedAtIn(vs ...time.Time) predicate.WorkflowContract
- func CreatedAtLT(v time.Time) predicate.WorkflowContract
- func CreatedAtLTE(v time.Time) predicate.WorkflowContract
- func CreatedAtNEQ(v time.Time) predicate.WorkflowContract
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowContract
- func DeletedAt(v time.Time) predicate.WorkflowContract
- func DeletedAtEQ(v time.Time) predicate.WorkflowContract
- func DeletedAtGT(v time.Time) predicate.WorkflowContract
- func DeletedAtGTE(v time.Time) predicate.WorkflowContract
- func DeletedAtIn(vs ...time.Time) predicate.WorkflowContract
- func DeletedAtIsNil() predicate.WorkflowContract
- func DeletedAtLT(v time.Time) predicate.WorkflowContract
- func DeletedAtLTE(v time.Time) predicate.WorkflowContract
- func DeletedAtNEQ(v time.Time) predicate.WorkflowContract
- func DeletedAtNotIn(vs ...time.Time) predicate.WorkflowContract
- func DeletedAtNotNil() predicate.WorkflowContract
- func Description(v string) predicate.WorkflowContract
- func DescriptionContains(v string) predicate.WorkflowContract
- func DescriptionContainsFold(v string) predicate.WorkflowContract
- func DescriptionEQ(v string) predicate.WorkflowContract
- func DescriptionEqualFold(v string) predicate.WorkflowContract
- func DescriptionGT(v string) predicate.WorkflowContract
- func DescriptionGTE(v string) predicate.WorkflowContract
- func DescriptionHasPrefix(v string) predicate.WorkflowContract
- func DescriptionHasSuffix(v string) predicate.WorkflowContract
- func DescriptionIn(vs ...string) predicate.WorkflowContract
- func DescriptionIsNil() predicate.WorkflowContract
- func DescriptionLT(v string) predicate.WorkflowContract
- func DescriptionLTE(v string) predicate.WorkflowContract
- func DescriptionNEQ(v string) predicate.WorkflowContract
- func DescriptionNotIn(vs ...string) predicate.WorkflowContract
- func DescriptionNotNil() predicate.WorkflowContract
- func HasOrganization() predicate.WorkflowContract
- func HasOrganizationWith(preds ...predicate.Organization) predicate.WorkflowContract
- func HasVersions() predicate.WorkflowContract
- func HasVersionsWith(preds ...predicate.WorkflowContractVersion) predicate.WorkflowContract
- func HasWorkflows() predicate.WorkflowContract
- func HasWorkflowsWith(preds ...predicate.Workflow) predicate.WorkflowContract
- func ID(id uuid.UUID) predicate.WorkflowContract
- func IDEQ(id uuid.UUID) predicate.WorkflowContract
- func IDGT(id uuid.UUID) predicate.WorkflowContract
- func IDGTE(id uuid.UUID) predicate.WorkflowContract
- func IDIn(ids ...uuid.UUID) predicate.WorkflowContract
- func IDLT(id uuid.UUID) predicate.WorkflowContract
- func IDLTE(id uuid.UUID) predicate.WorkflowContract
- func IDNEQ(id uuid.UUID) predicate.WorkflowContract
- func IDNotIn(ids ...uuid.UUID) predicate.WorkflowContract
- func Name(v string) predicate.WorkflowContract
- func NameContains(v string) predicate.WorkflowContract
- func NameContainsFold(v string) predicate.WorkflowContract
- func NameEQ(v string) predicate.WorkflowContract
- func NameEqualFold(v string) predicate.WorkflowContract
- func NameGT(v string) predicate.WorkflowContract
- func NameGTE(v string) predicate.WorkflowContract
- func NameHasPrefix(v string) predicate.WorkflowContract
- func NameHasSuffix(v string) predicate.WorkflowContract
- func NameIn(vs ...string) predicate.WorkflowContract
- func NameLT(v string) predicate.WorkflowContract
- func NameLTE(v string) predicate.WorkflowContract
- func NameNEQ(v string) predicate.WorkflowContract
- func NameNotIn(vs ...string) predicate.WorkflowContract
- func Not(p predicate.WorkflowContract) predicate.WorkflowContract
- func Or(predicates ...predicate.WorkflowContract) predicate.WorkflowContract
- func ScopedResourceID(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDEQ(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDGT(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDGTE(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDIn(vs ...uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDIsNil() predicate.WorkflowContract
- func ScopedResourceIDLT(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDLTE(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDNEQ(v uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDNotIn(vs ...uuid.UUID) predicate.WorkflowContract
- func ScopedResourceIDNotNil() predicate.WorkflowContract
- func ScopedResourceTypeEQ(v biz.ContractScope) predicate.WorkflowContract
- func ScopedResourceTypeIn(vs ...biz.ContractScope) predicate.WorkflowContract
- func ScopedResourceTypeIsNil() predicate.WorkflowContract
- func ScopedResourceTypeNEQ(v biz.ContractScope) predicate.WorkflowContract
- func ScopedResourceTypeNotIn(vs ...biz.ContractScope) predicate.WorkflowContract
- func ScopedResourceTypeNotNil() predicate.WorkflowContract
- func ScopedResourceTypeValidator(srt biz.ContractScope) error
- func UpdatedAt(v time.Time) predicate.WorkflowContract
- func UpdatedAtEQ(v time.Time) predicate.WorkflowContract
- func UpdatedAtGT(v time.Time) predicate.WorkflowContract
- func UpdatedAtGTE(v time.Time) predicate.WorkflowContract
- func UpdatedAtIn(vs ...time.Time) predicate.WorkflowContract
- func UpdatedAtLT(v time.Time) predicate.WorkflowContract
- func UpdatedAtLTE(v time.Time) predicate.WorkflowContract
- func UpdatedAtNEQ(v time.Time) predicate.WorkflowContract
- func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowContract
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByScopedResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByScopedResourceType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowcontract type in the database. Label = "workflow_contract" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldScopedResourceType holds the string denoting the scoped_resource_type field in the database. FieldScopedResourceType = "scoped_resource_type" // FieldScopedResourceID holds the string denoting the scoped_resource_id field in the database. FieldScopedResourceID = "scoped_resource_id" // EdgeVersions holds the string denoting the versions edge name in mutations. EdgeVersions = "versions" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeWorkflows holds the string denoting the workflows edge name in mutations. EdgeWorkflows = "workflows" // Table holds the table name of the workflowcontract in the database. Table = "workflow_contracts" // VersionsTable is the table that holds the versions relation/edge. VersionsTable = "workflow_contract_versions" // VersionsInverseTable is the table name for the WorkflowContractVersion entity. // It exists in this package in order to avoid circular dependency with the "workflowcontractversion" package. VersionsInverseTable = "workflow_contract_versions" // VersionsColumn is the table column denoting the versions relation/edge. VersionsColumn = "workflow_contract_versions" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "workflow_contracts" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_workflow_contracts" // WorkflowsTable is the table that holds the workflows relation/edge. WorkflowsTable = "workflows" // WorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowsInverseTable = "workflows" // WorkflowsColumn is the table column denoting the workflows relation/edge. WorkflowsColumn = "workflow_contract" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldDescription, FieldScopedResourceType, FieldScopedResourceID, }
Columns holds all SQL columns for workflowcontract fields.
var ForeignKeys = []string{
"organization_workflow_contracts",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workflow_contracts" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowContract) predicate.WorkflowContract
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkflowContract
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkflowContract
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkflowContract
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkflowContract
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkflowContract
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkflowContract
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkflowContract
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkflowContract
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowContract
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.WorkflowContract
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.WorkflowContract
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.WorkflowContract
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.WorkflowContract
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.WorkflowContract
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.WorkflowContract
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.WorkflowContract
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.WorkflowContract
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.WorkflowContract
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.WorkflowContract
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.WorkflowContract
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.WorkflowContract
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.WorkflowContract
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.WorkflowContract
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.WorkflowContract
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.WorkflowContract
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.WorkflowContract
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.WorkflowContract
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.WorkflowContract
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.WorkflowContract
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.WorkflowContract
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.WorkflowContract
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.WorkflowContract
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.WorkflowContract
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.WorkflowContract
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.WorkflowContract
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.WorkflowContract
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasOrganization ¶
func HasOrganization() predicate.WorkflowContract
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.WorkflowContract
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasVersions ¶
func HasVersions() predicate.WorkflowContract
HasVersions applies the HasEdge predicate on the "versions" edge.
func HasVersionsWith ¶
func HasVersionsWith(preds ...predicate.WorkflowContractVersion) predicate.WorkflowContract
HasVersionsWith applies the HasEdge predicate on the "versions" edge with a given conditions (other predicates).
func HasWorkflows ¶
func HasWorkflows() predicate.WorkflowContract
HasWorkflows applies the HasEdge predicate on the "workflows" edge.
func HasWorkflowsWith ¶
func HasWorkflowsWith(preds ...predicate.Workflow) predicate.WorkflowContract
HasWorkflowsWith applies the HasEdge predicate on the "workflows" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.WorkflowContract
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkflowContract
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkflowContract
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkflowContract
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkflowContract
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkflowContract
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkflowContract
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkflowContract
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkflowContract
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.WorkflowContract
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.WorkflowContract
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.WorkflowContract
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.WorkflowContract
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.WorkflowContract
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.WorkflowContract
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.WorkflowContract
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.WorkflowContract
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.WorkflowContract
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.WorkflowContract
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.WorkflowContract
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.WorkflowContract
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.WorkflowContract
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.WorkflowContract
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.WorkflowContract) predicate.WorkflowContract
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowContract) predicate.WorkflowContract
Or groups predicates with the OR operator between them.
func ScopedResourceID ¶ added in v1.27.0
func ScopedResourceID(v uuid.UUID) predicate.WorkflowContract
ScopedResourceID applies equality check predicate on the "scoped_resource_id" field. It's identical to ScopedResourceIDEQ.
func ScopedResourceIDEQ ¶ added in v1.27.0
func ScopedResourceIDEQ(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDEQ applies the EQ predicate on the "scoped_resource_id" field.
func ScopedResourceIDGT ¶ added in v1.27.0
func ScopedResourceIDGT(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDGT applies the GT predicate on the "scoped_resource_id" field.
func ScopedResourceIDGTE ¶ added in v1.27.0
func ScopedResourceIDGTE(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDGTE applies the GTE predicate on the "scoped_resource_id" field.
func ScopedResourceIDIn ¶ added in v1.27.0
func ScopedResourceIDIn(vs ...uuid.UUID) predicate.WorkflowContract
ScopedResourceIDIn applies the In predicate on the "scoped_resource_id" field.
func ScopedResourceIDIsNil ¶ added in v1.27.0
func ScopedResourceIDIsNil() predicate.WorkflowContract
ScopedResourceIDIsNil applies the IsNil predicate on the "scoped_resource_id" field.
func ScopedResourceIDLT ¶ added in v1.27.0
func ScopedResourceIDLT(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDLT applies the LT predicate on the "scoped_resource_id" field.
func ScopedResourceIDLTE ¶ added in v1.27.0
func ScopedResourceIDLTE(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDLTE applies the LTE predicate on the "scoped_resource_id" field.
func ScopedResourceIDNEQ ¶ added in v1.27.0
func ScopedResourceIDNEQ(v uuid.UUID) predicate.WorkflowContract
ScopedResourceIDNEQ applies the NEQ predicate on the "scoped_resource_id" field.
func ScopedResourceIDNotIn ¶ added in v1.27.0
func ScopedResourceIDNotIn(vs ...uuid.UUID) predicate.WorkflowContract
ScopedResourceIDNotIn applies the NotIn predicate on the "scoped_resource_id" field.
func ScopedResourceIDNotNil ¶ added in v1.27.0
func ScopedResourceIDNotNil() predicate.WorkflowContract
ScopedResourceIDNotNil applies the NotNil predicate on the "scoped_resource_id" field.
func ScopedResourceTypeEQ ¶ added in v1.27.0
func ScopedResourceTypeEQ(v biz.ContractScope) predicate.WorkflowContract
ScopedResourceTypeEQ applies the EQ predicate on the "scoped_resource_type" field.
func ScopedResourceTypeIn ¶ added in v1.27.0
func ScopedResourceTypeIn(vs ...biz.ContractScope) predicate.WorkflowContract
ScopedResourceTypeIn applies the In predicate on the "scoped_resource_type" field.
func ScopedResourceTypeIsNil ¶ added in v1.27.0
func ScopedResourceTypeIsNil() predicate.WorkflowContract
ScopedResourceTypeIsNil applies the IsNil predicate on the "scoped_resource_type" field.
func ScopedResourceTypeNEQ ¶ added in v1.27.0
func ScopedResourceTypeNEQ(v biz.ContractScope) predicate.WorkflowContract
ScopedResourceTypeNEQ applies the NEQ predicate on the "scoped_resource_type" field.
func ScopedResourceTypeNotIn ¶ added in v1.27.0
func ScopedResourceTypeNotIn(vs ...biz.ContractScope) predicate.WorkflowContract
ScopedResourceTypeNotIn applies the NotIn predicate on the "scoped_resource_type" field.
func ScopedResourceTypeNotNil ¶ added in v1.27.0
func ScopedResourceTypeNotNil() predicate.WorkflowContract
ScopedResourceTypeNotNil applies the NotNil predicate on the "scoped_resource_type" field.
func ScopedResourceTypeValidator ¶ added in v1.27.0
func ScopedResourceTypeValidator(srt biz.ContractScope) error
ScopedResourceTypeValidator is a validator for the "scoped_resource_type" field enum values. It is called by the builders before save.
func UpdatedAt ¶ added in v1.41.0
func UpdatedAt(v time.Time) predicate.WorkflowContract
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶ added in v1.41.0
func UpdatedAtEQ(v time.Time) predicate.WorkflowContract
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶ added in v1.41.0
func UpdatedAtGT(v time.Time) predicate.WorkflowContract
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶ added in v1.41.0
func UpdatedAtGTE(v time.Time) predicate.WorkflowContract
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶ added in v1.41.0
func UpdatedAtIn(vs ...time.Time) predicate.WorkflowContract
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶ added in v1.41.0
func UpdatedAtLT(v time.Time) predicate.WorkflowContract
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶ added in v1.41.0
func UpdatedAtLTE(v time.Time) predicate.WorkflowContract
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶ added in v1.41.0
func UpdatedAtNEQ(v time.Time) predicate.WorkflowContract
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶ added in v1.41.0
func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowContract
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 WorkflowContract queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description 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 ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByScopedResourceID ¶ added in v1.27.0
func ByScopedResourceID(opts ...sql.OrderTermOption) OrderOption
ByScopedResourceID orders the results by the scoped_resource_id field.
func ByScopedResourceType ¶ added in v1.27.0
func ByScopedResourceType(opts ...sql.OrderTermOption) OrderOption
ByScopedResourceType orders the results by the scoped_resource_type field.
func ByUpdatedAt ¶ added in v1.41.0
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersions ¶
func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVersions orders the results by versions terms.
func ByVersionsCount ¶
func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
ByVersionsCount orders the results by versions count.
func ByWorkflows ¶
func ByWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflows orders the results by workflows terms.
func ByWorkflowsCount ¶
func ByWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowsCount orders the results by workflows count.