commitment

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the commitment type in the database.
	Label = "commitment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldDirection holds the string denoting the direction field in the database.
	FieldDirection = "direction"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldDueAt holds the string denoting the due_at field in the database.
	FieldDueAt = "due_at"
	// FieldConfidence holds the string denoting the confidence field in the database.
	FieldConfidence = "confidence"
	// FieldUserConfirmed holds the string denoting the user_confirmed field in the database.
	FieldUserConfirmed = "user_confirmed"
	// FieldOwnerParticipantRef holds the string denoting the owner_participant_ref field in the database.
	FieldOwnerParticipantRef = "owner_participant_ref"
	// FieldCounterpartyParticipantRef holds the string denoting the counterparty_participant_ref field in the database.
	FieldCounterpartyParticipantRef = "counterparty_participant_ref"
	// FieldBeneficiaryParticipantRef holds the string denoting the beneficiary_participant_ref field in the database.
	FieldBeneficiaryParticipantRef = "beneficiary_participant_ref"
	// FieldSourcePhrase holds the string denoting the source_phrase field in the database.
	FieldSourcePhrase = "source_phrase"
	// FieldDuePhrase holds the string denoting the due_phrase field in the database.
	FieldDuePhrase = "due_phrase"
	// FieldDueTimezone holds the string denoting the due_timezone field in the database.
	FieldDueTimezone = "due_timezone"
	// FieldAcceptance holds the string denoting the acceptance field in the database.
	FieldAcceptance = "acceptance"
	// FieldBlocker holds the string denoting the blocker field in the database.
	FieldBlocker = "blocker"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// FieldCurrentEventVersion holds the string denoting the current_event_version field in the database.
	FieldCurrentEventVersion = "current_event_version"
	// EdgeWorkspace holds the string denoting the workspace edge name in mutations.
	EdgeWorkspace = "workspace"
	// EdgeRelationship holds the string denoting the relationship edge name in mutations.
	EdgeRelationship = "relationship"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeEvidences holds the string denoting the evidences edge name in mutations.
	EdgeEvidences = "evidences"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeOutgoingDependencies holds the string denoting the outgoing_dependencies edge name in mutations.
	EdgeOutgoingDependencies = "outgoing_dependencies"
	// EdgeIncomingDependencies holds the string denoting the incoming_dependencies edge name in mutations.
	EdgeIncomingDependencies = "incoming_dependencies"
	// Table holds the table name of the commitment in the database.
	Table = "commitments"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "commitments"
	// WorkspaceInverseTable is the table name for the RevenueWorkspace entity.
	// It exists in this package in order to avoid circular dependency with the "revenueworkspace" package.
	WorkspaceInverseTable = "revenue_workspaces"
	// WorkspaceColumn is the table column denoting the workspace relation/edge.
	WorkspaceColumn = "revenue_workspace_id"
	// RelationshipTable is the table that holds the relationship relation/edge.
	RelationshipTable = "commitments"
	// RelationshipInverseTable is the table name for the Relationship entity.
	// It exists in this package in order to avoid circular dependency with the "relationship" package.
	RelationshipInverseTable = "relationships"
	// RelationshipColumn is the table column denoting the relationship relation/edge.
	RelationshipColumn = "relationship_id"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "commitments"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_commitments"
	// EvidencesTable is the table that holds the evidences relation/edge. The primary key declared below.
	EvidencesTable = "commitment_evidences"
	// EvidencesInverseTable is the table name for the RevenueEvidence entity.
	// It exists in this package in order to avoid circular dependency with the "revenueevidence" package.
	EvidencesInverseTable = "revenue_evidences"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "commitment_events"
	// EventsInverseTable is the table name for the CommitmentEvent entity.
	// It exists in this package in order to avoid circular dependency with the "commitmentevent" package.
	EventsInverseTable = "commitment_events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "commitment_id"
	// OutgoingDependenciesTable is the table that holds the outgoing_dependencies relation/edge.
	OutgoingDependenciesTable = "commitment_dependencies"
	// OutgoingDependenciesInverseTable is the table name for the CommitmentDependency entity.
	// It exists in this package in order to avoid circular dependency with the "commitmentdependency" package.
	OutgoingDependenciesInverseTable = "commitment_dependencies"
	// OutgoingDependenciesColumn is the table column denoting the outgoing_dependencies relation/edge.
	OutgoingDependenciesColumn = "from_commitment_id"
	// IncomingDependenciesTable is the table that holds the incoming_dependencies relation/edge.
	IncomingDependenciesTable = "commitment_dependencies"
	// IncomingDependenciesInverseTable is the table name for the CommitmentDependency entity.
	// It exists in this package in order to avoid circular dependency with the "commitmentdependency" package.
	IncomingDependenciesInverseTable = "commitment_dependencies"
	// IncomingDependenciesColumn is the table column denoting the incoming_dependencies relation/edge.
	IncomingDependenciesColumn = "to_commitment_id"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	Policy ent.Policy
	// 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
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DirectionValidator is a validator for the "direction" field. It is called by the builders before save.
	DirectionValidator func(string) error
	// TextValidator is a validator for the "text" field. It is called by the builders before save.
	TextValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// StatusValidator is a validator for the "status" field. It is called by the builders before save.
	StatusValidator func(string) error
	// ConfidenceValidator is a validator for the "confidence" field. It is called by the builders before save.
	ConfidenceValidator func(float64) error
	// DefaultUserConfirmed holds the default value on creation for the "user_confirmed" field.
	DefaultUserConfirmed bool
	// DefaultAcceptance holds the default value on creation for the "acceptance" field.
	DefaultAcceptance string
	// AcceptanceValidator is a validator for the "acceptance" field. It is called by the builders before save.
	AcceptanceValidator func(string) error
	// DefaultCurrentEventVersion holds the default value on creation for the "current_event_version" field.
	DefaultCurrentEventVersion int
	// CurrentEventVersionValidator is a validator for the "current_event_version" field. It is called by the builders before save.
	CurrentEventVersionValidator func(int) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for commitment fields.

View Source
var (
	// EvidencesPrimaryKey and EvidencesColumn2 are the table columns denoting the
	// primary key for the evidences relation (M2M).
	EvidencesPrimaryKey = []string{"commitment_id", "revenue_evidence_id"}
)
View Source
var ForeignKeys = []string{
	"relationship_id",
	"revenue_workspace_id",
	"user_commitments",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "commitments" table and are not defined as standalone fields in the schema.

Functions

func Acceptance

func Acceptance(v string) predicate.Commitment

Acceptance applies equality check predicate on the "acceptance" field. It's identical to AcceptanceEQ.

func AcceptanceContains

func AcceptanceContains(v string) predicate.Commitment

AcceptanceContains applies the Contains predicate on the "acceptance" field.

func AcceptanceContainsFold

func AcceptanceContainsFold(v string) predicate.Commitment

AcceptanceContainsFold applies the ContainsFold predicate on the "acceptance" field.

func AcceptanceEQ

func AcceptanceEQ(v string) predicate.Commitment

AcceptanceEQ applies the EQ predicate on the "acceptance" field.

func AcceptanceEqualFold

func AcceptanceEqualFold(v string) predicate.Commitment

AcceptanceEqualFold applies the EqualFold predicate on the "acceptance" field.

func AcceptanceGT

func AcceptanceGT(v string) predicate.Commitment

AcceptanceGT applies the GT predicate on the "acceptance" field.

func AcceptanceGTE

func AcceptanceGTE(v string) predicate.Commitment

AcceptanceGTE applies the GTE predicate on the "acceptance" field.

func AcceptanceHasPrefix

func AcceptanceHasPrefix(v string) predicate.Commitment

AcceptanceHasPrefix applies the HasPrefix predicate on the "acceptance" field.

func AcceptanceHasSuffix

func AcceptanceHasSuffix(v string) predicate.Commitment

AcceptanceHasSuffix applies the HasSuffix predicate on the "acceptance" field.

func AcceptanceIn

func AcceptanceIn(vs ...string) predicate.Commitment

AcceptanceIn applies the In predicate on the "acceptance" field.

func AcceptanceLT

func AcceptanceLT(v string) predicate.Commitment

AcceptanceLT applies the LT predicate on the "acceptance" field.

func AcceptanceLTE

func AcceptanceLTE(v string) predicate.Commitment

AcceptanceLTE applies the LTE predicate on the "acceptance" field.

func AcceptanceNEQ

func AcceptanceNEQ(v string) predicate.Commitment

AcceptanceNEQ applies the NEQ predicate on the "acceptance" field.

func AcceptanceNotIn

func AcceptanceNotIn(vs ...string) predicate.Commitment

AcceptanceNotIn applies the NotIn predicate on the "acceptance" field.

func And

func And(predicates ...predicate.Commitment) predicate.Commitment

And groups predicates with the AND operator between them.

func BeneficiaryParticipantRef

func BeneficiaryParticipantRef(v string) predicate.Commitment

BeneficiaryParticipantRef applies equality check predicate on the "beneficiary_participant_ref" field. It's identical to BeneficiaryParticipantRefEQ.

func BeneficiaryParticipantRefContains

func BeneficiaryParticipantRefContains(v string) predicate.Commitment

BeneficiaryParticipantRefContains applies the Contains predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefContainsFold

func BeneficiaryParticipantRefContainsFold(v string) predicate.Commitment

BeneficiaryParticipantRefContainsFold applies the ContainsFold predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefEQ

func BeneficiaryParticipantRefEQ(v string) predicate.Commitment

BeneficiaryParticipantRefEQ applies the EQ predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefEqualFold

func BeneficiaryParticipantRefEqualFold(v string) predicate.Commitment

BeneficiaryParticipantRefEqualFold applies the EqualFold predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefGT

func BeneficiaryParticipantRefGT(v string) predicate.Commitment

BeneficiaryParticipantRefGT applies the GT predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefGTE

func BeneficiaryParticipantRefGTE(v string) predicate.Commitment

BeneficiaryParticipantRefGTE applies the GTE predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefHasPrefix

func BeneficiaryParticipantRefHasPrefix(v string) predicate.Commitment

BeneficiaryParticipantRefHasPrefix applies the HasPrefix predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefHasSuffix

func BeneficiaryParticipantRefHasSuffix(v string) predicate.Commitment

BeneficiaryParticipantRefHasSuffix applies the HasSuffix predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefIn

func BeneficiaryParticipantRefIn(vs ...string) predicate.Commitment

BeneficiaryParticipantRefIn applies the In predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefIsNil

func BeneficiaryParticipantRefIsNil() predicate.Commitment

BeneficiaryParticipantRefIsNil applies the IsNil predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefLT

func BeneficiaryParticipantRefLT(v string) predicate.Commitment

BeneficiaryParticipantRefLT applies the LT predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefLTE

func BeneficiaryParticipantRefLTE(v string) predicate.Commitment

BeneficiaryParticipantRefLTE applies the LTE predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefNEQ

func BeneficiaryParticipantRefNEQ(v string) predicate.Commitment

BeneficiaryParticipantRefNEQ applies the NEQ predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefNotIn

func BeneficiaryParticipantRefNotIn(vs ...string) predicate.Commitment

BeneficiaryParticipantRefNotIn applies the NotIn predicate on the "beneficiary_participant_ref" field.

func BeneficiaryParticipantRefNotNil

func BeneficiaryParticipantRefNotNil() predicate.Commitment

BeneficiaryParticipantRefNotNil applies the NotNil predicate on the "beneficiary_participant_ref" field.

func Blocker

func Blocker(v string) predicate.Commitment

Blocker applies equality check predicate on the "blocker" field. It's identical to BlockerEQ.

func BlockerContains

func BlockerContains(v string) predicate.Commitment

BlockerContains applies the Contains predicate on the "blocker" field.

func BlockerContainsFold

func BlockerContainsFold(v string) predicate.Commitment

BlockerContainsFold applies the ContainsFold predicate on the "blocker" field.

func BlockerEQ

func BlockerEQ(v string) predicate.Commitment

BlockerEQ applies the EQ predicate on the "blocker" field.

func BlockerEqualFold

func BlockerEqualFold(v string) predicate.Commitment

BlockerEqualFold applies the EqualFold predicate on the "blocker" field.

func BlockerGT

func BlockerGT(v string) predicate.Commitment

BlockerGT applies the GT predicate on the "blocker" field.

func BlockerGTE

func BlockerGTE(v string) predicate.Commitment

BlockerGTE applies the GTE predicate on the "blocker" field.

func BlockerHasPrefix

func BlockerHasPrefix(v string) predicate.Commitment

BlockerHasPrefix applies the HasPrefix predicate on the "blocker" field.

func BlockerHasSuffix

func BlockerHasSuffix(v string) predicate.Commitment

BlockerHasSuffix applies the HasSuffix predicate on the "blocker" field.

func BlockerIn

func BlockerIn(vs ...string) predicate.Commitment

BlockerIn applies the In predicate on the "blocker" field.

func BlockerIsNil

func BlockerIsNil() predicate.Commitment

BlockerIsNil applies the IsNil predicate on the "blocker" field.

func BlockerLT

func BlockerLT(v string) predicate.Commitment

BlockerLT applies the LT predicate on the "blocker" field.

func BlockerLTE

func BlockerLTE(v string) predicate.Commitment

BlockerLTE applies the LTE predicate on the "blocker" field.

func BlockerNEQ

func BlockerNEQ(v string) predicate.Commitment

BlockerNEQ applies the NEQ predicate on the "blocker" field.

func BlockerNotIn

func BlockerNotIn(vs ...string) predicate.Commitment

BlockerNotIn applies the NotIn predicate on the "blocker" field.

func BlockerNotNil

func BlockerNotNil() predicate.Commitment

BlockerNotNil applies the NotNil predicate on the "blocker" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.Commitment

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.Commitment

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.Commitment

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.Commitment

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.Commitment

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Commitment

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.Commitment

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.Commitment

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.Commitment

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.Commitment

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Commitment

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func Confidence

func Confidence(v float64) predicate.Commitment

Confidence applies equality check predicate on the "confidence" field. It's identical to ConfidenceEQ.

func ConfidenceEQ

func ConfidenceEQ(v float64) predicate.Commitment

ConfidenceEQ applies the EQ predicate on the "confidence" field.

func ConfidenceGT

func ConfidenceGT(v float64) predicate.Commitment

ConfidenceGT applies the GT predicate on the "confidence" field.

func ConfidenceGTE

func ConfidenceGTE(v float64) predicate.Commitment

ConfidenceGTE applies the GTE predicate on the "confidence" field.

func ConfidenceIn

func ConfidenceIn(vs ...float64) predicate.Commitment

ConfidenceIn applies the In predicate on the "confidence" field.

func ConfidenceLT

func ConfidenceLT(v float64) predicate.Commitment

ConfidenceLT applies the LT predicate on the "confidence" field.

func ConfidenceLTE

func ConfidenceLTE(v float64) predicate.Commitment

ConfidenceLTE applies the LTE predicate on the "confidence" field.

func ConfidenceNEQ

func ConfidenceNEQ(v float64) predicate.Commitment

ConfidenceNEQ applies the NEQ predicate on the "confidence" field.

func ConfidenceNotIn

func ConfidenceNotIn(vs ...float64) predicate.Commitment

ConfidenceNotIn applies the NotIn predicate on the "confidence" field.

func CounterpartyParticipantRef

func CounterpartyParticipantRef(v string) predicate.Commitment

CounterpartyParticipantRef applies equality check predicate on the "counterparty_participant_ref" field. It's identical to CounterpartyParticipantRefEQ.

func CounterpartyParticipantRefContains

func CounterpartyParticipantRefContains(v string) predicate.Commitment

CounterpartyParticipantRefContains applies the Contains predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefContainsFold

func CounterpartyParticipantRefContainsFold(v string) predicate.Commitment

CounterpartyParticipantRefContainsFold applies the ContainsFold predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefEQ

func CounterpartyParticipantRefEQ(v string) predicate.Commitment

CounterpartyParticipantRefEQ applies the EQ predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefEqualFold

func CounterpartyParticipantRefEqualFold(v string) predicate.Commitment

CounterpartyParticipantRefEqualFold applies the EqualFold predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefGT

func CounterpartyParticipantRefGT(v string) predicate.Commitment

CounterpartyParticipantRefGT applies the GT predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefGTE

func CounterpartyParticipantRefGTE(v string) predicate.Commitment

CounterpartyParticipantRefGTE applies the GTE predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefHasPrefix

func CounterpartyParticipantRefHasPrefix(v string) predicate.Commitment

CounterpartyParticipantRefHasPrefix applies the HasPrefix predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefHasSuffix

func CounterpartyParticipantRefHasSuffix(v string) predicate.Commitment

CounterpartyParticipantRefHasSuffix applies the HasSuffix predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefIn

func CounterpartyParticipantRefIn(vs ...string) predicate.Commitment

CounterpartyParticipantRefIn applies the In predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefIsNil

func CounterpartyParticipantRefIsNil() predicate.Commitment

CounterpartyParticipantRefIsNil applies the IsNil predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefLT

func CounterpartyParticipantRefLT(v string) predicate.Commitment

CounterpartyParticipantRefLT applies the LT predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefLTE

func CounterpartyParticipantRefLTE(v string) predicate.Commitment

CounterpartyParticipantRefLTE applies the LTE predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefNEQ

func CounterpartyParticipantRefNEQ(v string) predicate.Commitment

CounterpartyParticipantRefNEQ applies the NEQ predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefNotIn

func CounterpartyParticipantRefNotIn(vs ...string) predicate.Commitment

CounterpartyParticipantRefNotIn applies the NotIn predicate on the "counterparty_participant_ref" field.

func CounterpartyParticipantRefNotNil

func CounterpartyParticipantRefNotNil() predicate.Commitment

CounterpartyParticipantRefNotNil applies the NotNil predicate on the "counterparty_participant_ref" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Commitment

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Commitment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Commitment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Commitment

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Commitment

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Commitment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Commitment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Commitment

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Commitment

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CurrentEventVersion

func CurrentEventVersion(v int) predicate.Commitment

CurrentEventVersion applies equality check predicate on the "current_event_version" field. It's identical to CurrentEventVersionEQ.

func CurrentEventVersionEQ

func CurrentEventVersionEQ(v int) predicate.Commitment

CurrentEventVersionEQ applies the EQ predicate on the "current_event_version" field.

func CurrentEventVersionGT

func CurrentEventVersionGT(v int) predicate.Commitment

CurrentEventVersionGT applies the GT predicate on the "current_event_version" field.

func CurrentEventVersionGTE

func CurrentEventVersionGTE(v int) predicate.Commitment

CurrentEventVersionGTE applies the GTE predicate on the "current_event_version" field.

func CurrentEventVersionIn

func CurrentEventVersionIn(vs ...int) predicate.Commitment

CurrentEventVersionIn applies the In predicate on the "current_event_version" field.

func CurrentEventVersionLT

func CurrentEventVersionLT(v int) predicate.Commitment

CurrentEventVersionLT applies the LT predicate on the "current_event_version" field.

func CurrentEventVersionLTE

func CurrentEventVersionLTE(v int) predicate.Commitment

CurrentEventVersionLTE applies the LTE predicate on the "current_event_version" field.

func CurrentEventVersionNEQ

func CurrentEventVersionNEQ(v int) predicate.Commitment

CurrentEventVersionNEQ applies the NEQ predicate on the "current_event_version" field.

func CurrentEventVersionNotIn

func CurrentEventVersionNotIn(vs ...int) predicate.Commitment

CurrentEventVersionNotIn applies the NotIn predicate on the "current_event_version" field.

func Direction

func Direction(v string) predicate.Commitment

Direction applies equality check predicate on the "direction" field. It's identical to DirectionEQ.

func DirectionContains

func DirectionContains(v string) predicate.Commitment

DirectionContains applies the Contains predicate on the "direction" field.

func DirectionContainsFold

func DirectionContainsFold(v string) predicate.Commitment

DirectionContainsFold applies the ContainsFold predicate on the "direction" field.

func DirectionEQ

func DirectionEQ(v string) predicate.Commitment

DirectionEQ applies the EQ predicate on the "direction" field.

func DirectionEqualFold

func DirectionEqualFold(v string) predicate.Commitment

DirectionEqualFold applies the EqualFold predicate on the "direction" field.

func DirectionGT

func DirectionGT(v string) predicate.Commitment

DirectionGT applies the GT predicate on the "direction" field.

func DirectionGTE

func DirectionGTE(v string) predicate.Commitment

DirectionGTE applies the GTE predicate on the "direction" field.

func DirectionHasPrefix

func DirectionHasPrefix(v string) predicate.Commitment

DirectionHasPrefix applies the HasPrefix predicate on the "direction" field.

func DirectionHasSuffix

func DirectionHasSuffix(v string) predicate.Commitment

DirectionHasSuffix applies the HasSuffix predicate on the "direction" field.

func DirectionIn

func DirectionIn(vs ...string) predicate.Commitment

DirectionIn applies the In predicate on the "direction" field.

func DirectionLT

func DirectionLT(v string) predicate.Commitment

DirectionLT applies the LT predicate on the "direction" field.

func DirectionLTE

func DirectionLTE(v string) predicate.Commitment

DirectionLTE applies the LTE predicate on the "direction" field.

func DirectionNEQ

func DirectionNEQ(v string) predicate.Commitment

DirectionNEQ applies the NEQ predicate on the "direction" field.

func DirectionNotIn

func DirectionNotIn(vs ...string) predicate.Commitment

DirectionNotIn applies the NotIn predicate on the "direction" field.

func DueAt

func DueAt(v time.Time) predicate.Commitment

DueAt applies equality check predicate on the "due_at" field. It's identical to DueAtEQ.

func DueAtEQ

func DueAtEQ(v time.Time) predicate.Commitment

DueAtEQ applies the EQ predicate on the "due_at" field.

func DueAtGT

func DueAtGT(v time.Time) predicate.Commitment

DueAtGT applies the GT predicate on the "due_at" field.

func DueAtGTE

func DueAtGTE(v time.Time) predicate.Commitment

DueAtGTE applies the GTE predicate on the "due_at" field.

func DueAtIn

func DueAtIn(vs ...time.Time) predicate.Commitment

DueAtIn applies the In predicate on the "due_at" field.

func DueAtIsNil

func DueAtIsNil() predicate.Commitment

DueAtIsNil applies the IsNil predicate on the "due_at" field.

func DueAtLT

func DueAtLT(v time.Time) predicate.Commitment

DueAtLT applies the LT predicate on the "due_at" field.

func DueAtLTE

func DueAtLTE(v time.Time) predicate.Commitment

DueAtLTE applies the LTE predicate on the "due_at" field.

func DueAtNEQ

func DueAtNEQ(v time.Time) predicate.Commitment

DueAtNEQ applies the NEQ predicate on the "due_at" field.

func DueAtNotIn

func DueAtNotIn(vs ...time.Time) predicate.Commitment

DueAtNotIn applies the NotIn predicate on the "due_at" field.

func DueAtNotNil

func DueAtNotNil() predicate.Commitment

DueAtNotNil applies the NotNil predicate on the "due_at" field.

func DuePhrase

func DuePhrase(v string) predicate.Commitment

DuePhrase applies equality check predicate on the "due_phrase" field. It's identical to DuePhraseEQ.

func DuePhraseContains

func DuePhraseContains(v string) predicate.Commitment

DuePhraseContains applies the Contains predicate on the "due_phrase" field.

func DuePhraseContainsFold

func DuePhraseContainsFold(v string) predicate.Commitment

DuePhraseContainsFold applies the ContainsFold predicate on the "due_phrase" field.

func DuePhraseEQ

func DuePhraseEQ(v string) predicate.Commitment

DuePhraseEQ applies the EQ predicate on the "due_phrase" field.

func DuePhraseEqualFold

func DuePhraseEqualFold(v string) predicate.Commitment

DuePhraseEqualFold applies the EqualFold predicate on the "due_phrase" field.

func DuePhraseGT

func DuePhraseGT(v string) predicate.Commitment

DuePhraseGT applies the GT predicate on the "due_phrase" field.

func DuePhraseGTE

func DuePhraseGTE(v string) predicate.Commitment

DuePhraseGTE applies the GTE predicate on the "due_phrase" field.

func DuePhraseHasPrefix

func DuePhraseHasPrefix(v string) predicate.Commitment

DuePhraseHasPrefix applies the HasPrefix predicate on the "due_phrase" field.

func DuePhraseHasSuffix

func DuePhraseHasSuffix(v string) predicate.Commitment

DuePhraseHasSuffix applies the HasSuffix predicate on the "due_phrase" field.

func DuePhraseIn

func DuePhraseIn(vs ...string) predicate.Commitment

DuePhraseIn applies the In predicate on the "due_phrase" field.

func DuePhraseIsNil

func DuePhraseIsNil() predicate.Commitment

DuePhraseIsNil applies the IsNil predicate on the "due_phrase" field.

func DuePhraseLT

func DuePhraseLT(v string) predicate.Commitment

DuePhraseLT applies the LT predicate on the "due_phrase" field.

func DuePhraseLTE

func DuePhraseLTE(v string) predicate.Commitment

DuePhraseLTE applies the LTE predicate on the "due_phrase" field.

func DuePhraseNEQ

func DuePhraseNEQ(v string) predicate.Commitment

DuePhraseNEQ applies the NEQ predicate on the "due_phrase" field.

func DuePhraseNotIn

func DuePhraseNotIn(vs ...string) predicate.Commitment

DuePhraseNotIn applies the NotIn predicate on the "due_phrase" field.

func DuePhraseNotNil

func DuePhraseNotNil() predicate.Commitment

DuePhraseNotNil applies the NotNil predicate on the "due_phrase" field.

func DueTimezone

func DueTimezone(v string) predicate.Commitment

DueTimezone applies equality check predicate on the "due_timezone" field. It's identical to DueTimezoneEQ.

func DueTimezoneContains

func DueTimezoneContains(v string) predicate.Commitment

DueTimezoneContains applies the Contains predicate on the "due_timezone" field.

func DueTimezoneContainsFold

func DueTimezoneContainsFold(v string) predicate.Commitment

DueTimezoneContainsFold applies the ContainsFold predicate on the "due_timezone" field.

func DueTimezoneEQ

func DueTimezoneEQ(v string) predicate.Commitment

DueTimezoneEQ applies the EQ predicate on the "due_timezone" field.

func DueTimezoneEqualFold

func DueTimezoneEqualFold(v string) predicate.Commitment

DueTimezoneEqualFold applies the EqualFold predicate on the "due_timezone" field.

func DueTimezoneGT

func DueTimezoneGT(v string) predicate.Commitment

DueTimezoneGT applies the GT predicate on the "due_timezone" field.

func DueTimezoneGTE

func DueTimezoneGTE(v string) predicate.Commitment

DueTimezoneGTE applies the GTE predicate on the "due_timezone" field.

func DueTimezoneHasPrefix

func DueTimezoneHasPrefix(v string) predicate.Commitment

DueTimezoneHasPrefix applies the HasPrefix predicate on the "due_timezone" field.

func DueTimezoneHasSuffix

func DueTimezoneHasSuffix(v string) predicate.Commitment

DueTimezoneHasSuffix applies the HasSuffix predicate on the "due_timezone" field.

func DueTimezoneIn

func DueTimezoneIn(vs ...string) predicate.Commitment

DueTimezoneIn applies the In predicate on the "due_timezone" field.

func DueTimezoneIsNil

func DueTimezoneIsNil() predicate.Commitment

DueTimezoneIsNil applies the IsNil predicate on the "due_timezone" field.

func DueTimezoneLT

func DueTimezoneLT(v string) predicate.Commitment

DueTimezoneLT applies the LT predicate on the "due_timezone" field.

func DueTimezoneLTE

func DueTimezoneLTE(v string) predicate.Commitment

DueTimezoneLTE applies the LTE predicate on the "due_timezone" field.

func DueTimezoneNEQ

func DueTimezoneNEQ(v string) predicate.Commitment

DueTimezoneNEQ applies the NEQ predicate on the "due_timezone" field.

func DueTimezoneNotIn

func DueTimezoneNotIn(vs ...string) predicate.Commitment

DueTimezoneNotIn applies the NotIn predicate on the "due_timezone" field.

func DueTimezoneNotNil

func DueTimezoneNotNil() predicate.Commitment

DueTimezoneNotNil applies the NotNil predicate on the "due_timezone" field.

func HasEvents

func HasEvents() predicate.Commitment

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.CommitmentEvent) predicate.Commitment

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

