commitmentevent

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 commitmentevent type in the database.
	Label = "commitment_event"
	// 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"
	// FieldSourceEventID holds the string denoting the source_event_id field in the database.
	FieldSourceEventID = "source_event_id"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldActorType holds the string denoting the actor_type field in the database.
	FieldActorType = "actor_type"
	// FieldActorRef holds the string denoting the actor_ref field in the database.
	FieldActorRef = "actor_ref"
	// FieldOccurredAt holds the string denoting the occurred_at field in the database.
	FieldOccurredAt = "occurred_at"
	// FieldSourceObservationID holds the string denoting the source_observation_id field in the database.
	FieldSourceObservationID = "source_observation_id"
	// FieldEvidenceRefs holds the string denoting the evidence_refs field in the database.
	FieldEvidenceRefs = "evidence_refs"
	// FieldPayloadJSON holds the string denoting the payload_json field in the database.
	FieldPayloadJSON = "payload_json"
	// 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"
	// EdgeCommitment holds the string denoting the commitment edge name in mutations.
	EdgeCommitment = "commitment"
	// Table holds the table name of the commitmentevent in the database.
	Table = "commitment_events"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "commitment_events"
	// 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 = "commitment_events"
	// 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 = "commitment_events"
	// 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_commitment_events"
	// CommitmentTable is the table that holds the commitment relation/edge.
	CommitmentTable = "commitment_events"
	// CommitmentInverseTable is the table name for the Commitment entity.
	// It exists in this package in order to avoid circular dependency with the "commitment" package.
	CommitmentInverseTable = "commitments"
	// CommitmentColumn is the table column denoting the commitment relation/edge.
	CommitmentColumn = "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
	// SourceEventIDValidator is a validator for the "source_event_id" field. It is called by the builders before save.
	SourceEventIDValidator func(string) error
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(int) error
	// KindValidator is a validator for the "kind" field. It is called by the builders before save.
	KindValidator func(string) error
	// ActorTypeValidator is a validator for the "actor_type" field. It is called by the builders before save.
	ActorTypeValidator func(string) error
	// DefaultEvidenceRefs holds the default value on creation for the "evidence_refs" field.
	DefaultEvidenceRefs []string
	// DefaultPayloadJSON holds the default value on creation for the "payload_json" field.
	DefaultPayloadJSON string
	// 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 commitmentevent fields.

View Source
var ForeignKeys = []string{
	"commitment_id",
	"relationship_id",
	"revenue_workspace_id",
	"user_commitment_events",
}

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

Functions

func ActorRef

func ActorRef(v string) predicate.CommitmentEvent

ActorRef applies equality check predicate on the "actor_ref" field. It's identical to ActorRefEQ.

func ActorRefContains

func ActorRefContains(v string) predicate.CommitmentEvent

ActorRefContains applies the Contains predicate on the "actor_ref" field.

func ActorRefContainsFold

func ActorRefContainsFold(v string) predicate.CommitmentEvent

ActorRefContainsFold applies the ContainsFold predicate on the "actor_ref" field.

func ActorRefEQ

func ActorRefEQ(v string) predicate.CommitmentEvent

ActorRefEQ applies the EQ predicate on the "actor_ref" field.

func ActorRefEqualFold

func ActorRefEqualFold(v string) predicate.CommitmentEvent

ActorRefEqualFold applies the EqualFold predicate on the "actor_ref" field.

func ActorRefGT

func ActorRefGT(v string) predicate.CommitmentEvent

ActorRefGT applies the GT predicate on the "actor_ref" field.

func ActorRefGTE

func ActorRefGTE(v string) predicate.CommitmentEvent

ActorRefGTE applies the GTE predicate on the "actor_ref" field.

func ActorRefHasPrefix

func ActorRefHasPrefix(v string) predicate.CommitmentEvent

ActorRefHasPrefix applies the HasPrefix predicate on the "actor_ref" field.

func ActorRefHasSuffix

func ActorRefHasSuffix(v string) predicate.CommitmentEvent

