notifyflowtarget

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for notifyflowtarget fields.

Functions

func And

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

Not applies the not operator on the given predicate.

func NotifyFlowID

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption added in v0.1.4

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL