workflowcontractversion

package
v0.125.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for workflowcontractversion fields.

View Source
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

And groups predicates with the AND operator between them.

func Body

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyEQ

BodyEQ applies the EQ predicate on the "body" field.

func BodyGT

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

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

BodyIsNil applies the IsNil predicate on the "body" field.

func BodyLT

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

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

BodyNotNil applies the NotNil predicate on the "body" field.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

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

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

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

HasContractWith applies the HasEdge predicate on the "contract" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RawBody added in v0.96.0

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

RawBodyFormatEQ applies the EQ predicate on the "raw_body_format" field.

func RawBodyFormatIn added in v0.96.0

RawBodyFormatIn applies the In predicate on the "raw_body_format" field.

func RawBodyFormatNEQ added in v0.96.0

RawBodyFormatNEQ applies the NEQ predicate on the "raw_body_format" field.

func RawBodyFormatNotIn added in v0.96.0

func RawBodyFormatNotIn(vs ...unmarshal.RawFormat) predicate.WorkflowContractVersion

RawBodyFormatNotIn applies the NotIn predicate on the "raw_body_format" field.

func RawBodyFormatValidator added in v0.96.0

func RawBodyFormatValidator(rbf unmarshal.RawFormat) 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

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionEQ

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionGT

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL