Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FlowDefinition) predicate.FlowDefinition
- func CreatedAt(v int64) predicate.FlowDefinition
- func CreatedAtEQ(v int64) predicate.FlowDefinition
- func CreatedAtGT(v int64) predicate.FlowDefinition
- func CreatedAtGTE(v int64) predicate.FlowDefinition
- func CreatedAtIn(vs ...int64) predicate.FlowDefinition
- func CreatedAtLT(v int64) predicate.FlowDefinition
- func CreatedAtLTE(v int64) predicate.FlowDefinition
- func CreatedAtNEQ(v int64) predicate.FlowDefinition
- func CreatedAtNotIn(vs ...int64) predicate.FlowDefinition
- func DeletedAt(v int64) predicate.FlowDefinition
- func DeletedAtEQ(v int64) predicate.FlowDefinition
- func DeletedAtGT(v int64) predicate.FlowDefinition
- func DeletedAtGTE(v int64) predicate.FlowDefinition
- func DeletedAtIn(vs ...int64) predicate.FlowDefinition
- func DeletedAtIsNil() predicate.FlowDefinition
- func DeletedAtLT(v int64) predicate.FlowDefinition
- func DeletedAtLTE(v int64) predicate.FlowDefinition
- func DeletedAtNEQ(v int64) predicate.FlowDefinition
- func DeletedAtNotIn(vs ...int64) predicate.FlowDefinition
- func DeletedAtNotNil() predicate.FlowDefinition
- func HasFlowDeployments() predicate.FlowDefinition
- func HasFlowDeploymentsWith(preds ...predicate.FlowDeployment) predicate.FlowDefinition
- func ID(id string) predicate.FlowDefinition
- func IDEQ(id string) predicate.FlowDefinition
- func IDGT(id string) predicate.FlowDefinition
- func IDGTE(id string) predicate.FlowDefinition
- func IDIn(ids ...string) predicate.FlowDefinition
- func IDLT(id string) predicate.FlowDefinition
- func IDLTE(id string) predicate.FlowDefinition
- func IDNEQ(id string) predicate.FlowDefinition
- func IDNotIn(ids ...string) predicate.FlowDefinition
- func Name(v string) predicate.FlowDefinition
- func NameContains(v string) predicate.FlowDefinition
- func NameContainsFold(v string) predicate.FlowDefinition
- func NameEQ(v string) predicate.FlowDefinition
- func NameEqualFold(v string) predicate.FlowDefinition
- func NameGT(v string) predicate.FlowDefinition
- func NameGTE(v string) predicate.FlowDefinition
- func NameHasPrefix(v string) predicate.FlowDefinition
- func NameHasSuffix(v string) predicate.FlowDefinition
- func NameIn(vs ...string) predicate.FlowDefinition
- func NameLT(v string) predicate.FlowDefinition
- func NameLTE(v string) predicate.FlowDefinition
- func NameNEQ(v string) predicate.FlowDefinition
- func NameNotIn(vs ...string) predicate.FlowDefinition
- func Not(p predicate.FlowDefinition) predicate.FlowDefinition
- func Or(predicates ...predicate.FlowDefinition) predicate.FlowDefinition
- func Remark(v string) predicate.FlowDefinition
- func RemarkContains(v string) predicate.FlowDefinition
- func RemarkContainsFold(v string) predicate.FlowDefinition
- func RemarkEQ(v string) predicate.FlowDefinition
- func RemarkEqualFold(v string) predicate.FlowDefinition
- func RemarkGT(v string) predicate.FlowDefinition
- func RemarkGTE(v string) predicate.FlowDefinition
- func RemarkHasPrefix(v string) predicate.FlowDefinition
- func RemarkHasSuffix(v string) predicate.FlowDefinition
- func RemarkIn(vs ...string) predicate.FlowDefinition
- func RemarkIsNil() predicate.FlowDefinition
- func RemarkLT(v string) predicate.FlowDefinition
- func RemarkLTE(v string) predicate.FlowDefinition
- func RemarkNEQ(v string) predicate.FlowDefinition
- func RemarkNotIn(vs ...string) predicate.FlowDefinition
- func RemarkNotNil() predicate.FlowDefinition
- func Status(v int8) predicate.FlowDefinition
- func StatusEQ(v int8) predicate.FlowDefinition
- func StatusGT(v int8) predicate.FlowDefinition
- func StatusGTE(v int8) predicate.FlowDefinition
- func StatusIn(vs ...int8) predicate.FlowDefinition
- func StatusLT(v int8) predicate.FlowDefinition
- func StatusLTE(v int8) predicate.FlowDefinition
- func StatusNEQ(v int8) predicate.FlowDefinition
- func StatusNotIn(vs ...int8) predicate.FlowDefinition
- func UpdatedAt(v int64) predicate.FlowDefinition
- func UpdatedAtEQ(v int64) predicate.FlowDefinition
- func UpdatedAtGT(v int64) predicate.FlowDefinition
- func UpdatedAtGTE(v int64) predicate.FlowDefinition
- func UpdatedAtIn(vs ...int64) predicate.FlowDefinition
- func UpdatedAtLT(v int64) predicate.FlowDefinition
- func UpdatedAtLTE(v int64) predicate.FlowDefinition
- func UpdatedAtNEQ(v int64) predicate.FlowDefinition
- func UpdatedAtNotIn(vs ...int64) predicate.FlowDefinition
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the flowdefinition type in the database. Label = "flow_definition" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // EdgeFlowDeployments holds the string denoting the flow_deployments edge name in mutations. EdgeFlowDeployments = "flow_deployments" // Table holds the table name of the flowdefinition in the database. Table = "flow_definitions" // FlowDeploymentsTable is the table that holds the flow_deployments relation/edge. FlowDeploymentsTable = "flow_deployments" // FlowDeploymentsInverseTable is the table name for the FlowDeployment entity. // It exists in this package in order to avoid circular dependency with the "flowdeployment" package. FlowDeploymentsInverseTable = "flow_deployments" // FlowDeploymentsColumn is the table column denoting the flow_deployments relation/edge. FlowDeploymentsColumn = "flow_definition_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() int64 // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() int64 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() int64 // DefaultDeletedAt holds the default value on creation for the "deleted_at" field. DefaultDeletedAt int64 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int8 // DefaultRemark holds the default value on creation for the "remark" field. DefaultRemark string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldStatus, FieldModel, FieldRemark, }
Columns holds all SQL columns for flowdefinition fields.
Functions ¶
func And ¶
func And(predicates ...predicate.FlowDefinition) predicate.FlowDefinition
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v int64) predicate.FlowDefinition
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.FlowDefinition
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.FlowDefinition
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.FlowDefinition
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.FlowDefinition
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.FlowDefinition
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.FlowDefinition
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.FlowDefinition
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.FlowDefinition
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v int64) predicate.FlowDefinition
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v int64) predicate.FlowDefinition
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v int64) predicate.FlowDefinition
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v int64) predicate.FlowDefinition
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...int64) predicate.FlowDefinition
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.FlowDefinition
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v int64) predicate.FlowDefinition
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v int64) predicate.FlowDefinition
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v int64) predicate.FlowDefinition
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...int64) predicate.FlowDefinition
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.FlowDefinition
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasFlowDeployments ¶
func HasFlowDeployments() predicate.FlowDefinition
HasFlowDeployments applies the HasEdge predicate on the "flow_deployments" edge.
func HasFlowDeploymentsWith ¶
func HasFlowDeploymentsWith(preds ...predicate.FlowDeployment) predicate.FlowDefinition
HasFlowDeploymentsWith applies the HasEdge predicate on the "flow_deployments" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.FlowDefinition
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.FlowDefinition
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.FlowDefinition
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.FlowDefinition
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.FlowDefinition
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.FlowDefinition
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.FlowDefinition
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.FlowDefinition
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.FlowDefinition
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.FlowDefinition
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.FlowDefinition
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.FlowDefinition
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.FlowDefinition
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.FlowDefinition
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.FlowDefinition
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.FlowDefinition
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.FlowDefinition
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.FlowDefinition
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.FlowDefinition
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.FlowDefinition
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.FlowDefinition
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.FlowDefinition
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.FlowDefinition) predicate.FlowDefinition
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.FlowDefinition) predicate.FlowDefinition
Or groups predicates with the OR operator between them.
func Remark ¶
func Remark(v string) predicate.FlowDefinition
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
func RemarkContains(v string) predicate.FlowDefinition
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
func RemarkContainsFold(v string) predicate.FlowDefinition
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEQ ¶
func RemarkEQ(v string) predicate.FlowDefinition
RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEqualFold ¶
func RemarkEqualFold(v string) predicate.FlowDefinition
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkGT ¶
func RemarkGT(v string) predicate.FlowDefinition
RemarkGT applies the GT predicate on the "remark" field.
func RemarkGTE ¶
func RemarkGTE(v string) predicate.FlowDefinition
RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkHasPrefix ¶
func RemarkHasPrefix(v string) predicate.FlowDefinition
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
func RemarkHasSuffix(v string) predicate.FlowDefinition
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkIn ¶
func RemarkIn(vs ...string) predicate.FlowDefinition
RemarkIn applies the In predicate on the "remark" field.
func RemarkIsNil ¶
func RemarkIsNil() predicate.FlowDefinition
RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkLT ¶
func RemarkLT(v string) predicate.FlowDefinition
RemarkLT applies the LT predicate on the "remark" field.
func RemarkLTE ¶
func RemarkLTE(v string) predicate.FlowDefinition
RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkNEQ ¶
func RemarkNEQ(v string) predicate.FlowDefinition
RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNotIn ¶
func RemarkNotIn(vs ...string) predicate.FlowDefinition
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotNil ¶
func RemarkNotNil() predicate.FlowDefinition
RemarkNotNil applies the NotNil predicate on the "remark" field.
func Status ¶
func Status(v int8) predicate.FlowDefinition
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v int8) predicate.FlowDefinition
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v int8) predicate.FlowDefinition
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v int8) predicate.FlowDefinition
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...int8) predicate.FlowDefinition
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v int8) predicate.FlowDefinition
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v int8) predicate.FlowDefinition
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v int8) predicate.FlowDefinition
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...int8) predicate.FlowDefinition
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v int64) predicate.FlowDefinition
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v int64) predicate.FlowDefinition
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v int64) predicate.FlowDefinition
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v int64) predicate.FlowDefinition
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...int64) predicate.FlowDefinition
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v int64) predicate.FlowDefinition
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v int64) predicate.FlowDefinition
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v int64) predicate.FlowDefinition
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...int64) predicate.FlowDefinition
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).
Types ¶
This section is empty.