Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
- func ChannelID(v string) predicate.NotifyFlowTarget
- func ChannelIDContains(v string) predicate.NotifyFlowTarget
- func ChannelIDContainsFold(v string) predicate.NotifyFlowTarget
- func ChannelIDEQ(v string) predicate.NotifyFlowTarget
- func ChannelIDEqualFold(v string) predicate.NotifyFlowTarget
- func ChannelIDGT(v string) predicate.NotifyFlowTarget
- func ChannelIDGTE(v string) predicate.NotifyFlowTarget
- func ChannelIDHasPrefix(v string) predicate.NotifyFlowTarget
- func ChannelIDHasSuffix(v string) predicate.NotifyFlowTarget
- func ChannelIDIn(vs ...string) predicate.NotifyFlowTarget
- func ChannelIDLT(v string) predicate.NotifyFlowTarget
- func ChannelIDLTE(v string) predicate.NotifyFlowTarget
- func ChannelIDNEQ(v string) predicate.NotifyFlowTarget
- func ChannelIDNotIn(vs ...string) predicate.NotifyFlowTarget
- func CreatedAt(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtEQ(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtGT(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtGTE(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtIn(vs ...time.Time) predicate.NotifyFlowTarget
- func CreatedAtLT(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtLTE(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtNEQ(v time.Time) predicate.NotifyFlowTarget
- func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlowTarget
- func HasNotifyFlow() predicate.NotifyFlowTarget
- func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.NotifyFlowTarget
- func HasNotifyTarget() predicate.NotifyFlowTarget
- func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.NotifyFlowTarget
- func ID(id int) predicate.NotifyFlowTarget
- func IDEQ(id int) predicate.NotifyFlowTarget
- func IDGT(id int) predicate.NotifyFlowTarget
- func IDGTE(id int) predicate.NotifyFlowTarget
- func IDIn(ids ...int) predicate.NotifyFlowTarget
- func IDLT(id int) predicate.NotifyFlowTarget
- func IDLTE(id int) predicate.NotifyFlowTarget
- func IDNEQ(id int) predicate.NotifyFlowTarget
- func IDNotIn(ids ...int) predicate.NotifyFlowTarget
- func Not(p predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
- func NotifyFlowID(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyFlowIDEQ(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyFlowIDIn(vs ...model.InternalID) predicate.NotifyFlowTarget
- func NotifyFlowIDNEQ(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyFlowIDNotIn(vs ...model.InternalID) predicate.NotifyFlowTarget
- func NotifyTargetID(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyTargetIDEQ(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyTargetIDIn(vs ...model.InternalID) predicate.NotifyFlowTarget
- func NotifyTargetIDNEQ(v model.InternalID) predicate.NotifyFlowTarget
- func NotifyTargetIDNotIn(vs ...model.InternalID) predicate.NotifyFlowTarget
- func Or(predicates ...predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
- func UpdatedAt(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtEQ(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtGT(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtGTE(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlowTarget
- func UpdatedAtLT(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtLTE(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtNEQ(v time.Time) predicate.NotifyFlowTarget
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlowTarget
- func ValidColumn(column string) bool
- type OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyFlowField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByNotifyFlowID(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyTargetField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByNotifyTargetID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the notifyflowtarget type in the database. Label = "notify_flow_target" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNotifyFlowID holds the string denoting the notify_flow_id field in the database. FieldNotifyFlowID = "notify_flow_id" // FieldNotifyTargetID holds the string denoting the notify_target_id field in the database. FieldNotifyTargetID = "notify_target_id" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // 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" // EdgeNotifyFlow holds the string denoting the notify_flow edge name in mutations. EdgeNotifyFlow = "notify_flow" // EdgeNotifyTarget holds the string denoting the notify_target edge name in mutations. EdgeNotifyTarget = "notify_target" // Table holds the table name of the notifyflowtarget in the database. Table = "notify_flow_targets" // NotifyFlowTable is the table that holds the notify_flow relation/edge. NotifyFlowTable = "notify_flow_targets" // NotifyFlowInverseTable is the table name for the NotifyFlow entity. // It exists in this package in order to avoid circular dependency with the "notifyflow" package. NotifyFlowInverseTable = "notify_flows" // NotifyFlowColumn is the table column denoting the notify_flow relation/edge. NotifyFlowColumn = "notify_flow_id" // NotifyTargetTable is the table that holds the notify_target relation/edge. 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" // NotifyTargetColumn is the table column denoting the notify_target relation/edge. NotifyTargetColumn = "notify_target_id" )
Variables ¶
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, FieldNotifyFlowID, FieldNotifyTargetID, FieldChannelID, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for notifyflowtarget fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
And groups predicates with the AND operator between them.
func ChannelID ¶
func ChannelID(v string) predicate.NotifyFlowTarget
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDContains ¶
func ChannelIDContains(v string) predicate.NotifyFlowTarget
ChannelIDContains applies the Contains predicate on the "channel_id" field.
func ChannelIDContainsFold ¶
func ChannelIDContainsFold(v string) predicate.NotifyFlowTarget
ChannelIDContainsFold applies the ContainsFold predicate on the "channel_id" field.
func ChannelIDEQ ¶
func ChannelIDEQ(v string) predicate.NotifyFlowTarget
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDEqualFold ¶
func ChannelIDEqualFold(v string) predicate.NotifyFlowTarget
ChannelIDEqualFold applies the EqualFold predicate on the "channel_id" field.
func ChannelIDGT ¶
func ChannelIDGT(v string) predicate.NotifyFlowTarget
ChannelIDGT applies the GT predicate on the "channel_id" field.
func ChannelIDGTE ¶
func ChannelIDGTE(v string) predicate.NotifyFlowTarget
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
func ChannelIDHasPrefix ¶
func ChannelIDHasPrefix(v string) predicate.NotifyFlowTarget
ChannelIDHasPrefix applies the HasPrefix predicate on the "channel_id" field.
func ChannelIDHasSuffix ¶
func ChannelIDHasSuffix(v string) predicate.NotifyFlowTarget
ChannelIDHasSuffix applies the HasSuffix predicate on the "channel_id" field.
func ChannelIDIn ¶
func ChannelIDIn(vs ...string) predicate.NotifyFlowTarget
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDLT ¶
func ChannelIDLT(v string) predicate.NotifyFlowTarget
ChannelIDLT applies the LT predicate on the "channel_id" field.
func ChannelIDLTE ¶
func ChannelIDLTE(v string) predicate.NotifyFlowTarget
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
func ChannelIDNEQ ¶
func ChannelIDNEQ(v string) predicate.NotifyFlowTarget
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
func ChannelIDNotIn(vs ...string) predicate.NotifyFlowTarget
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.NotifyFlowTarget
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.NotifyFlowTarget
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.NotifyFlowTarget
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.NotifyFlowTarget
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.NotifyFlowTarget
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.NotifyFlowTarget
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.NotifyFlowTarget
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.NotifyFlowTarget
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlowTarget
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasNotifyFlow ¶
func HasNotifyFlow() predicate.NotifyFlowTarget
HasNotifyFlow applies the HasEdge predicate on the "notify_flow" edge.
func HasNotifyFlowWith ¶
func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.NotifyFlowTarget
HasNotifyFlowWith applies the HasEdge predicate on the "notify_flow" edge with a given conditions (other predicates).
func HasNotifyTarget ¶
func HasNotifyTarget() predicate.NotifyFlowTarget
HasNotifyTarget applies the HasEdge predicate on the "notify_target" edge.
func HasNotifyTargetWith ¶
func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.NotifyFlowTarget
HasNotifyTargetWith applies the HasEdge predicate on the "notify_target" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NotifyFlowTarget
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NotifyFlowTarget
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NotifyFlowTarget
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NotifyFlowTarget
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NotifyFlowTarget
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NotifyFlowTarget
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NotifyFlowTarget
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NotifyFlowTarget
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
Not applies the not operator on the given predicate.
func NotifyFlowID ¶
func NotifyFlowID(v model.InternalID) predicate.NotifyFlowTarget
NotifyFlowID applies equality check predicate on the "notify_flow_id" field. It's identical to NotifyFlowIDEQ.
func NotifyFlowIDEQ ¶
func NotifyFlowIDEQ(v model.InternalID) predicate.NotifyFlowTarget
NotifyFlowIDEQ applies the EQ predicate on the "notify_flow_id" field.
func NotifyFlowIDIn ¶
func NotifyFlowIDIn(vs ...model.InternalID) predicate.NotifyFlowTarget
NotifyFlowIDIn applies the In predicate on the "notify_flow_id" field.
func NotifyFlowIDNEQ ¶
func NotifyFlowIDNEQ(v model.InternalID) predicate.NotifyFlowTarget
NotifyFlowIDNEQ applies the NEQ predicate on the "notify_flow_id" field.
func NotifyFlowIDNotIn ¶
func NotifyFlowIDNotIn(vs ...model.InternalID) predicate.NotifyFlowTarget
NotifyFlowIDNotIn applies the NotIn predicate on the "notify_flow_id" field.
func NotifyTargetID ¶
func NotifyTargetID(v model.InternalID) predicate.NotifyFlowTarget
NotifyTargetID applies equality check predicate on the "notify_target_id" field. It's identical to NotifyTargetIDEQ.
func NotifyTargetIDEQ ¶
func NotifyTargetIDEQ(v model.InternalID) predicate.NotifyFlowTarget
NotifyTargetIDEQ applies the EQ predicate on the "notify_target_id" field.
func NotifyTargetIDIn ¶
func NotifyTargetIDIn(vs ...model.InternalID) predicate.NotifyFlowTarget
NotifyTargetIDIn applies the In predicate on the "notify_target_id" field.
func NotifyTargetIDNEQ ¶
func NotifyTargetIDNEQ(v model.InternalID) predicate.NotifyFlowTarget
NotifyTargetIDNEQ applies the NEQ predicate on the "notify_target_id" field.
func NotifyTargetIDNotIn ¶
func NotifyTargetIDNotIn(vs ...model.InternalID) predicate.NotifyFlowTarget
NotifyTargetIDNotIn applies the NotIn predicate on the "notify_target_id" field.
func Or ¶
func Or(predicates ...predicate.NotifyFlowTarget) predicate.NotifyFlowTarget
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.NotifyFlowTarget
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.NotifyFlowTarget
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.NotifyFlowTarget
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.NotifyFlowTarget
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlowTarget
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.NotifyFlowTarget
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.NotifyFlowTarget
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.NotifyFlowTarget
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlowTarget
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 ¶
type OrderOption ¶ added in v0.1.4
OrderOption defines the ordering options for the NotifyFlowTarget queries.
func ByChannelID ¶ added in v0.1.4
func ByChannelID(opts ...sql.OrderTermOption) OrderOption
ByChannelID orders the results by the channel_id field.
func ByCreatedAt ¶ added in v0.1.4
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶ added in v0.1.4
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNotifyFlowField ¶ added in v0.1.4
func ByNotifyFlowField(field string, opts ...sql.OrderTermOption) OrderOption
ByNotifyFlowField orders the results by notify_flow field.
func ByNotifyFlowID ¶ added in v0.1.4
func ByNotifyFlowID(opts ...sql.OrderTermOption) OrderOption
ByNotifyFlowID orders the results by the notify_flow_id field.
func ByNotifyTargetField ¶ added in v0.1.4
func ByNotifyTargetField(field string, opts ...sql.OrderTermOption) OrderOption
ByNotifyTargetField orders the results by notify_target field.
func ByNotifyTargetID ¶ added in v0.1.4
func ByNotifyTargetID(opts ...sql.OrderTermOption) OrderOption
ByNotifyTargetID orders the results by the notify_target_id field.
func ByUpdatedAt ¶ added in v0.1.4
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.