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 BodyIsNil() 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 BodyNotNil() 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 RawBody(v []byte) predicate.WorkflowContractVersion
- func RawBodyEQ(v []byte) predicate.WorkflowContractVersion
- func RawBodyFormatEQ(v biz.ContractRawFormat) predicate.WorkflowContractVersion
- func RawBodyFormatIn(vs ...biz.ContractRawFormat) predicate.WorkflowContractVersion
- func RawBodyFormatNEQ(v biz.ContractRawFormat) predicate.WorkflowContractVersion
- func RawBodyFormatNotIn(vs ...biz.ContractRawFormat) predicate.WorkflowContractVersion
- func RawBodyFormatValidator(rbf biz.ContractRawFormat) error
- func RawBodyGT(v []byte) predicate.WorkflowContractVersion
- func RawBodyGTE(v []byte) predicate.WorkflowContractVersion
- func RawBodyIn(vs ...[]byte) predicate.WorkflowContractVersion
- func RawBodyLT(v []byte) predicate.WorkflowContractVersion
- func RawBodyLTE(v []byte) predicate.WorkflowContractVersion
- func RawBodyNEQ(v []byte) predicate.WorkflowContractVersion
- func RawBodyNotIn(vs ...[]byte) 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
- type OrderOption
- func ByContractField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRawBodyFormat(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
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" // FieldRawBody holds the string denoting the raw_body field in the database. FieldRawBody = "raw_body" // FieldRawBodyFormat holds the string denoting the raw_body_format field in the database. FieldRawBodyFormat = "raw_body_format" // 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 ( // RawBodyValidator is a validator for the "raw_body" field. It is called by the builders before save. RawBodyValidator 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, FieldRawBody, FieldRawBodyFormat, 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 BodyIsNil ¶ added in v0.96.0
func BodyIsNil() predicate.WorkflowContractVersion
BodyIsNil applies the IsNil 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 BodyNotNil ¶ added in v0.96.0
func BodyNotNil() predicate.WorkflowContractVersion
BodyNotNil applies the NotNil 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 RawBody ¶ added in v0.96.0
func RawBody(v []byte) predicate.WorkflowContractVersion
RawBody applies equality check predicate on the "raw_body" field. It's identical to RawBodyEQ.
func RawBodyEQ ¶ added in v0.96.0
func RawBodyEQ(v []byte) predicate.WorkflowContractVersion
RawBodyEQ applies the EQ predicate on the "raw_body" field.
func RawBodyFormatEQ ¶ added in v0.96.0
func RawBodyFormatEQ(v biz.ContractRawFormat) predicate.WorkflowContractVersion
RawBodyFormatEQ applies the EQ predicate on the "raw_body_format" field.
func RawBodyFormatIn ¶ added in v0.96.0
func RawBodyFormatIn(vs ...biz.ContractRawFormat) predicate.WorkflowContractVersion
RawBodyFormatIn applies the In predicate on the "raw_body_format" field.
func RawBodyFormatNEQ ¶ added in v0.96.0
func RawBodyFormatNEQ(v biz.ContractRawFormat) predicate.WorkflowContractVersion
RawBodyFormatNEQ applies the NEQ predicate on the "raw_body_format" field.
func RawBodyFormatNotIn ¶ added in v0.96.0
func RawBodyFormatNotIn(vs ...biz.ContractRawFormat) predicate.WorkflowContractVersion
RawBodyFormatNotIn applies the NotIn predicate on the "raw_body_format" field.
func RawBodyFormatValidator ¶ added in v0.96.0
func RawBodyFormatValidator(rbf biz.ContractRawFormat) error
RawBodyFormatValidator is a validator for the "raw_body_format" field enum values. It is called by the builders before save.
func RawBodyGT ¶ added in v0.96.0
func RawBodyGT(v []byte) predicate.WorkflowContractVersion
RawBodyGT applies the GT predicate on the "raw_body" field.
func RawBodyGTE ¶ added in v0.96.0
func RawBodyGTE(v []byte) predicate.WorkflowContractVersion
RawBodyGTE applies the GTE predicate on the "raw_body" field.
func RawBodyIn ¶ added in v0.96.0
func RawBodyIn(vs ...[]byte) predicate.WorkflowContractVersion
RawBodyIn applies the In predicate on the "raw_body" field.
func RawBodyLT ¶ added in v0.96.0
func RawBodyLT(v []byte) predicate.WorkflowContractVersion
RawBodyLT applies the LT predicate on the "raw_body" field.
func RawBodyLTE ¶ added in v0.96.0
func RawBodyLTE(v []byte) predicate.WorkflowContractVersion
RawBodyLTE applies the LTE predicate on the "raw_body" field.
func RawBodyNEQ ¶ added in v0.96.0
func RawBodyNEQ(v []byte) predicate.WorkflowContractVersion
RawBodyNEQ applies the NEQ predicate on the "raw_body" field.
func RawBodyNotIn ¶ added in v0.96.0
func RawBodyNotIn(vs ...[]byte) predicate.WorkflowContractVersion
RawBodyNotIn applies the NotIn predicate on the "raw_body" field.
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 ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowContractVersion queries.
func ByContractField ¶
func ByContractField(field string, opts ...sql.OrderTermOption) OrderOption
ByContractField orders the results by contract field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRawBodyFormat ¶ added in v0.96.0
func ByRawBodyFormat(opts ...sql.OrderTermOption) OrderOption
ByRawBodyFormat orders the results by the raw_body_format field.
func ByRevision ¶
func ByRevision(opts ...sql.OrderTermOption) OrderOption
ByRevision orders the results by the revision field.