Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowContractVersion) predicate.WorkflowContractVersion
- func Body(v []byte) predicate.WorkflowContractVersion
- func BodyEQ(v []byte) predicate.WorkflowContractVersion
- func BodyGT(v []byte) predicate.WorkflowContractVersion
- func BodyGTE(v []byte) predicate.WorkflowContractVersion
- func BodyIn(vs ...[]byte) predicate.WorkflowContractVersion
- func BodyLT(v []byte) predicate.WorkflowContractVersion
- func BodyLTE(v []byte) predicate.WorkflowContractVersion
- func BodyNEQ(v []byte) predicate.WorkflowContractVersion
- func BodyNotIn(vs ...[]byte) predicate.WorkflowContractVersion
- func CreatedAt(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtEQ(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtGT(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtGTE(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtIn(vs ...time.Time) predicate.WorkflowContractVersion
- func CreatedAtLT(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtLTE(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtNEQ(v time.Time) predicate.WorkflowContractVersion
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowContractVersion
- func HasContract() predicate.WorkflowContractVersion
- func HasContractWith(preds ...predicate.WorkflowContract) predicate.WorkflowContractVersion
- func ID(id uuid.UUID) predicate.WorkflowContractVersion
- func IDEQ(id uuid.UUID) predicate.WorkflowContractVersion
- func IDGT(id uuid.UUID) predicate.WorkflowContractVersion
- func IDGTE(id uuid.UUID) predicate.WorkflowContractVersion
- func IDIn(ids ...uuid.UUID) predicate.WorkflowContractVersion
- func IDLT(id uuid.UUID) predicate.WorkflowContractVersion
- func IDLTE(id uuid.UUID) predicate.WorkflowContractVersion
- func IDNEQ(id uuid.UUID) predicate.WorkflowContractVersion
- func IDNotIn(ids ...uuid.UUID) predicate.WorkflowContractVersion
- func Not(p predicate.WorkflowContractVersion) predicate.WorkflowContractVersion
- func Or(predicates ...predicate.WorkflowContractVersion) predicate.WorkflowContractVersion
- func Revision(v int) predicate.WorkflowContractVersion
- func RevisionEQ(v int) predicate.WorkflowContractVersion
- func RevisionGT(v int) predicate.WorkflowContractVersion
- func RevisionGTE(v int) predicate.WorkflowContractVersion
- func RevisionIn(vs ...int) predicate.WorkflowContractVersion
- func RevisionLT(v int) predicate.WorkflowContractVersion
- func RevisionLTE(v int) predicate.WorkflowContractVersion
- func RevisionNEQ(v int) predicate.WorkflowContractVersion
- func RevisionNotIn(vs ...int) predicate.WorkflowContractVersion
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the workflowcontractversion type in the database. Label = "workflow_contract_version" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeContract holds the string denoting the contract edge name in mutations. EdgeContract = "contract" // Table holds the table name of the workflowcontractversion in the database. Table = "workflow_contract_versions" // ContractTable is the table that holds the contract relation/edge. ContractTable = "workflow_contract_versions" // ContractInverseTable is the table name for the WorkflowContract entity. // It exists in this package in order to avoid circular dependency with the "workflowcontract" package. ContractInverseTable = "workflow_contracts" // ContractColumn is the table column denoting the contract relation/edge. ContractColumn = "workflow_contract_versions" )
Variables ¶
var ( // BodyValidator is a validator for the "body" field. It is called by the builders before save. BodyValidator func([]byte) error // DefaultRevision holds the default value on creation for the "revision" field. DefaultRevision int // 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() uuid.UUID )
var Columns = []string{ FieldID, FieldBody, FieldRevision, FieldCreatedAt, }
Columns holds all SQL columns for workflowcontractversion fields.
var ForeignKeys = []string{
"workflow_contract_versions",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workflow_contract_versions" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowContractVersion) predicate.WorkflowContractVersion
And groups predicates with the AND operator between them.
func Body ¶
func Body(v []byte) predicate.WorkflowContractVersion
Body applies equality check predicate on the "body" field. It's identical to BodyEQ.
func BodyEQ ¶
func BodyEQ(v []byte) predicate.WorkflowContractVersion
BodyEQ applies the EQ predicate on the "body" field.
func BodyGT ¶
func BodyGT(v []byte) predicate.WorkflowContractVersion
BodyGT applies the GT predicate on the "body" field.
func BodyGTE ¶
func BodyGTE(v []byte) predicate.WorkflowContractVersion
BodyGTE applies the GTE predicate on the "body" field.
func BodyIn ¶
func BodyIn(vs ...[]byte) predicate.WorkflowContractVersion
BodyIn applies the In predicate on the "body" field.
func BodyLT ¶
func BodyLT(v []byte) predicate.WorkflowContractVersion
BodyLT applies the LT predicate on the "body" field.
func BodyLTE ¶
func BodyLTE(v []byte) predicate.WorkflowContractVersion
BodyLTE applies the LTE predicate on the "body" field.
func BodyNEQ ¶
func BodyNEQ(v []byte) predicate.WorkflowContractVersion
BodyNEQ applies the NEQ predicate on the "body" field.
func BodyNotIn ¶
func BodyNotIn(vs ...[]byte) predicate.WorkflowContractVersion
BodyNotIn applies the NotIn predicate on the "body" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkflowContractVersion
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkflowContractVersion
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkflowContractVersion
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkflowContractVersion
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkflowContractVersion
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkflowContractVersion
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkflowContractVersion
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkflowContractVersion
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowContractVersion
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasContract ¶
func HasContract() predicate.WorkflowContractVersion
HasContract applies the HasEdge predicate on the "contract" edge.
func HasContractWith ¶
func HasContractWith(preds ...predicate.WorkflowContract) predicate.WorkflowContractVersion
HasContractWith applies the HasEdge predicate on the "contract" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.WorkflowContractVersion
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkflowContractVersion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkflowContractVersion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkflowContractVersion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkflowContractVersion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkflowContractVersion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkflowContractVersion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkflowContractVersion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkflowContractVersion
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.WorkflowContractVersion) predicate.WorkflowContractVersion
Or groups predicates with the OR operator between them.
func Revision ¶
func Revision(v int) predicate.WorkflowContractVersion
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
func RevisionEQ(v int) predicate.WorkflowContractVersion
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
func RevisionGT(v int) predicate.WorkflowContractVersion
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
func RevisionGTE(v int) predicate.WorkflowContractVersion
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
func RevisionIn(vs ...int) predicate.WorkflowContractVersion
RevisionIn applies the In predicate on the "revision" field.
func RevisionLT ¶
func RevisionLT(v int) predicate.WorkflowContractVersion
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
func RevisionLTE(v int) predicate.WorkflowContractVersion
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
func RevisionNEQ(v int) predicate.WorkflowContractVersion
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
func RevisionNotIn(vs ...int) predicate.WorkflowContractVersion
RevisionNotIn applies the NotIn predicate on the "revision" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.