func HasEvidences

func HasEvidences() predicate.Commitment

HasEvidences applies the HasEdge predicate on the "evidences" edge.

func HasEvidencesWith

func HasEvidencesWith(preds ...predicate.RevenueEvidence) predicate.Commitment

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

func HasIncomingDependencies

func HasIncomingDependencies() predicate.Commitment

HasIncomingDependencies applies the HasEdge predicate on the "incoming_dependencies" edge.

func HasIncomingDependenciesWith

func HasIncomingDependenciesWith(preds ...predicate.CommitmentDependency) predicate.Commitment

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

func HasOutgoingDependencies

func HasOutgoingDependencies() predicate.Commitment

HasOutgoingDependencies applies the HasEdge predicate on the "outgoing_dependencies" edge.

func HasOutgoingDependenciesWith

func HasOutgoingDependenciesWith(preds ...predicate.CommitmentDependency) predicate.Commitment

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

func HasRelationship

func HasRelationship() predicate.Commitment

HasRelationship applies the HasEdge predicate on the "relationship" edge.

func HasRelationshipWith

func HasRelationshipWith(preds ...predicate.Relationship) predicate.Commitment

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

func HasUser

func HasUser() predicate.Commitment

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Commitment

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

func HasWorkspace

func HasWorkspace() predicate.Commitment

