Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotifyFlowSource) predicate.NotifyFlowSource
- func CreatedAt(v time.Time) predicate.NotifyFlowSource
- func CreatedAtEQ(v time.Time) predicate.NotifyFlowSource
- func CreatedAtGT(v time.Time) predicate.NotifyFlowSource
- func CreatedAtGTE(v time.Time) predicate.NotifyFlowSource
- func CreatedAtIn(vs ...time.Time) predicate.NotifyFlowSource
- func CreatedAtLT(v time.Time) predicate.NotifyFlowSource
- func CreatedAtLTE(v time.Time) predicate.NotifyFlowSource
- func CreatedAtNEQ(v time.Time) predicate.NotifyFlowSource
- func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlowSource
- func HasNotifyFlow() predicate.NotifyFlowSource
- func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.NotifyFlowSource
- func HasNotifySource() predicate.NotifyFlowSource
- func HasNotifySourceWith(preds ...predicate.FeedConfig) predicate.NotifyFlowSource
- func ID(id int) predicate.NotifyFlowSource
- func IDEQ(id int) predicate.NotifyFlowSource
- func IDGT(id int) predicate.NotifyFlowSource
- func IDGTE(id int) predicate.NotifyFlowSource
- func IDIn(ids ...int) predicate.NotifyFlowSource
- func IDLT(id int) predicate.NotifyFlowSource
- func IDLTE(id int) predicate.NotifyFlowSource
- func IDNEQ(id int) predicate.NotifyFlowSource
- func IDNotIn(ids ...int) predicate.NotifyFlowSource
- func Not(p predicate.NotifyFlowSource) predicate.NotifyFlowSource
- func NotifyFlowID(v model.InternalID) predicate.NotifyFlowSource
- func NotifyFlowIDEQ(v model.InternalID) predicate.NotifyFlowSource
- func NotifyFlowIDIn(vs ...model.InternalID) predicate.NotifyFlowSource
- func NotifyFlowIDNEQ(v model.InternalID) predicate.NotifyFlowSource
- func NotifyFlowIDNotIn(vs ...model.InternalID) predicate.NotifyFlowSource
- func NotifySourceID(v model.InternalID) predicate.NotifyFlowSource
- func NotifySourceIDEQ(v model.InternalID) predicate.NotifyFlowSource
- func NotifySourceIDIn(vs ...model.InternalID) predicate.NotifyFlowSource
- func NotifySourceIDNEQ(v model.InternalID) predicate.NotifyFlowSource
- func NotifySourceIDNotIn(vs ...model.InternalID) predicate.NotifyFlowSource
- func Or(predicates ...predicate.NotifyFlowSource) predicate.NotifyFlowSource
- func UpdatedAt(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtEQ(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtGT(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtGTE(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlowSource
- func UpdatedAtLT(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtLTE(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtNEQ(v time.Time) predicate.NotifyFlowSource
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlowSource
- func ValidColumn(column string) bool
- type 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 ByNotifySourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByNotifySourceID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the notifyflowsource type in the database. Label = "notify_flow_source" // 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" // FieldNotifySourceID holds the string denoting the notify_source_id field in the database. FieldNotifySourceID = "notify_source_id" // FieldFilterIncludeKeywords holds the string denoting the filter_include_keywords field in the database. FieldFilterIncludeKeywords = "filter_include_keywords" // FieldFilterExcludeKeywords holds the string denoting the filter_exclude_keywords field in the database. FieldFilterExcludeKeywords = "filter_exclude_keywords" // 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" // EdgeNotifySource holds the string denoting the notify_source edge name in mutations. EdgeNotifySource = "notify_source" // Table holds the table name of the notifyflowsource in the database. Table = "notify_flow_sources" // NotifyFlowTable is the table that holds the notify_flow relation/edge. NotifyFlowTable = "notify_flow_sources" // 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" // NotifySourceTable is the table that holds the notify_source relation/edge. NotifySourceTable = "notify_flow_sources" // NotifySourceInverseTable is the table name for the FeedConfig entity. // It exists in this package in order to avoid circular dependency with the "feedconfig" package. NotifySourceInverseTable = "feed_configs" // NotifySourceColumn is the table column denoting the notify_source relation/edge. NotifySourceColumn = "notify_source_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, FieldNotifySourceID, FieldFilterIncludeKeywords, FieldFilterExcludeKeywords, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for notifyflowsource fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NotifyFlowSource) predicate.NotifyFlowSource
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.NotifyFlowSource
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.NotifyFlowSource
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.NotifyFlowSource
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.NotifyFlowSource
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.NotifyFlowSource
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.NotifyFlowSource
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.NotifyFlowSource
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.NotifyFlowSource
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.NotifyFlowSource
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasNotifyFlow ¶
func HasNotifyFlow() predicate.NotifyFlowSource
HasNotifyFlow applies the HasEdge predicate on the "notify_flow" edge.
func HasNotifyFlowWith ¶
func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.NotifyFlowSource
HasNotifyFlowWith applies the HasEdge predicate on the "notify_flow" edge with a given conditions (other predicates).
func HasNotifySource ¶
func HasNotifySource() predicate.NotifyFlowSource
HasNotifySource applies the HasEdge predicate on the "notify_source" edge.
func HasNotifySourceWith ¶
func HasNotifySourceWith(preds ...predicate.FeedConfig) predicate.NotifyFlowSource
HasNotifySourceWith applies the HasEdge predicate on the "notify_source" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NotifyFlowSource
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NotifyFlowSource
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NotifyFlowSource
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NotifyFlowSource
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NotifyFlowSource
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NotifyFlowSource
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NotifyFlowSource
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NotifyFlowSource
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NotifyFlowSource) predicate.NotifyFlowSource
Not applies the not operator on the given predicate.
func NotifyFlowID ¶
func NotifyFlowID(v model.InternalID) predicate.NotifyFlowSource
NotifyFlowID applies equality check predicate on the "notify_flow_id" field. It's identical to NotifyFlowIDEQ.
func NotifyFlowIDEQ ¶
func NotifyFlowIDEQ(v model.InternalID) predicate.NotifyFlowSource
NotifyFlowIDEQ applies the EQ predicate on the "notify_flow_id" field.
func NotifyFlowIDIn ¶
func NotifyFlowIDIn(vs ...model.InternalID) predicate.NotifyFlowSource
NotifyFlowIDIn applies the In predicate on the "notify_flow_id" field.
func NotifyFlowIDNEQ ¶
func NotifyFlowIDNEQ(v model.InternalID) predicate.NotifyFlowSource
NotifyFlowIDNEQ applies the NEQ predicate on the "notify_flow_id" field.
func NotifyFlowIDNotIn ¶
func NotifyFlowIDNotIn(vs ...model.InternalID) predicate.NotifyFlowSource
NotifyFlowIDNotIn applies the NotIn predicate on the "notify_flow_id" field.
func NotifySourceID ¶
func NotifySourceID(v model.InternalID) predicate.NotifyFlowSource
NotifySourceID applies equality check predicate on the "notify_source_id" field. It's identical to NotifySourceIDEQ.
func NotifySourceIDEQ ¶
func NotifySourceIDEQ(v model.InternalID) predicate.NotifyFlowSource
NotifySourceIDEQ applies the EQ predicate on the "notify_source_id" field.
func NotifySourceIDIn ¶
func NotifySourceIDIn(vs ...model.InternalID) predicate.NotifyFlowSource
NotifySourceIDIn applies the In predicate on the "notify_source_id" field.
func NotifySourceIDNEQ ¶
func NotifySourceIDNEQ(v model.InternalID) predicate.NotifyFlowSource
NotifySourceIDNEQ applies the NEQ predicate on the "notify_source_id" field.
func NotifySourceIDNotIn ¶
func NotifySourceIDNotIn(vs ...model.InternalID) predicate.NotifyFlowSource
NotifySourceIDNotIn applies the NotIn predicate on the "notify_source_id" field.
func Or ¶
func Or(predicates ...predicate.NotifyFlowSource) predicate.NotifyFlowSource
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.NotifyFlowSource
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.NotifyFlowSource
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.NotifyFlowSource
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.NotifyFlowSource
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.NotifyFlowSource
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.NotifyFlowSource
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.NotifyFlowSource
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.NotifyFlowSource
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyFlowSource
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 ¶
OrderOption defines the ordering options for the NotifyFlowSource queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNotifyFlowField ¶
func ByNotifyFlowField(field string, opts ...sql.OrderTermOption) OrderOption
ByNotifyFlowField orders the results by notify_flow field.
func ByNotifyFlowID ¶
func ByNotifyFlowID(opts ...sql.OrderTermOption) OrderOption
ByNotifyFlowID orders the results by the notify_flow_id field.
func ByNotifySourceField ¶
func ByNotifySourceField(field string, opts ...sql.OrderTermOption) OrderOption
ByNotifySourceField orders the results by notify_source field.
func ByNotifySourceID ¶
func ByNotifySourceID(opts ...sql.OrderTermOption) OrderOption
ByNotifySourceID orders the results by the notify_source_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.