workflowcontractversion

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 5 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"
	// 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 (
	// 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
)

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 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 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 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 added in v0.13.0

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowContractVersion queries.

func ByContractField added in v0.13.0

func ByContractField(field string, opts ...sql.OrderTermOption) OrderOption

ByContractField orders the results by contract field.

func ByCreatedAt added in v0.13.0

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByID added in v0.13.0

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByRevision added in v0.13.0

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