HasWorkspace applies the HasEdge predicate on the "workspace" edge.

func HasWorkspaceWith

func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.Commitment

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Commitment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Commitment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Commitment

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Commitment

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Commitment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Commitment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Commitment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Commitment

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Commitment) predicate.Commitment

Or groups predicates with the OR operator between them.

func OwnerParticipantRef

func OwnerParticipantRef(v string) predicate.Commitment

OwnerParticipantRef applies equality check predicate on the "owner_participant_ref" field. It's identical to OwnerParticipantRefEQ.

func OwnerParticipantRefContains

func OwnerParticipantRefContains(v string) predicate.Commitment

OwnerParticipantRefContains applies the Contains predicate on the "owner_participant_ref" field.

func OwnerParticipantRefContainsFold

func OwnerParticipantRefContainsFold(v string) predicate.Commitment

OwnerParticipantRefContainsFold applies the ContainsFold predicate on the "owner_participant_ref" field.

func OwnerParticipantRefEQ

func OwnerParticipantRefEQ(v string) predicate.Commitment

OwnerParticipantRefEQ applies the EQ predicate on the "owner_participant_ref" field.

func OwnerParticipantRefEqualFold

func OwnerParticipantRefEqualFold(v string) predicate.Commitment

OwnerParticipantRefEqualFold applies the EqualFold predicate on the "owner_participant_ref" field.

func OwnerParticipantRefGT

func OwnerParticipantRefGT(v string) predicate.Commitment

OwnerParticipantRefGT applies the GT predicate on the "owner_participant_ref" field.

func OwnerParticipantRefGTE

func OwnerParticipantRefGTE(v string) predicate.Commitment

OwnerParticipantRefGTE applies the GTE predicate on the "owner_participant_ref" field.

func OwnerParticipantRefHasPrefix

func OwnerParticipantRefHasPrefix(v string) predicate.Commitment

OwnerParticipantRefHasPrefix applies the HasPrefix predicate on the "owner_participant_ref" field.

func OwnerParticipantRefHasSuffix

func OwnerParticipantRefHasSuffix(v string) predicate.Commitment

OwnerParticipantRefHasSuffix applies the HasSuffix predicate on the "owner_participant_ref" field.

func OwnerParticipantRefIn

func OwnerParticipantRefIn(vs ...string) predicate.Commitment

OwnerParticipantRefIn applies the In predicate on the "owner_participant_ref" field.

func OwnerParticipantRefIsNil

func OwnerParticipantRefIsNil() predicate.Commitment

OwnerParticipantRefIsNil applies the IsNil predicate on the "owner_participant_ref" field.

func OwnerParticipantRefLT

func OwnerParticipantRefLT(v string) predicate.Commitment

