Documentation
¶
Index ¶
- Constants
- Variables
- func ActorRef(v string) predicate.CommitmentEvent
- func ActorRefContains(v string) predicate.CommitmentEvent
- func ActorRefContainsFold(v string) predicate.CommitmentEvent
- func ActorRefEQ(v string) predicate.CommitmentEvent
- func ActorRefEqualFold(v string) predicate.CommitmentEvent
- func ActorRefGT(v string) predicate.CommitmentEvent
- func ActorRefGTE(v string) predicate.CommitmentEvent
- func ActorRefHasPrefix(v string) predicate.CommitmentEvent
- func ActorRefHasSuffix(v string) predicate.CommitmentEvent
- func ActorRefIn(vs ...string) predicate.CommitmentEvent
- func ActorRefIsNil() predicate.CommitmentEvent
- func ActorRefLT(v string) predicate.CommitmentEvent
- func ActorRefLTE(v string) predicate.CommitmentEvent
- func ActorRefNEQ(v string) predicate.CommitmentEvent
- func ActorRefNotIn(vs ...string) predicate.CommitmentEvent
- func ActorRefNotNil() predicate.CommitmentEvent
- func ActorType(v string) predicate.CommitmentEvent
- func ActorTypeContains(v string) predicate.CommitmentEvent
- func ActorTypeContainsFold(v string) predicate.CommitmentEvent
- func ActorTypeEQ(v string) predicate.CommitmentEvent
- func ActorTypeEqualFold(v string) predicate.CommitmentEvent
- func ActorTypeGT(v string) predicate.CommitmentEvent
- func ActorTypeGTE(v string) predicate.CommitmentEvent
- func ActorTypeHasPrefix(v string) predicate.CommitmentEvent
- func ActorTypeHasSuffix(v string) predicate.CommitmentEvent
- func ActorTypeIn(vs ...string) predicate.CommitmentEvent
- func ActorTypeLT(v string) predicate.CommitmentEvent
- func ActorTypeLTE(v string) predicate.CommitmentEvent
- func ActorTypeNEQ(v string) predicate.CommitmentEvent
- func ActorTypeNotIn(vs ...string) predicate.CommitmentEvent
- func And(predicates ...predicate.CommitmentEvent) predicate.CommitmentEvent
- func CreatedAt(v time.Time) predicate.CommitmentEvent
- func CreatedAtEQ(v time.Time) predicate.CommitmentEvent
- func CreatedAtGT(v time.Time) predicate.CommitmentEvent
- func CreatedAtGTE(v time.Time) predicate.CommitmentEvent
- func CreatedAtIn(vs ...time.Time) predicate.CommitmentEvent
- func CreatedAtLT(v time.Time) predicate.CommitmentEvent
- func CreatedAtLTE(v time.Time) predicate.CommitmentEvent
- func CreatedAtNEQ(v time.Time) predicate.CommitmentEvent
- func CreatedAtNotIn(vs ...time.Time) predicate.CommitmentEvent
- func HasCommitment() predicate.CommitmentEvent
- func HasCommitmentWith(preds ...predicate.Commitment) predicate.CommitmentEvent
- func HasRelationship() predicate.CommitmentEvent
- func HasRelationshipWith(preds ...predicate.Relationship) predicate.CommitmentEvent
- func HasUser() predicate.CommitmentEvent
- func HasUserWith(preds ...predicate.User) predicate.CommitmentEvent
- func HasWorkspace() predicate.CommitmentEvent
- func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.CommitmentEvent
- func ID(id uuid.UUID) predicate.CommitmentEvent
- func IDEQ(id uuid.UUID) predicate.CommitmentEvent
- func IDGT(id uuid.UUID) predicate.CommitmentEvent
- func IDGTE(id uuid.UUID) predicate.CommitmentEvent
- func IDIn(ids ...uuid.UUID) predicate.CommitmentEvent
- func IDLT(id uuid.UUID) predicate.CommitmentEvent
- func IDLTE(id uuid.UUID) predicate.CommitmentEvent
- func IDNEQ(id uuid.UUID) predicate.CommitmentEvent
- func IDNotIn(ids ...uuid.UUID) predicate.CommitmentEvent
- func Kind(v string) predicate.CommitmentEvent
- func KindContains(v string) predicate.CommitmentEvent
- func KindContainsFold(v string) predicate.CommitmentEvent
- func KindEQ(v string) predicate.CommitmentEvent
- func KindEqualFold(v string) predicate.CommitmentEvent
- func KindGT(v string) predicate.CommitmentEvent
- func KindGTE(v string) predicate.CommitmentEvent
- func KindHasPrefix(v string) predicate.CommitmentEvent
- func KindHasSuffix(v string) predicate.CommitmentEvent
- func KindIn(vs ...string) predicate.CommitmentEvent
- func KindLT(v string) predicate.CommitmentEvent
- func KindLTE(v string) predicate.CommitmentEvent
- func KindNEQ(v string) predicate.CommitmentEvent
- func KindNotIn(vs ...string) predicate.CommitmentEvent
- func Not(p predicate.CommitmentEvent) predicate.CommitmentEvent
- func OccurredAt(v time.Time) predicate.CommitmentEvent
- func OccurredAtEQ(v time.Time) predicate.CommitmentEvent
- func OccurredAtGT(v time.Time) predicate.CommitmentEvent
- func OccurredAtGTE(v time.Time) predicate.CommitmentEvent
- func OccurredAtIn(vs ...time.Time) predicate.CommitmentEvent
- func OccurredAtLT(v time.Time) predicate.CommitmentEvent
- func OccurredAtLTE(v time.Time) predicate.CommitmentEvent
- func OccurredAtNEQ(v time.Time) predicate.CommitmentEvent
- func OccurredAtNotIn(vs ...time.Time) predicate.CommitmentEvent
- func Or(predicates ...predicate.CommitmentEvent) predicate.CommitmentEvent
- func PayloadJSON(v string) predicate.CommitmentEvent
- func PayloadJSONContains(v string) predicate.CommitmentEvent
- func PayloadJSONContainsFold(v string) predicate.CommitmentEvent
- func PayloadJSONEQ(v string) predicate.CommitmentEvent
- func PayloadJSONEqualFold(v string) predicate.CommitmentEvent
- func PayloadJSONGT(v string) predicate.CommitmentEvent
- func PayloadJSONGTE(v string) predicate.CommitmentEvent
- func PayloadJSONHasPrefix(v string) predicate.CommitmentEvent
- func PayloadJSONHasSuffix(v string) predicate.CommitmentEvent
- func PayloadJSONIn(vs ...string) predicate.CommitmentEvent
- func PayloadJSONLT(v string) predicate.CommitmentEvent
- func PayloadJSONLTE(v string) predicate.CommitmentEvent
- func PayloadJSONNEQ(v string) predicate.CommitmentEvent
- func PayloadJSONNotIn(vs ...string) predicate.CommitmentEvent
- func SourceEventID(v string) predicate.CommitmentEvent
- func SourceEventIDContains(v string) predicate.CommitmentEvent
- func SourceEventIDContainsFold(v string) predicate.CommitmentEvent
- func SourceEventIDEQ(v string) predicate.CommitmentEvent
- func SourceEventIDEqualFold(v string) predicate.CommitmentEvent
- func SourceEventIDGT(v string) predicate.CommitmentEvent
- func SourceEventIDGTE(v string) predicate.CommitmentEvent
- func SourceEventIDHasPrefix(v string) predicate.CommitmentEvent
- func SourceEventIDHasSuffix(v string) predicate.CommitmentEvent
- func SourceEventIDIn(vs ...string) predicate.CommitmentEvent
- func SourceEventIDLT(v string) predicate.CommitmentEvent
- func SourceEventIDLTE(v string) predicate.CommitmentEvent
- func SourceEventIDNEQ(v string) predicate.CommitmentEvent
- func SourceEventIDNotIn(vs ...string) predicate.CommitmentEvent
- func SourceObservationID(v string) predicate.CommitmentEvent
- func SourceObservationIDContains(v string) predicate.CommitmentEvent
- func SourceObservationIDContainsFold(v string) predicate.CommitmentEvent
- func SourceObservationIDEQ(v string) predicate.CommitmentEvent
- func SourceObservationIDEqualFold(v string) predicate.CommitmentEvent
- func SourceObservationIDGT(v string) predicate.CommitmentEvent
- func SourceObservationIDGTE(v string) predicate.CommitmentEvent
- func SourceObservationIDHasPrefix(v string) predicate.CommitmentEvent
- func SourceObservationIDHasSuffix(v string) predicate.CommitmentEvent
- func SourceObservationIDIn(vs ...string) predicate.CommitmentEvent
- func SourceObservationIDIsNil() predicate.CommitmentEvent
- func SourceObservationIDLT(v string) predicate.CommitmentEvent
- func SourceObservationIDLTE(v string) predicate.CommitmentEvent
- func SourceObservationIDNEQ(v string) predicate.CommitmentEvent
- func SourceObservationIDNotIn(vs ...string) predicate.CommitmentEvent
- func SourceObservationIDNotNil() predicate.CommitmentEvent
- func UpdatedAt(v time.Time) predicate.CommitmentEvent
- func UpdatedAtEQ(v time.Time) predicate.CommitmentEvent
- func UpdatedAtGT(v time.Time) predicate.CommitmentEvent
- func UpdatedAtGTE(v time.Time) predicate.CommitmentEvent
- func UpdatedAtIn(vs ...time.Time) predicate.CommitmentEvent
- func UpdatedAtLT(v time.Time) predicate.CommitmentEvent
- func UpdatedAtLTE(v time.Time) predicate.CommitmentEvent
- func UpdatedAtNEQ(v time.Time) predicate.CommitmentEvent
- func UpdatedAtNotIn(vs ...time.Time) predicate.CommitmentEvent
- func ValidColumn(column string) bool
- func Version(v int) predicate.CommitmentEvent
- func VersionEQ(v int) predicate.CommitmentEvent
- func VersionGT(v int) predicate.CommitmentEvent
- func VersionGTE(v int) predicate.CommitmentEvent
- func VersionIn(vs ...int) predicate.CommitmentEvent
- func VersionLT(v int) predicate.CommitmentEvent
- func VersionLTE(v int) predicate.CommitmentEvent
- func VersionNEQ(v int) predicate.CommitmentEvent
- func VersionNotIn(vs ...int) predicate.CommitmentEvent
- type OrderOption
- func ByActorRef(opts ...sql.OrderTermOption) OrderOption
- func ByActorType(opts ...sql.OrderTermOption) OrderOption
- func ByCommitmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByOccurredAt(opts ...sql.OrderTermOption) OrderOption
- func ByPayloadJSON(opts ...sql.OrderTermOption) OrderOption
- func ByRelationshipField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySourceEventID(opts ...sql.OrderTermOption) OrderOption
- func BySourceObservationID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSourceEventID, FieldVersion, FieldKind, FieldActorType, FieldActorRef, FieldOccurredAt, FieldSourceObservationID, FieldEvidenceRefs, FieldPayloadJSON, }
Columns holds all SQL columns for commitmentevent fields.
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 ¶
func And(predicates ...predicate.CommitmentEvent) predicate.CommitmentEvent
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 ¶
func ID(id uuid.UUID) predicate.CommitmentEvent
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CommitmentEvent
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CommitmentEvent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CommitmentEvent
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 ¶
func IDLT(id uuid.UUID) predicate.CommitmentEvent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CommitmentEvent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CommitmentEvent
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 ¶
func Kind(v string) predicate.CommitmentEvent
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 ¶
func KindEQ(v string) predicate.CommitmentEvent
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 ¶
func KindGT(v string) predicate.CommitmentEvent
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 ¶
func KindLT(v string) predicate.CommitmentEvent
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 ¶
func Not(p predicate.CommitmentEvent) predicate.CommitmentEvent
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 ¶
func Or(predicates ...predicate.CommitmentEvent) predicate.CommitmentEvent
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 ¶
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 ¶
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.