ActorRefHasSuffix applies the HasSuffix predicate on the "actor_ref" field.

func ActorRefIn

func ActorRefIn(vs ...string) predicate.CommitmentEvent

ActorRefIn applies the In predicate on the "actor_ref" field.

func ActorRefIsNil

func ActorRefIsNil() predicate.CommitmentEvent

ActorRefIsNil applies the IsNil predicate on the "actor_ref" field.

func ActorRefLT

func ActorRefLT(v string) predicate.CommitmentEvent

ActorRefLT applies the LT predicate on the "actor_ref" field.

func ActorRefLTE

func ActorRefLTE(v string) predicate.CommitmentEvent

ActorRefLTE applies the LTE predicate on the "actor_ref" field.

func ActorRefNEQ

func ActorRefNEQ(v string) predicate.CommitmentEvent

ActorRefNEQ applies the NEQ predicate on the "actor_ref" field.

func ActorRefNotIn

func ActorRefNotIn(vs ...string) predicate.CommitmentEvent

ActorRefNotIn applies the NotIn predicate on the "actor_ref" field.

func ActorRefNotNil

func ActorRefNotNil() predicate.CommitmentEvent

ActorRefNotNil applies the NotNil predicate on the "actor_ref" field.

func ActorType

func ActorType(v string) predicate.CommitmentEvent

ActorType applies equality check predicate on the "actor_type" field. It's identical to ActorTypeEQ.

func ActorTypeContains

func ActorTypeContains(v string) predicate.CommitmentEvent

ActorTypeContains applies the Contains predicate on the "actor_type" field.

func ActorTypeContainsFold

func ActorTypeContainsFold(v string) predicate.CommitmentEvent

ActorTypeContainsFold applies the ContainsFold predicate on the "actor_type" field.

func ActorTypeEQ

func ActorTypeEQ(v string) predicate.CommitmentEvent

ActorTypeEQ applies the EQ predicate on the "actor_type" field.

func ActorTypeEqualFold

func ActorTypeEqualFold(v string) predicate.CommitmentEvent

ActorTypeEqualFold applies the EqualFold predicate on the "actor_type" field.

func ActorTypeGT

func ActorTypeGT(v string) predicate.CommitmentEvent

ActorTypeGT applies the GT predicate on the "actor_type" field.

func ActorTypeGTE

func ActorTypeGTE(v string) predicate.CommitmentEvent

ActorTypeGTE applies the GTE predicate on the "actor_type" field.

func ActorTypeHasPrefix

func ActorTypeHasPrefix(v string) predicate.CommitmentEvent

ActorTypeHasPrefix applies the HasPrefix predicate on the "actor_type" field.

func ActorTypeHasSuffix

func ActorTypeHasSuffix(v string) predicate.CommitmentEvent

ActorTypeHasSuffix applies the HasSuffix predicate on the "actor_type" field.

func ActorTypeIn

func ActorTypeIn(vs ...string) predicate.CommitmentEvent

ActorTypeIn applies the In predicate on the "actor_type" field.

func ActorTypeLT

func ActorTypeLT(v string) predicate.CommitmentEvent

ActorTypeLT applies the LT predicate on the "actor_type" field.

func ActorTypeLTE

func ActorTypeLTE(v string) predicate.CommitmentEvent

ActorTypeLTE applies the LTE predicate on the "actor_type" field.

func ActorTypeNEQ

func ActorTypeNEQ(v string) predicate.CommitmentEvent

ActorTypeNEQ applies the NEQ predicate on the "actor_type" field.

func ActorTypeNotIn

func ActorTypeNotIn(vs ...string) predicate.CommitmentEvent

ActorTypeNotIn applies the NotIn predicate on the "actor_type" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.CommitmentEvent

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.CommitmentEvent

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CommitmentEvent

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CommitmentEvent

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CommitmentEvent

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CommitmentEvent

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CommitmentEvent

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

func CreatedAtNotIn

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

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

func HasCommitment

func HasCommitment() predicate.CommitmentEvent

HasCommitment applies the HasEdge predicate on the "commitment" edge.