OwnerParticipantRefLT applies the LT predicate on the "owner_participant_ref" field.

func OwnerParticipantRefLTE

func OwnerParticipantRefLTE(v string) predicate.Commitment

OwnerParticipantRefLTE applies the LTE predicate on the "owner_participant_ref" field.

func OwnerParticipantRefNEQ

func OwnerParticipantRefNEQ(v string) predicate.Commitment

OwnerParticipantRefNEQ applies the NEQ predicate on the "owner_participant_ref" field.

func OwnerParticipantRefNotIn

func OwnerParticipantRefNotIn(vs ...string) predicate.Commitment

OwnerParticipantRefNotIn applies the NotIn predicate on the "owner_participant_ref" field.

func OwnerParticipantRefNotNil

func OwnerParticipantRefNotNil() predicate.Commitment

OwnerParticipantRefNotNil applies the NotNil predicate on the "owner_participant_ref" field.

func SourcePhrase

func SourcePhrase(v string) predicate.Commitment

SourcePhrase applies equality check predicate on the "source_phrase" field. It's identical to SourcePhraseEQ.

func SourcePhraseContains

func SourcePhraseContains(v string) predicate.Commitment

SourcePhraseContains applies the Contains predicate on the "source_phrase" field.

func SourcePhraseContainsFold

