Documentation
¶
Index ¶
- Constants
- Variables
- func ActorID(v int) predicate.SubscriptionNotification
- func ActorIDEQ(v int) predicate.SubscriptionNotification
- func ActorIDIn(vs ...int) predicate.SubscriptionNotification
- func ActorIDIsNil() predicate.SubscriptionNotification
- func ActorIDNEQ(v int) predicate.SubscriptionNotification
- func ActorIDNotIn(vs ...int) predicate.SubscriptionNotification
- func ActorIDNotNil() predicate.SubscriptionNotification
- func And(predicates ...predicate.SubscriptionNotification) predicate.SubscriptionNotification
- func CommentID(v int) predicate.SubscriptionNotification
- func CommentIDEQ(v int) predicate.SubscriptionNotification
- func CommentIDIn(vs ...int) predicate.SubscriptionNotification
- func CommentIDIsNil() predicate.SubscriptionNotification
- func CommentIDNEQ(v int) predicate.SubscriptionNotification
- func CommentIDNotIn(vs ...int) predicate.SubscriptionNotification
- func CommentIDNotNil() predicate.SubscriptionNotification
- func CreatedAt(v time.Time) predicate.SubscriptionNotification
- func CreatedAtEQ(v time.Time) predicate.SubscriptionNotification
- func CreatedAtGT(v time.Time) predicate.SubscriptionNotification
- func CreatedAtGTE(v time.Time) predicate.SubscriptionNotification
- func CreatedAtIn(vs ...time.Time) predicate.SubscriptionNotification
- func CreatedAtLT(v time.Time) predicate.SubscriptionNotification
- func CreatedAtLTE(v time.Time) predicate.SubscriptionNotification
- func CreatedAtNEQ(v time.Time) predicate.SubscriptionNotification
- func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionNotification
- func HasActor() predicate.SubscriptionNotification
- func HasActorWith(preds ...predicate.User) predicate.SubscriptionNotification
- func HasComment() predicate.SubscriptionNotification
- func HasCommentWith(preds ...predicate.Comment) predicate.SubscriptionNotification
- func HasNode() predicate.SubscriptionNotification
- func HasNodeWith(preds ...predicate.Node) predicate.SubscriptionNotification
- func HasTerm() predicate.SubscriptionNotification
- func HasTermWith(preds ...predicate.Term) predicate.SubscriptionNotification
- func HasUser() predicate.SubscriptionNotification
- func HasUserWith(preds ...predicate.User) predicate.SubscriptionNotification
- func ID(id int) predicate.SubscriptionNotification
- func IDEQ(id int) predicate.SubscriptionNotification
- func IDGT(id int) predicate.SubscriptionNotification
- func IDGTE(id int) predicate.SubscriptionNotification
- func IDIn(ids ...int) predicate.SubscriptionNotification
- func IDLT(id int) predicate.SubscriptionNotification
- func IDLTE(id int) predicate.SubscriptionNotification
- func IDNEQ(id int) predicate.SubscriptionNotification
- func IDNotIn(ids ...int) predicate.SubscriptionNotification
- func Kind(v string) predicate.SubscriptionNotification
- func KindContains(v string) predicate.SubscriptionNotification
- func KindContainsFold(v string) predicate.SubscriptionNotification
- func KindEQ(v string) predicate.SubscriptionNotification
- func KindEqualFold(v string) predicate.SubscriptionNotification
- func KindGT(v string) predicate.SubscriptionNotification
- func KindGTE(v string) predicate.SubscriptionNotification
- func KindHasPrefix(v string) predicate.SubscriptionNotification
- func KindHasSuffix(v string) predicate.SubscriptionNotification
- func KindIn(vs ...string) predicate.SubscriptionNotification
- func KindLT(v string) predicate.SubscriptionNotification
- func KindLTE(v string) predicate.SubscriptionNotification
- func KindNEQ(v string) predicate.SubscriptionNotification
- func KindNotIn(vs ...string) predicate.SubscriptionNotification
- func MailState(v int8) predicate.SubscriptionNotification
- func MailStateEQ(v int8) predicate.SubscriptionNotification
- func MailStateGT(v int8) predicate.SubscriptionNotification
- func MailStateGTE(v int8) predicate.SubscriptionNotification
- func MailStateIn(vs ...int8) predicate.SubscriptionNotification
- func MailStateLT(v int8) predicate.SubscriptionNotification
- func MailStateLTE(v int8) predicate.SubscriptionNotification
- func MailStateNEQ(v int8) predicate.SubscriptionNotification
- func MailStateNotIn(vs ...int8) predicate.SubscriptionNotification
- func NodeID(v int) predicate.SubscriptionNotification
- func NodeIDEQ(v int) predicate.SubscriptionNotification
- func NodeIDIn(vs ...int) predicate.SubscriptionNotification
- func NodeIDNEQ(v int) predicate.SubscriptionNotification
- func NodeIDNotIn(vs ...int) predicate.SubscriptionNotification
- func Not(p predicate.SubscriptionNotification) predicate.SubscriptionNotification
- func Or(predicates ...predicate.SubscriptionNotification) predicate.SubscriptionNotification
- func ReadAt(v time.Time) predicate.SubscriptionNotification
- func ReadAtEQ(v time.Time) predicate.SubscriptionNotification
- func ReadAtGT(v time.Time) predicate.SubscriptionNotification
- func ReadAtGTE(v time.Time) predicate.SubscriptionNotification
- func ReadAtIn(vs ...time.Time) predicate.SubscriptionNotification
- func ReadAtIsNil() predicate.SubscriptionNotification
- func ReadAtLT(v time.Time) predicate.SubscriptionNotification
- func ReadAtLTE(v time.Time) predicate.SubscriptionNotification
- func ReadAtNEQ(v time.Time) predicate.SubscriptionNotification
- func ReadAtNotIn(vs ...time.Time) predicate.SubscriptionNotification
- func ReadAtNotNil() predicate.SubscriptionNotification
- func TermID(v int) predicate.SubscriptionNotification
- func TermIDEQ(v int) predicate.SubscriptionNotification
- func TermIDIn(vs ...int) predicate.SubscriptionNotification
- func TermIDIsNil() predicate.SubscriptionNotification
- func TermIDNEQ(v int) predicate.SubscriptionNotification
- func TermIDNotIn(vs ...int) predicate.SubscriptionNotification
- func TermIDNotNil() predicate.SubscriptionNotification
- func UserID(v int) predicate.SubscriptionNotification
- func UserIDEQ(v int) predicate.SubscriptionNotification
- func UserIDIn(vs ...int) predicate.SubscriptionNotification
- func UserIDNEQ(v int) predicate.SubscriptionNotification
- func UserIDNotIn(vs ...int) predicate.SubscriptionNotification
- func ValidColumn(column string) bool
- type OrderOption
- func ByActorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByActorID(opts ...sql.OrderTermOption) OrderOption
- func ByCommentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCommentID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByMailState(opts ...sql.OrderTermOption) OrderOption
- func ByNodeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByNodeID(opts ...sql.OrderTermOption) OrderOption
- func ByReadAt(opts ...sql.OrderTermOption) OrderOption
- func ByTermField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTermID(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the subscriptionnotification type in the database. Label = "subscription_notification" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldNodeID holds the string denoting the node_id field in the database. FieldNodeID = "node_id" // FieldCommentID holds the string denoting the comment_id field in the database. FieldCommentID = "comment_id" // FieldActorID holds the string denoting the actor_id field in the database. FieldActorID = "actor_id" // FieldTermID holds the string denoting the term_id field in the database. FieldTermID = "term_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldReadAt holds the string denoting the read_at field in the database. FieldReadAt = "read_at" // FieldMailState holds the string denoting the mail_state field in the database. FieldMailState = "mail_state" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeNode holds the string denoting the node edge name in mutations. EdgeNode = "node" // EdgeComment holds the string denoting the comment edge name in mutations. EdgeComment = "comment" // EdgeActor holds the string denoting the actor edge name in mutations. EdgeActor = "actor" // EdgeTerm holds the string denoting the term edge name in mutations. EdgeTerm = "term" // Table holds the table name of the subscriptionnotification in the database. Table = "subscription_notifications" // UserTable is the table that holds the user relation/edge. UserTable = "subscription_notifications" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // NodeTable is the table that holds the node relation/edge. NodeTable = "subscription_notifications" // NodeInverseTable is the table name for the Node entity. // It exists in this package in order to avoid circular dependency with the "node" package. NodeInverseTable = "nodes" // NodeColumn is the table column denoting the node relation/edge. NodeColumn = "node_id" // CommentTable is the table that holds the comment relation/edge. CommentTable = "subscription_notifications" // CommentInverseTable is the table name for the Comment entity. // It exists in this package in order to avoid circular dependency with the "comment" package. CommentInverseTable = "comments" // CommentColumn is the table column denoting the comment relation/edge. CommentColumn = "comment_id" // ActorTable is the table that holds the actor relation/edge. ActorTable = "subscription_notifications" // ActorInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ActorInverseTable = "users" // ActorColumn is the table column denoting the actor relation/edge. ActorColumn = "actor_id" // TermTable is the table that holds the term relation/edge. TermTable = "subscription_notifications" // TermInverseTable is the table name for the Term entity. // It exists in this package in order to avoid circular dependency with the "term" package. TermInverseTable = "taxonomy_term_data" // TermColumn is the table column denoting the term relation/edge. TermColumn = "term_id" )
Variables ¶
var ( // KindValidator is a validator for the "kind" field. It is called by the builders before save. KindValidator func(string) error // DefaultMailState holds the default value on creation for the "mail_state" field. DefaultMailState int8 )
var Columns = []string{ FieldID, FieldUserID, FieldKind, FieldNodeID, FieldCommentID, FieldActorID, FieldTermID, FieldCreatedAt, FieldReadAt, FieldMailState, }
Columns holds all SQL columns for subscriptionnotification fields.
Functions ¶
func ActorID ¶
func ActorID(v int) predicate.SubscriptionNotification
ActorID applies equality check predicate on the "actor_id" field. It's identical to ActorIDEQ.
func ActorIDEQ ¶
func ActorIDEQ(v int) predicate.SubscriptionNotification
ActorIDEQ applies the EQ predicate on the "actor_id" field.
func ActorIDIn ¶
func ActorIDIn(vs ...int) predicate.SubscriptionNotification
ActorIDIn applies the In predicate on the "actor_id" field.
func ActorIDIsNil ¶
func ActorIDIsNil() predicate.SubscriptionNotification
ActorIDIsNil applies the IsNil predicate on the "actor_id" field.
func ActorIDNEQ ¶
func ActorIDNEQ(v int) predicate.SubscriptionNotification
ActorIDNEQ applies the NEQ predicate on the "actor_id" field.
func ActorIDNotIn ¶
func ActorIDNotIn(vs ...int) predicate.SubscriptionNotification
ActorIDNotIn applies the NotIn predicate on the "actor_id" field.
func ActorIDNotNil ¶
func ActorIDNotNil() predicate.SubscriptionNotification
ActorIDNotNil applies the NotNil predicate on the "actor_id" field.
func And ¶
func And(predicates ...predicate.SubscriptionNotification) predicate.SubscriptionNotification
And groups predicates with the AND operator between them.
func CommentID ¶
func CommentID(v int) predicate.SubscriptionNotification
CommentID applies equality check predicate on the "comment_id" field. It's identical to CommentIDEQ.
func CommentIDEQ ¶
func CommentIDEQ(v int) predicate.SubscriptionNotification
CommentIDEQ applies the EQ predicate on the "comment_id" field.
func CommentIDIn ¶
func CommentIDIn(vs ...int) predicate.SubscriptionNotification
CommentIDIn applies the In predicate on the "comment_id" field.
func CommentIDIsNil ¶
func CommentIDIsNil() predicate.SubscriptionNotification
CommentIDIsNil applies the IsNil predicate on the "comment_id" field.
func CommentIDNEQ ¶
func CommentIDNEQ(v int) predicate.SubscriptionNotification
CommentIDNEQ applies the NEQ predicate on the "comment_id" field.
func CommentIDNotIn ¶
func CommentIDNotIn(vs ...int) predicate.SubscriptionNotification
CommentIDNotIn applies the NotIn predicate on the "comment_id" field.
func CommentIDNotNil ¶
func CommentIDNotNil() predicate.SubscriptionNotification
CommentIDNotNil applies the NotNil predicate on the "comment_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SubscriptionNotification
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SubscriptionNotification
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SubscriptionNotification
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SubscriptionNotification
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SubscriptionNotification
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SubscriptionNotification
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SubscriptionNotification
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SubscriptionNotification
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionNotification
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasActor ¶
func HasActor() predicate.SubscriptionNotification
HasActor applies the HasEdge predicate on the "actor" edge.
func HasActorWith ¶
func HasActorWith(preds ...predicate.User) predicate.SubscriptionNotification
HasActorWith applies the HasEdge predicate on the "actor" edge with a given conditions (other predicates).
func HasComment ¶
func HasComment() predicate.SubscriptionNotification
HasComment applies the HasEdge predicate on the "comment" edge.
func HasCommentWith ¶
func HasCommentWith(preds ...predicate.Comment) predicate.SubscriptionNotification
HasCommentWith applies the HasEdge predicate on the "comment" edge with a given conditions (other predicates).
func HasNode ¶
func HasNode() predicate.SubscriptionNotification
HasNode applies the HasEdge predicate on the "node" edge.
func HasNodeWith ¶
func HasNodeWith(preds ...predicate.Node) predicate.SubscriptionNotification
HasNodeWith applies the HasEdge predicate on the "node" edge with a given conditions (other predicates).
func HasTerm ¶
func HasTerm() predicate.SubscriptionNotification
HasTerm applies the HasEdge predicate on the "term" edge.
func HasTermWith ¶
func HasTermWith(preds ...predicate.Term) predicate.SubscriptionNotification
HasTermWith applies the HasEdge predicate on the "term" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.SubscriptionNotification
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.SubscriptionNotification
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.SubscriptionNotification
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.SubscriptionNotification
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.SubscriptionNotification
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.SubscriptionNotification
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.SubscriptionNotification
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.SubscriptionNotification
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SubscriptionNotification
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SubscriptionNotification
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.SubscriptionNotification
IDNotIn applies the NotIn predicate on the ID field.
func Kind ¶
func Kind(v string) predicate.SubscriptionNotification
Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.
func KindContains ¶
func KindContains(v string) predicate.SubscriptionNotification
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
func KindContainsFold(v string) predicate.SubscriptionNotification
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEQ ¶
func KindEQ(v string) predicate.SubscriptionNotification
KindEQ applies the EQ predicate on the "kind" field.
func KindEqualFold ¶
func KindEqualFold(v string) predicate.SubscriptionNotification
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindGT ¶
func KindGT(v string) predicate.SubscriptionNotification
KindGT applies the GT predicate on the "kind" field.
func KindGTE ¶
func KindGTE(v string) predicate.SubscriptionNotification
KindGTE applies the GTE predicate on the "kind" field.
func KindHasPrefix ¶
func KindHasPrefix(v string) predicate.SubscriptionNotification
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
func KindHasSuffix(v string) predicate.SubscriptionNotification
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...string) predicate.SubscriptionNotification
KindIn applies the In predicate on the "kind" field.
func KindLT ¶
func KindLT(v string) predicate.SubscriptionNotification
KindLT applies the LT predicate on the "kind" field.
func KindLTE ¶
func KindLTE(v string) predicate.SubscriptionNotification
KindLTE applies the LTE predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v string) predicate.SubscriptionNotification
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...string) predicate.SubscriptionNotification
KindNotIn applies the NotIn predicate on the "kind" field.
func MailState ¶
func MailState(v int8) predicate.SubscriptionNotification
MailState applies equality check predicate on the "mail_state" field. It's identical to MailStateEQ.
func MailStateEQ ¶
func MailStateEQ(v int8) predicate.SubscriptionNotification
MailStateEQ applies the EQ predicate on the "mail_state" field.
func MailStateGT ¶
func MailStateGT(v int8) predicate.SubscriptionNotification
MailStateGT applies the GT predicate on the "mail_state" field.
func MailStateGTE ¶
func MailStateGTE(v int8) predicate.SubscriptionNotification
MailStateGTE applies the GTE predicate on the "mail_state" field.
func MailStateIn ¶
func MailStateIn(vs ...int8) predicate.SubscriptionNotification
MailStateIn applies the In predicate on the "mail_state" field.
func MailStateLT ¶
func MailStateLT(v int8) predicate.SubscriptionNotification
MailStateLT applies the LT predicate on the "mail_state" field.
func MailStateLTE ¶
func MailStateLTE(v int8) predicate.SubscriptionNotification
MailStateLTE applies the LTE predicate on the "mail_state" field.
func MailStateNEQ ¶
func MailStateNEQ(v int8) predicate.SubscriptionNotification
MailStateNEQ applies the NEQ predicate on the "mail_state" field.
func MailStateNotIn ¶
func MailStateNotIn(vs ...int8) predicate.SubscriptionNotification
MailStateNotIn applies the NotIn predicate on the "mail_state" field.
func NodeID ¶
func NodeID(v int) predicate.SubscriptionNotification
NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.
func NodeIDEQ ¶
func NodeIDEQ(v int) predicate.SubscriptionNotification
NodeIDEQ applies the EQ predicate on the "node_id" field.
func NodeIDIn ¶
func NodeIDIn(vs ...int) predicate.SubscriptionNotification
NodeIDIn applies the In predicate on the "node_id" field.
func NodeIDNEQ ¶
func NodeIDNEQ(v int) predicate.SubscriptionNotification
NodeIDNEQ applies the NEQ predicate on the "node_id" field.
func NodeIDNotIn ¶
func NodeIDNotIn(vs ...int) predicate.SubscriptionNotification
NodeIDNotIn applies the NotIn predicate on the "node_id" field.
func Or ¶
func Or(predicates ...predicate.SubscriptionNotification) predicate.SubscriptionNotification
Or groups predicates with the OR operator between them.
func ReadAt ¶
func ReadAt(v time.Time) predicate.SubscriptionNotification
ReadAt applies equality check predicate on the "read_at" field. It's identical to ReadAtEQ.
func ReadAtEQ ¶
func ReadAtEQ(v time.Time) predicate.SubscriptionNotification
ReadAtEQ applies the EQ predicate on the "read_at" field.
func ReadAtGT ¶
func ReadAtGT(v time.Time) predicate.SubscriptionNotification
ReadAtGT applies the GT predicate on the "read_at" field.
func ReadAtGTE ¶
func ReadAtGTE(v time.Time) predicate.SubscriptionNotification
ReadAtGTE applies the GTE predicate on the "read_at" field.
func ReadAtIn ¶
func ReadAtIn(vs ...time.Time) predicate.SubscriptionNotification
ReadAtIn applies the In predicate on the "read_at" field.
func ReadAtIsNil ¶
func ReadAtIsNil() predicate.SubscriptionNotification
ReadAtIsNil applies the IsNil predicate on the "read_at" field.
func ReadAtLT ¶
func ReadAtLT(v time.Time) predicate.SubscriptionNotification
ReadAtLT applies the LT predicate on the "read_at" field.
func ReadAtLTE ¶
func ReadAtLTE(v time.Time) predicate.SubscriptionNotification
ReadAtLTE applies the LTE predicate on the "read_at" field.
func ReadAtNEQ ¶
func ReadAtNEQ(v time.Time) predicate.SubscriptionNotification
ReadAtNEQ applies the NEQ predicate on the "read_at" field.
func ReadAtNotIn ¶
func ReadAtNotIn(vs ...time.Time) predicate.SubscriptionNotification
ReadAtNotIn applies the NotIn predicate on the "read_at" field.
func ReadAtNotNil ¶
func ReadAtNotNil() predicate.SubscriptionNotification
ReadAtNotNil applies the NotNil predicate on the "read_at" field.
func TermID ¶
func TermID(v int) predicate.SubscriptionNotification
TermID applies equality check predicate on the "term_id" field. It's identical to TermIDEQ.
func TermIDEQ ¶
func TermIDEQ(v int) predicate.SubscriptionNotification
TermIDEQ applies the EQ predicate on the "term_id" field.
func TermIDIn ¶
func TermIDIn(vs ...int) predicate.SubscriptionNotification
TermIDIn applies the In predicate on the "term_id" field.
func TermIDIsNil ¶
func TermIDIsNil() predicate.SubscriptionNotification
TermIDIsNil applies the IsNil predicate on the "term_id" field.
func TermIDNEQ ¶
func TermIDNEQ(v int) predicate.SubscriptionNotification
TermIDNEQ applies the NEQ predicate on the "term_id" field.
func TermIDNotIn ¶
func TermIDNotIn(vs ...int) predicate.SubscriptionNotification
TermIDNotIn applies the NotIn predicate on the "term_id" field.
func TermIDNotNil ¶
func TermIDNotNil() predicate.SubscriptionNotification
TermIDNotNil applies the NotNil predicate on the "term_id" field.
func UserID ¶
func UserID(v int) predicate.SubscriptionNotification
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.SubscriptionNotification
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.SubscriptionNotification
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.SubscriptionNotification
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.SubscriptionNotification
UserIDNotIn applies the NotIn predicate on the "user_id" 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 SubscriptionNotification queries.
func ByActorField ¶
func ByActorField(field string, opts ...sql.OrderTermOption) OrderOption
ByActorField orders the results by actor field.
func ByActorID ¶
func ByActorID(opts ...sql.OrderTermOption) OrderOption
ByActorID orders the results by the actor_id field.
func ByCommentField ¶
func ByCommentField(field string, opts ...sql.OrderTermOption) OrderOption
ByCommentField orders the results by comment field.
func ByCommentID ¶
func ByCommentID(opts ...sql.OrderTermOption) OrderOption
ByCommentID orders the results by the comment_id field.
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 ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByMailState ¶
func ByMailState(opts ...sql.OrderTermOption) OrderOption
ByMailState orders the results by the mail_state field.
func ByNodeField ¶
func ByNodeField(field string, opts ...sql.OrderTermOption) OrderOption
ByNodeField orders the results by node field.
func ByNodeID ¶
func ByNodeID(opts ...sql.OrderTermOption) OrderOption
ByNodeID orders the results by the node_id field.
func ByReadAt ¶
func ByReadAt(opts ...sql.OrderTermOption) OrderOption
ByReadAt orders the results by the read_at field.
func ByTermField ¶
func ByTermField(field string, opts ...sql.OrderTermOption) OrderOption
ByTermField orders the results by term field.
func ByTermID ¶
func ByTermID(opts ...sql.OrderTermOption) OrderOption
ByTermID orders the results by the term_id field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.