Documentation ¶
Index ¶
- Constants
- Variables
- func AddedAt(v time.Time) predicate.TweetTag
- func AddedAtEQ(v time.Time) predicate.TweetTag
- func AddedAtGT(v time.Time) predicate.TweetTag
- func AddedAtGTE(v time.Time) predicate.TweetTag
- func AddedAtIn(vs ...time.Time) predicate.TweetTag
- func AddedAtLT(v time.Time) predicate.TweetTag
- func AddedAtLTE(v time.Time) predicate.TweetTag
- func AddedAtNEQ(v time.Time) predicate.TweetTag
- func AddedAtNotIn(vs ...time.Time) predicate.TweetTag
- func And(predicates ...predicate.TweetTag) predicate.TweetTag
- func HasTag() predicate.TweetTag
- func HasTagWith(preds ...predicate.Tag) predicate.TweetTag
- func HasTweet() predicate.TweetTag
- func HasTweetWith(preds ...predicate.Tweet) predicate.TweetTag
- func ID(id uuid.UUID) predicate.TweetTag
- func IDEQ(id uuid.UUID) predicate.TweetTag
- func IDGT(id uuid.UUID) predicate.TweetTag
- func IDGTE(id uuid.UUID) predicate.TweetTag
- func IDIn(ids ...uuid.UUID) predicate.TweetTag
- func IDLT(id uuid.UUID) predicate.TweetTag
- func IDLTE(id uuid.UUID) predicate.TweetTag
- func IDNEQ(id uuid.UUID) predicate.TweetTag
- func IDNotIn(ids ...uuid.UUID) predicate.TweetTag
- func Not(p predicate.TweetTag) predicate.TweetTag
- func Or(predicates ...predicate.TweetTag) predicate.TweetTag
- func TagID(v int) predicate.TweetTag
- func TagIDEQ(v int) predicate.TweetTag
- func TagIDIn(vs ...int) predicate.TweetTag
- func TagIDNEQ(v int) predicate.TweetTag
- func TagIDNotIn(vs ...int) predicate.TweetTag
- func TweetID(v int) predicate.TweetTag
- func TweetIDEQ(v int) predicate.TweetTag
- func TweetIDIn(vs ...int) predicate.TweetTag
- func TweetIDNEQ(v int) predicate.TweetTag
- func TweetIDNotIn(vs ...int) predicate.TweetTag
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tweettag type in the database. Label = "tweet_tag" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAddedAt holds the string denoting the added_at field in the database. FieldAddedAt = "added_at" // FieldTagID holds the string denoting the tag_id field in the database. FieldTagID = "tag_id" // FieldTweetID holds the string denoting the tweet_id field in the database. FieldTweetID = "tweet_id" // EdgeTag holds the string denoting the tag edge name in mutations. EdgeTag = "tag" // EdgeTweet holds the string denoting the tweet edge name in mutations. EdgeTweet = "tweet" // Table holds the table name of the tweettag in the database. Table = "tweet_tags" // TagTable is the table that holds the tag relation/edge. TagTable = "tweet_tags" // TagInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagInverseTable = "tags" // TagColumn is the table column denoting the tag relation/edge. TagColumn = "tag_id" // TweetTable is the table that holds the tweet relation/edge. TweetTable = "tweet_tags" // TweetInverseTable is the table name for the Tweet entity. // It exists in this package in order to avoid circular dependency with the "tweet" package. TweetInverseTable = "tweets" // TweetColumn is the table column denoting the tweet relation/edge. TweetColumn = "tweet_id" )
Variables ¶
var ( // DefaultAddedAt holds the default value on creation for the "added_at" field. DefaultAddedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAddedAt, FieldTagID, FieldTweetID, }
Columns holds all SQL columns for tweettag fields.
Functions ¶
func AddedAt ¶
AddedAt applies equality check predicate on the "added_at" field. It's identical to AddedAtEQ.
func AddedAtGTE ¶
AddedAtGTE applies the GTE predicate on the "added_at" field.
func AddedAtLTE ¶
AddedAtLTE applies the LTE predicate on the "added_at" field.
func AddedAtNEQ ¶
AddedAtNEQ applies the NEQ predicate on the "added_at" field.
func AddedAtNotIn ¶
AddedAtNotIn applies the NotIn predicate on the "added_at" field.
func HasTagWith ¶
HasTagWith applies the HasEdge predicate on the "tag" edge with a given conditions (other predicates).
func HasTweetWith ¶
HasTweetWith applies the HasEdge predicate on the "tweet" edge with a given conditions (other predicates).
func TagID ¶
TagID applies equality check predicate on the "tag_id" field. It's identical to TagIDEQ.
func TagIDNotIn ¶
TagIDNotIn applies the NotIn predicate on the "tag_id" field.
func TweetID ¶
TweetID applies equality check predicate on the "tweet_id" field. It's identical to TweetIDEQ.
func TweetIDNEQ ¶
TweetIDNEQ applies the NEQ predicate on the "tweet_id" field.
func TweetIDNotIn ¶
TweetIDNotIn applies the NotIn predicate on the "tweet_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.