func HasCommitmentWith

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

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

func HasRelationship

func HasRelationship() predicate.CommitmentEvent

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

func HasRelationshipWith

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

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

func HasUser

func HasUser() predicate.CommitmentEvent

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

func HasUserWith

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

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

func HasWorkspace

func HasWorkspace() predicate.CommitmentEvent

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

func HasWorkspaceWith

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

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

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

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Kind

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.CommitmentEvent

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.CommitmentEvent

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.CommitmentEvent

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.CommitmentEvent

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.CommitmentEvent

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.CommitmentEvent

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.CommitmentEvent

KindIn applies the In predicate on the "kind" field.

func KindLT

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.CommitmentEvent

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.CommitmentEvent

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.CommitmentEvent

KindNotIn applies the NotIn predicate on the "kind" field.

func Not

Not applies the not operator on the given predicate.

func OccurredAt

func OccurredAt(v time.Time) predicate.CommitmentEvent

OccurredAt applies equality check predicate on the "occurred_at" field. It's identical to OccurredAtEQ.

func OccurredAtEQ

func OccurredAtEQ(v time.Time) predicate.CommitmentEvent

OccurredAtEQ applies the EQ predicate on the "occurred_at" field.

func OccurredAtGT

func OccurredAtGT(v time.Time) predicate.CommitmentEvent

OccurredAtGT applies the GT predicate on the "occurred_at" field.

func OccurredAtGTE

func OccurredAtGTE(v time.Time) predicate.CommitmentEvent

OccurredAtGTE applies the GTE predicate on the "occurred_at" field.

func OccurredAtIn

func OccurredAtIn(vs ...time.Time) predicate.CommitmentEvent

OccurredAtIn applies the In predicate on the "occurred_at" field.

func OccurredAtLT

func OccurredAtLT(v time.Time) predicate.CommitmentEvent

OccurredAtLT applies the LT predicate on the "occurred_at" field.

func OccurredAtLTE

func OccurredAtLTE(v time.Time) predicate.CommitmentEvent

OccurredAtLTE applies the LTE predicate on the "occurred_at" field.

func OccurredAtNEQ

func OccurredAtNEQ(v time.Time) predicate.CommitmentEvent

OccurredAtNEQ applies the NEQ predicate on the "occurred_at" field.

func OccurredAtNotIn

func OccurredAtNotIn(vs ...time.Time) predicate.CommitmentEvent

OccurredAtNotIn applies the NotIn predicate on the "occurred_at" field.

func Or

Or groups predicates with the OR operator between them.

func PayloadJSON

func PayloadJSON(v string) predicate.CommitmentEvent

PayloadJSON applies equality check predicate on the "payload_json" field. It's identical to PayloadJSONEQ.

func PayloadJSONContains

func PayloadJSONContains(v string) predicate.CommitmentEvent

PayloadJSONContains applies the Contains predicate on the "payload_json" field.

func PayloadJSONContainsFold

func PayloadJSONContainsFold(v string) predicate.CommitmentEvent

PayloadJSONContainsFold applies the ContainsFold predicate on the "payload_json" field.

func PayloadJSONEQ

func PayloadJSONEQ(v string) predicate.CommitmentEvent

PayloadJSONEQ applies the EQ predicate on the "payload_json" field.

func PayloadJSONEqualFold

func PayloadJSONEqualFold(v string) predicate.CommitmentEvent

PayloadJSONEqualFold applies the EqualFold predicate on the "payload_json" field.

func PayloadJSONGT

func PayloadJSONGT(v string) predicate.CommitmentEvent

PayloadJSONGT applies the GT predicate on the "payload_json" field.

func PayloadJSONGTE

func PayloadJSONGTE(v string) predicate.CommitmentEvent

PayloadJSONGTE applies the GTE predicate on the "payload_json" field.

func PayloadJSONHasPrefix

func PayloadJSONHasPrefix(v string) predicate.CommitmentEvent

PayloadJSONHasPrefix applies the HasPrefix predicate on the "payload_json" field.