func SourcePhraseContainsFold(v string) predicate.Commitment

SourcePhraseContainsFold applies the ContainsFold predicate on the "source_phrase" field.

func SourcePhraseEQ

func SourcePhraseEQ(v string) predicate.Commitment

SourcePhraseEQ applies the EQ predicate on the "source_phrase" field.

func SourcePhraseEqualFold

func SourcePhraseEqualFold(v string) predicate.Commitment

SourcePhraseEqualFold applies the EqualFold predicate on the "source_phrase" field.

func SourcePhraseGT

func SourcePhraseGT(v string) predicate.Commitment

SourcePhraseGT applies the GT predicate on the "source_phrase" field.

func SourcePhraseGTE

func SourcePhraseGTE(v string) predicate.Commitment

SourcePhraseGTE applies the GTE predicate on the "source_phrase" field.

func SourcePhraseHasPrefix

func SourcePhraseHasPrefix(v string) predicate.Commitment

SourcePhraseHasPrefix applies the HasPrefix predicate on the "source_phrase" field.

func SourcePhraseHasSuffix

func SourcePhraseHasSuffix(v string) predicate.Commitment

SourcePhraseHasSuffix applies the HasSuffix predicate on the "source_phrase" field.

func SourcePhraseIn

func SourcePhraseIn(vs ...string) predicate.Commitment

SourcePhraseIn applies the In predicate on the "source_phrase" field.

func SourcePhraseIsNil

func SourcePhraseIsNil() predicate.Commitment

SourcePhraseIsNil applies the IsNil predicate on the "source_phrase" field.

func SourcePhraseLT

func SourcePhraseLT(v string) predicate.Commitment

SourcePhraseLT applies the LT predicate on the "source_phrase" field.

func SourcePhraseLTE

func SourcePhraseLTE(v string) predicate.Commitment

SourcePhraseLTE applies the LTE predicate on the "source_phrase" field.

func SourcePhraseNEQ

func SourcePhraseNEQ(v string) predicate.Commitment

SourcePhraseNEQ applies the NEQ predicate on the "source_phrase" field.

func SourcePhraseNotIn

func SourcePhraseNotIn(vs ...string) predicate.Commitment

SourcePhraseNotIn applies the NotIn predicate on the "source_phrase" field.

func SourcePhraseNotNil

func SourcePhraseNotNil() predicate.Commitment

SourcePhraseNotNil applies the NotNil predicate on the "source_phrase" field.

func Status

func Status(v string) predicate.Commitment

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Commitment

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Commitment

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Commitment

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Commitment

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Commitment

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Commitment

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Commitment

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Commitment

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Commitment

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Commitment

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Commitment

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Commitment

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Commitment

StatusNotIn applies the NotIn predicate on the "status" field.

func Text

func Text(v string) predicate.Commitment

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.Commitment

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.Commitment

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

func TextEQ(v string) predicate.Commitment

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.Commitment

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

func TextGT(v string) predicate.Commitment

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.Commitment

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.Commitment

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.Commitment

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.Commitment

TextIn applies the In predicate on the "text" field.

func TextLT

func TextLT(v string) predicate.Commitment

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.Commitment

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.Commitment

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.Commitment

TextNotIn applies the NotIn predicate on the "text" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Commitment

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Commitment

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Commitment

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Commitment

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Commitment

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Commitment

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Commitment

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Commitment

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Commitment

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserConfirmed

func UserConfirmed(v bool) predicate.Commitment

UserConfirmed applies equality check predicate on the "user_confirmed" field. It's identical to UserConfirmedEQ.

func UserConfirmedEQ

func UserConfirmedEQ(v bool) predicate.Commitment

UserConfirmedEQ applies the EQ predicate on the "user_confirmed" field.

func UserConfirmedNEQ

func UserConfirmedNEQ(v bool) predicate.Commitment

UserConfirmedNEQ applies the NEQ predicate on the "user_confirmed" 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 Commitment queries.

func ByAcceptance

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

ByAcceptance orders the results by the acceptance field.

func ByBeneficiaryParticipantRef

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

ByBeneficiaryParticipantRef orders the results by the beneficiary_participant_ref field.

func ByBlocker

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

ByBlocker orders the results by the blocker field.

func ByCompletedAt

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

ByCompletedAt orders the results by the completed_at field.

func ByConfidence

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

ByConfidence orders the results by the confidence field.

func ByCounterpartyParticipantRef

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

ByCounterpartyParticipantRef orders the results by the counterparty_participant_ref field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCurrentEventVersion

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

ByCurrentEventVersion orders the results by the current_event_version field.

func ByDirection

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

ByDirection orders the results by the direction field.

func ByDueAt

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

ByDueAt orders the results by the due_at field.

func ByDuePhrase

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

ByDuePhrase orders the results by the due_phrase field.

func ByDueTimezone

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

ByDueTimezone orders the results by the due_timezone field.

func ByEvents

func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByEvidences

func ByEvidences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEvidences orders the results by evidences terms.

func ByEvidencesCount

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

ByEvidencesCount orders the results by evidences count.

func ByID

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

ByID orders the results by the id field.

func ByIncomingDependencies

func ByIncomingDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncomingDependencies orders the results by incoming_dependencies terms.

func ByIncomingDependenciesCount

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

ByIncomingDependenciesCount orders the results by incoming_dependencies count.

func ByOutgoingDependencies

func ByOutgoingDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByOutgoingDependencies orders the results by outgoing_dependencies terms.

func ByOutgoingDependenciesCount

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

ByOutgoingDependenciesCount orders the results by outgoing_dependencies count.

func ByOwnerParticipantRef

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

ByOwnerParticipantRef orders the results by the owner_participant_ref field.

func ByRelationshipField

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

ByRelationshipField orders the results by relationship field.

func BySourcePhrase

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

BySourcePhrase orders the results by the source_phrase field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByText

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

ByText orders the results by the text field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserConfirmed

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

ByUserConfirmed orders the results by the user_confirmed field.

func ByUserField

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

ByUserField orders the results by user field.

func ByWorkspaceField

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

ByWorkspaceField orders the results by workspace field.

Jump to

Keyboard shortcuts

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