Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotifyFlow) predicate.NotifyFlow
- func CreatedAt(v time.Time) predicate.NotifyFlow
- func CreatedAtEQ(v time.Time) predicate.NotifyFlow
- func CreatedAtGT(v time.Time) predicate.NotifyFlow
- func CreatedAtGTE(v time.Time) predicate.NotifyFlow
- func CreatedAtIn(vs ...time.Time) predicate.NotifyFlow
- func CreatedAtLT(v time.Time) predicate.NotifyFlow
- func CreatedAtLTE(v time.Time) predicate.NotifyFlow
- func CreatedAtNEQ(v time.Time) predicate.NotifyFlow
- func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlow
- func Description(v string) predicate.NotifyFlow
- func DescriptionContains(v string) predicate.NotifyFlow
- func DescriptionContainsFold(v string) predicate.NotifyFlow
- func DescriptionEQ(v string) predicate.NotifyFlow
- func DescriptionEqualFold(v string) predicate.NotifyFlow
- func DescriptionGT(v string) predicate.NotifyFlow
- func DescriptionGTE(v string) predicate.NotifyFlow
- func DescriptionHasPrefix(v string) predicate.NotifyFlow
- func DescriptionHasSuffix(v string) predicate.NotifyFlow
- func DescriptionIn(vs ...string) predicate.NotifyFlow
- func DescriptionLT(v string) predicate.NotifyFlow
- func DescriptionLTE(v string) predicate.NotifyFlow
- func DescriptionNEQ(v string) predicate.NotifyFlow
- func DescriptionNotIn(vs ...string) predicate.NotifyFlow
- func HasFeedConfig() predicate.NotifyFlow
- func HasFeedConfigWith(preds ...predicate.FeedConfig) predicate.NotifyFlow
- func HasNotifyFlowTarget() predicate.NotifyFlow
- func HasNotifyFlowTargetWith(preds ...predicate.NotifyFlowTarget) predicate.NotifyFlow
- func HasNotifyTarget() predicate.NotifyFlow
- func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.NotifyFlow
- func HasOwner() predicate.NotifyFlow
- func HasOwnerWith(preds ...predicate.User) predicate.NotifyFlow
- func ID(id model.InternalID) predicate.NotifyFlow
- func IDEQ(id model.InternalID) predicate.NotifyFlow
- func IDGT(id model.InternalID) predicate.NotifyFlow
- func IDGTE(id model.InternalID) predicate.NotifyFlow
- func IDIn(ids ...model.InternalID) predicate.NotifyFlow
- func IDLT(id model.InternalID) predicate.NotifyFlow
- func IDLTE(id model.InternalID) predicate.NotifyFlow
- func IDNEQ(id model.InternalID) predicate.NotifyFlow
- func IDNotIn(ids ...model.InternalID) predicate.NotifyFlow
- func Name(v string) predicate.NotifyFlow
- func NameContains(v string) predicate.NotifyFlow
- func NameContainsFold(v string) predicate.NotifyFlow
- func NameEQ(v string) predicate.NotifyFlow
- func NameEqualFold(v string) predicate.NotifyFlow
- func NameGT(v string) predicate.NotifyFlow
- func NameGTE(v string) predicate.NotifyFlow
- func NameHasPrefix(v string) predicate.NotifyFlow
- func NameHasSuffix(v string) predicate.NotifyFlow
- func NameIn(vs ...string) predicate.NotifyFlow
- func NameLT(v string) predicate.NotifyFlow
- func NameLTE(v string) predicate.NotifyFlow
- func NameNEQ(v string) predicate.NotifyFlow
- func NameNotIn(vs ...string) predicate.NotifyFlow
- func Not(p predicate.NotifyFlow) predicate.NotifyFlow
- func Or(predicates ...predicate.NotifyFlow) predicate.NotifyFlow
- func StatusEQ(v Status) predicate.NotifyFlow
- func StatusIn(vs ...Status) predicate.NotifyFlow
- func StatusNEQ(v Status) predicate.NotifyFlow
- func StatusNotIn(vs ...Status) predicate.NotifyFlow
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.NotifyFlow
- func UpdatedAtEQ(v time.Time) predicate.NotifyFlow
- func UpdatedAtGT(v time.Time) predicate.NotifyFlow
- func UpdatedAtGTE(v time.Time) predicate.NotifyFlow
- func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlow
- func UpdatedAtLT(v time.Time) predicate.NotifyFlow
- func UpdatedAtLTE(v time.Time) predicate.NotifyFlow
- func UpdatedAtNEQ(v time.Time) predicate.NotifyFlow
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlow
- func ValidColumn(column string) bool
- type Status
Constants ¶
const ( // Label holds the string label denoting the notifyflow type in the database. Label = "notify_flow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeNotifyTarget holds the string denoting the notify_target edge name in mutations. EdgeNotifyTarget = "notify_target" // EdgeFeedConfig holds the string denoting the feed_config edge name in mutations. EdgeFeedConfig = "feed_config" // EdgeNotifyFlowTarget holds the string denoting the notify_flow_target edge name in mutations. EdgeNotifyFlowTarget = "notify_flow_target" // Table holds the table name of the notifyflow in the database. Table = "notify_flows" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "notify_flows" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "user_notify_flow" // NotifyTargetTable is the table that holds the notify_target relation/edge. The primary key declared below. NotifyTargetTable = "notify_flow_targets" // NotifyTargetInverseTable is the table name for the NotifyTarget entity. // It exists in this package in order to avoid circular dependency with the "notifytarget" package. NotifyTargetInverseTable = "notify_targets" // FeedConfigTable is the table that holds the feed_config relation/edge. The primary key declared below. FeedConfigTable = "feed_config_notify_flow" // FeedConfigInverseTable is the table name for the FeedConfig entity. // It exists in this package in order to avoid circular dependency with the "feedconfig" package. FeedConfigInverseTable = "feed_configs" // NotifyFlowTargetTable is the table that holds the notify_flow_target relation/edge. NotifyFlowTargetTable = "notify_flow_targets" // NotifyFlowTargetInverseTable is the table name for the NotifyFlowTarget entity. // It exists in this package in order to avoid circular dependency with the "notifyflowtarget" package. NotifyFlowTargetInverseTable = "notify_flow_targets" // NotifyFlowTargetColumn is the table column denoting the notify_flow_target relation/edge. NotifyFlowTargetColumn = "notify_flow_id" )
Variables ¶
var ( // NotifyTargetPrimaryKey and NotifyTargetColumn2 are the table columns denoting the // primary key for the notify_target relation (M2M). NotifyTargetPrimaryKey = []string{"notify_flow_id", "notify_target_id"} // FeedConfigPrimaryKey and FeedConfigColumn2 are the table columns denoting the // primary key for the feed_config relation (M2M). FeedConfigPrimaryKey = []string{"feed_config_id", "notify_flow_id"} )
var ( // 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 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldStatus, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for notifyflow fields.
var ForeignKeys = []string{
"user_notify_flow",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "notify_flows" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.NotifyFlow) predicate.NotifyFlow
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.NotifyFlow
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.NotifyFlow
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.NotifyFlow
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.NotifyFlow
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.NotifyFlow
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.NotifyFlow
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.NotifyFlow
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.NotifyFlow
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlow
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.NotifyFlow
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.NotifyFlow
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.NotifyFlow
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.NotifyFlow
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.NotifyFlow
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.NotifyFlow
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.NotifyFlow
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.NotifyFlow
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.NotifyFlow
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.NotifyFlow
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.NotifyFlow
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.NotifyFlow
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.NotifyFlow
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.NotifyFlow
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasFeedConfig ¶
func HasFeedConfig() predicate.NotifyFlow
HasFeedConfig applies the HasEdge predicate on the "feed_config" edge.
func HasFeedConfigWith ¶
func HasFeedConfigWith(preds ...predicate.FeedConfig) predicate.NotifyFlow
HasFeedConfigWith applies the HasEdge predicate on the "feed_config" edge with a given conditions (other predicates).
func HasNotifyFlowTarget ¶
func HasNotifyFlowTarget() predicate.NotifyFlow
HasNotifyFlowTarget applies the HasEdge predicate on the "notify_flow_target" edge.
func HasNotifyFlowTargetWith ¶
func HasNotifyFlowTargetWith(preds ...predicate.NotifyFlowTarget) predicate.NotifyFlow
HasNotifyFlowTargetWith applies the HasEdge predicate on the "notify_flow_target" edge with a given conditions (other predicates).
func HasNotifyTarget ¶
func HasNotifyTarget() predicate.NotifyFlow
HasNotifyTarget applies the HasEdge predicate on the "notify_target" edge.
func HasNotifyTargetWith ¶
func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.NotifyFlow
HasNotifyTargetWith applies the HasEdge predicate on the "notify_target" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.NotifyFlow
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.NotifyFlow
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id model.InternalID) predicate.NotifyFlow
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id model.InternalID) predicate.NotifyFlow
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id model.InternalID) predicate.NotifyFlow
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id model.InternalID) predicate.NotifyFlow
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...model.InternalID) predicate.NotifyFlow
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id model.InternalID) predicate.NotifyFlow
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id model.InternalID) predicate.NotifyFlow
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id model.InternalID) predicate.NotifyFlow
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...model.InternalID) predicate.NotifyFlow
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.NotifyFlow
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.NotifyFlow
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.NotifyFlow
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.NotifyFlow
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.NotifyFlow
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.NotifyFlow
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.NotifyFlow
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.NotifyFlow
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.NotifyFlow
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.NotifyFlow
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.NotifyFlow
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.NotifyFlow
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.NotifyFlow
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.NotifyFlow
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.NotifyFlow) predicate.NotifyFlow
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NotifyFlow) predicate.NotifyFlow
Or groups predicates with the OR operator between them.
func StatusEQ ¶
func StatusEQ(v Status) predicate.NotifyFlow
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.NotifyFlow
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.NotifyFlow
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.NotifyFlow
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.NotifyFlow
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.NotifyFlow
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.NotifyFlow
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.NotifyFlow
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlow
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.NotifyFlow
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.NotifyFlow
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.NotifyFlow
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlow
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).