func PayloadJSONHasSuffix

func PayloadJSONHasSuffix(v string) predicate.CommitmentEvent

PayloadJSONHasSuffix applies the HasSuffix predicate on the "payload_json" field.

func PayloadJSONIn

func PayloadJSONIn(vs ...string) predicate.CommitmentEvent

PayloadJSONIn applies the In predicate on the "payload_json" field.

func PayloadJSONLT

func PayloadJSONLT(v string) predicate.CommitmentEvent

PayloadJSONLT applies the LT predicate on the "payload_json" field.

func PayloadJSONLTE

func PayloadJSONLTE(v string) predicate.CommitmentEvent

PayloadJSONLTE applies the LTE predicate on the "payload_json" field.

func PayloadJSONNEQ

func PayloadJSONNEQ(v string) predicate.CommitmentEvent

PayloadJSONNEQ applies the NEQ predicate on the "payload_json" field.

func PayloadJSONNotIn

func PayloadJSONNotIn(vs ...string) predicate.CommitmentEvent

PayloadJSONNotIn applies the NotIn predicate on the "payload_json" field.

func SourceEventID

func SourceEventID(v string) predicate.CommitmentEvent

SourceEventID applies equality check predicate on the "source_event_id" field. It's identical to SourceEventIDEQ.

func SourceEventIDContains

func SourceEventIDContains(v string) predicate.CommitmentEvent

SourceEventIDContains applies the Contains predicate on the "source_event_id" field.

func SourceEventIDContainsFold

func SourceEventIDContainsFold(v string) predicate.CommitmentEvent

SourceEventIDContainsFold applies the ContainsFold predicate on the "source_event_id" field.

func SourceEventIDEQ

func SourceEventIDEQ(v string) predicate.CommitmentEvent

SourceEventIDEQ applies the EQ predicate on the "source_event_id" field.

func SourceEventIDEqualFold

func SourceEventIDEqualFold(v string) predicate.CommitmentEvent

SourceEventIDEqualFold applies the EqualFold predicate on the "source_event_id" field.

func SourceEventIDGT

func SourceEventIDGT(v string) predicate.CommitmentEvent

SourceEventIDGT applies the GT predicate on the "source_event_id" field.

func SourceEventIDGTE

func SourceEventIDGTE(v string) predicate.CommitmentEvent

SourceEventIDGTE applies the GTE predicate on the "source_event_id" field.

func SourceEventIDHasPrefix

func SourceEventIDHasPrefix(v string) predicate.CommitmentEvent

SourceEventIDHasPrefix applies the HasPrefix predicate on the "source_event_id" field.

func SourceEventIDHasSuffix

func SourceEventIDHasSuffix(v string) predicate.CommitmentEvent

SourceEventIDHasSuffix applies the HasSuffix predicate on the "source_event_id" field.

func SourceEventIDIn

func SourceEventIDIn(vs ...string) predicate.CommitmentEvent

SourceEventIDIn applies the In predicate on the "source_event_id" field.

func SourceEventIDLT

func SourceEventIDLT(v string) predicate.CommitmentEvent

SourceEventIDLT applies the LT predicate on the "source_event_id" field.

func SourceEventIDLTE

func SourceEventIDLTE(v string) predicate.CommitmentEvent

SourceEventIDLTE applies the LTE predicate on the "source_event_id" field.

func SourceEventIDNEQ

func SourceEventIDNEQ(v string) predicate.CommitmentEvent

SourceEventIDNEQ applies the NEQ predicate on the "source_event_id" field.

func SourceEventIDNotIn

func SourceEventIDNotIn(vs ...string) predicate.CommitmentEvent

SourceEventIDNotIn applies the NotIn predicate on the "source_event_id" field.

func SourceObservationID

func SourceObservationID(v string) predicate.CommitmentEvent

SourceObservationID applies equality check predicate on the "source_observation_id" field. It's identical to SourceObservationIDEQ.

func SourceObservationIDContains

func SourceObservationIDContains(v string) predicate.CommitmentEvent

