Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Events) predicate.Events
- func Count(v int) predicate.Events
- func CountEQ(v int) predicate.Events
- func CountGT(v int) predicate.Events
- func CountGTE(v int) predicate.Events
- func CountIn(vs ...int) predicate.Events
- func CountLT(v int) predicate.Events
- func CountLTE(v int) predicate.Events
- func CountNEQ(v int) predicate.Events
- func CountNotIn(vs ...int) predicate.Events
- func HasInstance() predicate.Events
- func HasInstanceWith(preds ...predicate.Instance) predicate.Events
- func HasWfeventswait() predicate.Events
- func HasWfeventswaitWith(preds ...predicate.EventsWait) predicate.Events
- func HasWorkflow() predicate.Events
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.Events
- func ID(id uuid.UUID) predicate.Events
- func IDEQ(id uuid.UUID) predicate.Events
- func IDGT(id uuid.UUID) predicate.Events
- func IDGTE(id uuid.UUID) predicate.Events
- func IDIn(ids ...uuid.UUID) predicate.Events
- func IDLT(id uuid.UUID) predicate.Events
- func IDLTE(id uuid.UUID) predicate.Events
- func IDNEQ(id uuid.UUID) predicate.Events
- func IDNotIn(ids ...uuid.UUID) predicate.Events
- func Not(p predicate.Events) predicate.Events
- func Or(predicates ...predicate.Events) predicate.Events
- func Signature(v []byte) predicate.Events
- func SignatureEQ(v []byte) predicate.Events
- func SignatureGT(v []byte) predicate.Events
- func SignatureGTE(v []byte) predicate.Events
- func SignatureIn(vs ...[]byte) predicate.Events
- func SignatureIsNil() predicate.Events
- func SignatureLT(v []byte) predicate.Events
- func SignatureLTE(v []byte) predicate.Events
- func SignatureNEQ(v []byte) predicate.Events
- func SignatureNotIn(vs ...[]byte) predicate.Events
- func SignatureNotNil() predicate.Events
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the events type in the database. Label = "events" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldEvents holds the string denoting the events field in the database. FieldEvents = "events" // FieldCorrelations holds the string denoting the correlations field in the database. FieldCorrelations = "correlations" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // EdgeWorkflow holds the string denoting the workflow edge name in mutations. EdgeWorkflow = "workflow" // EdgeWfeventswait holds the string denoting the wfeventswait edge name in mutations. EdgeWfeventswait = "wfeventswait" // EdgeInstance holds the string denoting the instance edge name in mutations. EdgeInstance = "instance" // Table holds the table name of the events in the database. Table = "events" // WorkflowTable is the table that holds the workflow relation/edge. WorkflowTable = "events" // WorkflowInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowInverseTable = "workflows" // WorkflowColumn is the table column denoting the workflow relation/edge. WorkflowColumn = "workflow_wfevents" // WfeventswaitTable is the table that holds the wfeventswait relation/edge. WfeventswaitTable = "events_waits" // WfeventswaitInverseTable is the table name for the EventsWait entity. // It exists in this package in order to avoid circular dependency with the "eventswait" package. WfeventswaitInverseTable = "events_waits" // WfeventswaitColumn is the table column denoting the wfeventswait relation/edge. WfeventswaitColumn = "events_wfeventswait" // InstanceTable is the table that holds the instance relation/edge. InstanceTable = "events" // InstanceInverseTable is the table name for the Instance entity. // It exists in this package in order to avoid circular dependency with the "instance" package. InstanceInverseTable = "instances" // InstanceColumn is the table column denoting the instance relation/edge. InstanceColumn = "instance_eventlisteners" )
Variables ¶
var Columns = []string{ FieldID, FieldEvents, FieldCorrelations, FieldSignature, FieldCount, }
Columns holds all SQL columns for events fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var ForeignKeys = []string{
"instance_eventlisteners",
"workflow_wfevents",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "events" table and are not defined as standalone fields in the schema.
Functions ¶
func Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" field.
func HasInstance ¶
HasInstance applies the HasEdge predicate on the "instance" edge.
func HasInstanceWith ¶
HasInstanceWith applies the HasEdge predicate on the "instance" edge with a given conditions (other predicates).
func HasWfeventswait ¶
HasWfeventswait applies the HasEdge predicate on the "wfeventswait" edge.
func HasWfeventswaitWith ¶
func HasWfeventswaitWith(preds ...predicate.EventsWait) predicate.Events
HasWfeventswaitWith applies the HasEdge predicate on the "wfeventswait" edge with a given conditions (other predicates).
func HasWorkflow ¶
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func Signature ¶
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureEQ ¶
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureGT ¶
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureIn ¶
SignatureIn applies the In predicate on the "signature" field.
func SignatureIsNil ¶
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureLT ¶
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
SignatureNotIn applies the NotIn predicate on the "signature" field.
func SignatureNotNil ¶
SignatureNotNil applies the NotNil predicate on the "signature" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.