Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Namespace) predicate.Namespace
- func Created(v time.Time) predicate.Namespace
- func CreatedEQ(v time.Time) predicate.Namespace
- func CreatedGT(v time.Time) predicate.Namespace
- func CreatedGTE(v time.Time) predicate.Namespace
- func CreatedIn(vs ...time.Time) predicate.Namespace
- func CreatedLT(v time.Time) predicate.Namespace
- func CreatedLTE(v time.Time) predicate.Namespace
- func CreatedNEQ(v time.Time) predicate.Namespace
- func CreatedNotIn(vs ...time.Time) predicate.Namespace
- func HasWorkflows() predicate.Namespace
- func HasWorkflowsWith(preds ...predicate.Workflow) predicate.Namespace
- func ID(id string) predicate.Namespace
- func IDEQ(id string) predicate.Namespace
- func IDGT(id string) predicate.Namespace
- func IDGTE(id string) predicate.Namespace
- func IDIn(ids ...string) predicate.Namespace
- func IDLT(id string) predicate.Namespace
- func IDLTE(id string) predicate.Namespace
- func IDNEQ(id string) predicate.Namespace
- func IDNotIn(ids ...string) predicate.Namespace
- func Not(p predicate.Namespace) predicate.Namespace
- func Or(predicates ...predicate.Namespace) predicate.Namespace
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the namespace type in the database. Label = "namespace" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // EdgeWorkflows holds the string denoting the workflows edge name in mutations. EdgeWorkflows = "workflows" // Table holds the table name of the namespace in the database. Table = "namespaces" // WorkflowsTable is the table that holds the workflows relation/edge. WorkflowsTable = "workflows" // WorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowsInverseTable = "workflows" // WorkflowsColumn is the table column denoting the workflows relation/edge. WorkflowsColumn = "namespace_workflows" )
Variables ¶
View Source
var ( // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
View Source
var Columns = []string{ FieldID, FieldCreated, }
Columns holds all SQL columns for namespace fields.
Functions ¶
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func HasWorkflows ¶
HasWorkflows applies the HasEdge predicate on the "workflows" edge.
func HasWorkflowsWith ¶
HasWorkflowsWith applies the HasEdge predicate on the "workflows" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.