SourceObservationIDContains applies the Contains predicate on the "source_observation_id" field.

func SourceObservationIDContainsFold

func SourceObservationIDContainsFold(v string) predicate.CommitmentEvent

SourceObservationIDContainsFold applies the ContainsFold predicate on the "source_observation_id" field.

func SourceObservationIDEQ

func SourceObservationIDEQ(v string) predicate.CommitmentEvent

SourceObservationIDEQ applies the EQ predicate on the "source_observation_id" field.

func SourceObservationIDEqualFold

func SourceObservationIDEqualFold(v string) predicate.CommitmentEvent

SourceObservationIDEqualFold applies the EqualFold predicate on the "source_observation_id" field.

func SourceObservationIDGT

func SourceObservationIDGT(v string) predicate.CommitmentEvent

SourceObservationIDGT applies the GT predicate on the "source_observation_id" field.

func SourceObservationIDGTE

func SourceObservationIDGTE(v string) predicate.CommitmentEvent

SourceObservationIDGTE applies the GTE predicate on the "source_observation_id" field.

func SourceObservationIDHasPrefix

func SourceObservationIDHasPrefix(v string) predicate.CommitmentEvent

SourceObservationIDHasPrefix applies the HasPrefix predicate on the "source_observation_id" field.

func SourceObservationIDHasSuffix

func SourceObservationIDHasSuffix(v string) predicate.CommitmentEvent

SourceObservationIDHasSuffix applies the HasSuffix predicate on the "source_observation_id" field.

func SourceObservationIDIn

func SourceObservationIDIn(vs ...string) predicate.CommitmentEvent

SourceObservationIDIn applies the In predicate on the "source_observation_id" field.

func SourceObservationIDIsNil

func SourceObservationIDIsNil() predicate.CommitmentEvent

SourceObservationIDIsNil applies the IsNil predicate on the "source_observation_id" field.

func SourceObservationIDLT

func SourceObservationIDLT(v string) predicate.CommitmentEvent

SourceObservationIDLT applies the LT predicate on the "source_observation_id" field.

func SourceObservationIDLTE

func SourceObservationIDLTE(v string) predicate.CommitmentEvent

SourceObservationIDLTE applies the LTE predicate on the "source_observation_id" field.

func SourceObservationIDNEQ

func SourceObservationIDNEQ(v string) predicate.CommitmentEvent

SourceObservationIDNEQ applies the NEQ predicate on the "source_observation_id" field.

func SourceObservationIDNotIn

func SourceObservationIDNotIn(vs ...string) predicate.CommitmentEvent

SourceObservationIDNotIn applies the NotIn predicate on the "source_observation_id" field.

func SourceObservationIDNotNil

func SourceObservationIDNotNil() predicate.CommitmentEvent

SourceObservationIDNotNil applies the NotNil predicate on the "source_observation_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.CommitmentEvent

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v int) predicate.CommitmentEvent

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int) predicate.CommitmentEvent

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int) predicate.CommitmentEvent

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int) predicate.CommitmentEvent

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int) predicate.CommitmentEvent

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v int) predicate.CommitmentEvent

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int) predicate.CommitmentEvent

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int) predicate.CommitmentEvent

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int) predicate.CommitmentEvent

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CommitmentEvent queries.

func ByActorRef

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

ByActorRef orders the results by the actor_ref field.

func ByActorType

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

ByActorType orders the results by the actor_type field.

func ByCommitmentField

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

ByCommitmentField orders the results by commitment 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 ByKind

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

ByKind orders the results by the kind field.

func ByOccurredAt

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

ByOccurredAt orders the results by the occurred_at field.

func ByPayloadJSON

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

ByPayloadJSON orders the results by the payload_json field.

func ByRelationshipField

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

ByRelationshipField orders the results by relationship field.

func BySourceEventID

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

BySourceEventID orders the results by the source_event_id field.

func BySourceObservationID

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

BySourceObservationID orders the results by the source_observation_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

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

ByUserField orders the results by user field.

func ByVersion

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

ByVersion orders the results by the version 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