Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MessageRemind) predicate.MessageRemind
- func AuthorID(v snowflake.ID) predicate.MessageRemind
- func AuthorIDEQ(v snowflake.ID) predicate.MessageRemind
- func AuthorIDGT(v snowflake.ID) predicate.MessageRemind
- func AuthorIDGTE(v snowflake.ID) predicate.MessageRemind
- func AuthorIDIn(vs ...snowflake.ID) predicate.MessageRemind
- func AuthorIDLT(v snowflake.ID) predicate.MessageRemind
- func AuthorIDLTE(v snowflake.ID) predicate.MessageRemind
- func AuthorIDNEQ(v snowflake.ID) predicate.MessageRemind
- func AuthorIDNotIn(vs ...snowflake.ID) predicate.MessageRemind
- func ChannelID(v snowflake.ID) predicate.MessageRemind
- func ChannelIDEQ(v snowflake.ID) predicate.MessageRemind
- func ChannelIDGT(v snowflake.ID) predicate.MessageRemind
- func ChannelIDGTE(v snowflake.ID) predicate.MessageRemind
- func ChannelIDIn(vs ...snowflake.ID) predicate.MessageRemind
- func ChannelIDLT(v snowflake.ID) predicate.MessageRemind
- func ChannelIDLTE(v snowflake.ID) predicate.MessageRemind
- func ChannelIDNEQ(v snowflake.ID) predicate.MessageRemind
- func ChannelIDNotIn(vs ...snowflake.ID) predicate.MessageRemind
- func Content(v string) predicate.MessageRemind
- func ContentContains(v string) predicate.MessageRemind
- func ContentContainsFold(v string) predicate.MessageRemind
- func ContentEQ(v string) predicate.MessageRemind
- func ContentEqualFold(v string) predicate.MessageRemind
- func ContentGT(v string) predicate.MessageRemind
- func ContentGTE(v string) predicate.MessageRemind
- func ContentHasPrefix(v string) predicate.MessageRemind
- func ContentHasSuffix(v string) predicate.MessageRemind
- func ContentIn(vs ...string) predicate.MessageRemind
- func ContentLT(v string) predicate.MessageRemind
- func ContentLTE(v string) predicate.MessageRemind
- func ContentNEQ(v string) predicate.MessageRemind
- func ContentNotIn(vs ...string) predicate.MessageRemind
- func HasGuild() predicate.MessageRemind
- func HasGuildWith(preds ...predicate.Guild) predicate.MessageRemind
- func ID(id uuid.UUID) predicate.MessageRemind
- func IDEQ(id uuid.UUID) predicate.MessageRemind
- func IDGT(id uuid.UUID) predicate.MessageRemind
- func IDGTE(id uuid.UUID) predicate.MessageRemind
- func IDIn(ids ...uuid.UUID) predicate.MessageRemind
- func IDLT(id uuid.UUID) predicate.MessageRemind
- func IDLTE(id uuid.UUID) predicate.MessageRemind
- func IDNEQ(id uuid.UUID) predicate.MessageRemind
- func IDNotIn(ids ...uuid.UUID) predicate.MessageRemind
- func Name(v string) predicate.MessageRemind
- func NameContains(v string) predicate.MessageRemind
- func NameContainsFold(v string) predicate.MessageRemind
- func NameEQ(v string) predicate.MessageRemind
- func NameEqualFold(v string) predicate.MessageRemind
- func NameGT(v string) predicate.MessageRemind
- func NameGTE(v string) predicate.MessageRemind
- func NameHasPrefix(v string) predicate.MessageRemind
- func NameHasSuffix(v string) predicate.MessageRemind
- func NameIn(vs ...string) predicate.MessageRemind
- func NameLT(v string) predicate.MessageRemind
- func NameLTE(v string) predicate.MessageRemind
- func NameNEQ(v string) predicate.MessageRemind
- func NameNotIn(vs ...string) predicate.MessageRemind
- func Not(p predicate.MessageRemind) predicate.MessageRemind
- func Or(predicates ...predicate.MessageRemind) predicate.MessageRemind
- func Time(v time.Time) predicate.MessageRemind
- func TimeEQ(v time.Time) predicate.MessageRemind
- func TimeGT(v time.Time) predicate.MessageRemind
- func TimeGTE(v time.Time) predicate.MessageRemind
- func TimeIn(vs ...time.Time) predicate.MessageRemind
- func TimeLT(v time.Time) predicate.MessageRemind
- func TimeLTE(v time.Time) predicate.MessageRemind
- func TimeNEQ(v time.Time) predicate.MessageRemind
- func TimeNotIn(vs ...time.Time) predicate.MessageRemind
- func ValidColumn(column string) bool
- type OrderOption
- func ByAuthorID(opts ...sql.OrderTermOption) OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByGuildField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the messageremind type in the database. Label = "message_remind" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // FieldAuthorID holds the string denoting the author_id field in the database. FieldAuthorID = "author_id" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldName holds the string denoting the name field in the database. FieldName = "name" // EdgeGuild holds the string denoting the guild edge name in mutations. EdgeGuild = "guild" // Table holds the table name of the messageremind in the database. Table = "message_reminds" // GuildTable is the table that holds the guild relation/edge. GuildTable = "message_reminds" // GuildInverseTable is the table name for the Guild entity. // It exists in this package in order to avoid circular dependency with the "guild" package. GuildInverseTable = "guilds" // GuildColumn is the table column denoting the guild relation/edge. GuildColumn = "guild_reminds" )
Variables ¶
var ( // ContentValidator is a validator for the "content" field. It is called by the builders before save. ContentValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldChannelID, FieldAuthorID, FieldTime, FieldContent, FieldName, }
Columns holds all SQL columns for messageremind fields.
var ForeignKeys = []string{
"guild_reminds",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "message_reminds" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.MessageRemind) predicate.MessageRemind
And groups predicates with the AND operator between them.
func AuthorID ¶
func AuthorID(v snowflake.ID) predicate.MessageRemind
AuthorID applies equality check predicate on the "author_id" field. It's identical to AuthorIDEQ.
func AuthorIDEQ ¶
func AuthorIDEQ(v snowflake.ID) predicate.MessageRemind
AuthorIDEQ applies the EQ predicate on the "author_id" field.
func AuthorIDGT ¶
func AuthorIDGT(v snowflake.ID) predicate.MessageRemind
AuthorIDGT applies the GT predicate on the "author_id" field.
func AuthorIDGTE ¶
func AuthorIDGTE(v snowflake.ID) predicate.MessageRemind
AuthorIDGTE applies the GTE predicate on the "author_id" field.
func AuthorIDIn ¶
func AuthorIDIn(vs ...snowflake.ID) predicate.MessageRemind
AuthorIDIn applies the In predicate on the "author_id" field.
func AuthorIDLT ¶
func AuthorIDLT(v snowflake.ID) predicate.MessageRemind
AuthorIDLT applies the LT predicate on the "author_id" field.
func AuthorIDLTE ¶
func AuthorIDLTE(v snowflake.ID) predicate.MessageRemind
AuthorIDLTE applies the LTE predicate on the "author_id" field.
func AuthorIDNEQ ¶
func AuthorIDNEQ(v snowflake.ID) predicate.MessageRemind
AuthorIDNEQ applies the NEQ predicate on the "author_id" field.
func AuthorIDNotIn ¶
func AuthorIDNotIn(vs ...snowflake.ID) predicate.MessageRemind
AuthorIDNotIn applies the NotIn predicate on the "author_id" field.
func ChannelID ¶
func ChannelID(v snowflake.ID) predicate.MessageRemind
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDEQ ¶
func ChannelIDEQ(v snowflake.ID) predicate.MessageRemind
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDGT ¶
func ChannelIDGT(v snowflake.ID) predicate.MessageRemind
ChannelIDGT applies the GT predicate on the "channel_id" field.
func ChannelIDGTE ¶
func ChannelIDGTE(v snowflake.ID) predicate.MessageRemind
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
func ChannelIDIn ¶
func ChannelIDIn(vs ...snowflake.ID) predicate.MessageRemind
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDLT ¶
func ChannelIDLT(v snowflake.ID) predicate.MessageRemind
ChannelIDLT applies the LT predicate on the "channel_id" field.
func ChannelIDLTE ¶
func ChannelIDLTE(v snowflake.ID) predicate.MessageRemind
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
func ChannelIDNEQ ¶
func ChannelIDNEQ(v snowflake.ID) predicate.MessageRemind
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
func ChannelIDNotIn(vs ...snowflake.ID) predicate.MessageRemind
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func Content ¶
func Content(v string) predicate.MessageRemind
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.MessageRemind
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.MessageRemind
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.MessageRemind
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.MessageRemind
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.MessageRemind
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.MessageRemind
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.MessageRemind
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.MessageRemind
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.MessageRemind
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.MessageRemind
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.MessageRemind
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.MessageRemind
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.MessageRemind
ContentNotIn applies the NotIn predicate on the "content" field.
func HasGuild ¶
func HasGuild() predicate.MessageRemind
HasGuild applies the HasEdge predicate on the "guild" edge.
func HasGuildWith ¶
func HasGuildWith(preds ...predicate.Guild) predicate.MessageRemind
HasGuildWith applies the HasEdge predicate on the "guild" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.MessageRemind
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.MessageRemind
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.MessageRemind
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.MessageRemind
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.MessageRemind
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.MessageRemind
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.MessageRemind
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.MessageRemind
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.MessageRemind
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.MessageRemind
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.MessageRemind
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.MessageRemind
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.MessageRemind
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.MessageRemind
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.MessageRemind
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.MessageRemind
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.MessageRemind
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.MessageRemind
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.MessageRemind
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.MessageRemind
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.MessageRemind
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.MessageRemind
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.MessageRemind
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.MessageRemind) predicate.MessageRemind
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MessageRemind) predicate.MessageRemind
Or groups predicates with the OR operator between them.
func Time ¶
func Time(v time.Time) predicate.MessageRemind
Time applies equality check predicate on the "time" field. It's identical to TimeEQ.
func TimeEQ ¶
func TimeEQ(v time.Time) predicate.MessageRemind
TimeEQ applies the EQ predicate on the "time" field.
func TimeGT ¶
func TimeGT(v time.Time) predicate.MessageRemind
TimeGT applies the GT predicate on the "time" field.
func TimeGTE ¶
func TimeGTE(v time.Time) predicate.MessageRemind
TimeGTE applies the GTE predicate on the "time" field.
func TimeIn ¶
func TimeIn(vs ...time.Time) predicate.MessageRemind
TimeIn applies the In predicate on the "time" field.
func TimeLT ¶
func TimeLT(v time.Time) predicate.MessageRemind
TimeLT applies the LT predicate on the "time" field.
func TimeLTE ¶
func TimeLTE(v time.Time) predicate.MessageRemind
TimeLTE applies the LTE predicate on the "time" field.
func TimeNEQ ¶
func TimeNEQ(v time.Time) predicate.MessageRemind
TimeNEQ applies the NEQ predicate on the "time" field.
func TimeNotIn ¶
func TimeNotIn(vs ...time.Time) predicate.MessageRemind
TimeNotIn applies the NotIn predicate on the "time" 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 MessageRemind queries.
func ByAuthorID ¶
func ByAuthorID(opts ...sql.OrderTermOption) OrderOption
ByAuthorID orders the results by the author_id field.
func ByChannelID ¶
func ByChannelID(opts ...sql.OrderTermOption) OrderOption
ByChannelID orders the results by the channel_id field.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByGuildField ¶
func ByGuildField(field string, opts ...sql.OrderTermOption) OrderOption
ByGuildField orders the results by guild field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByTime ¶
func ByTime(opts ...sql.OrderTermOption) OrderOption
ByTime orders the results by the time field.