Documentation ¶
Index ¶
- Variables
- func DiscordTokenExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func DiscordTokens(mods ...qm.QueryMod) discordTokenQuery
- func EgoraptorMentionExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func EgoraptorMentions(mods ...qm.QueryMod) egoraptorMentionQuery
- func EgoraptorSettingExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func EgoraptorSettings(mods ...qm.QueryMod) egoraptorSettingQuery
- func GuildExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Guilds(mods ...qm.QueryMod) guildQuery
- func LastSeenExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func LastSeens(mods ...qm.QueryMod) lastSeenQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PingExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Pings(mods ...qm.QueryMod) pingQuery
- func QuoteExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Quotes(mods ...qm.QueryMod) quoteQuery
- func RoleExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func RoleUpdaterExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func RoleUpdaters(mods ...qm.QueryMod) roleUpdaterQuery
- func Roles(mods ...qm.QueryMod) roleQuery
- func SessionExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Sessions(mods ...qm.QueryMod) sessionQuery
- func TagExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Tags(mods ...qm.QueryMod) tagQuery
- func UserProfileExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func UserProfiles(mods ...qm.QueryMod) userProfileQuery
- type DiscordToken
- func (o *DiscordToken) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DiscordToken) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *DiscordToken) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DiscordToken) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DiscordToken) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DiscordToken) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DiscordTokenSlice
- type EgoraptorMention
- func (o *EgoraptorMention) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EgoraptorMention) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EgoraptorMention) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EgoraptorMention) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EgoraptorMention) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EgoraptorMention) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type EgoraptorMentionSlice
- type EgoraptorSetting
- func (o *EgoraptorSetting) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EgoraptorSetting) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EgoraptorSetting) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EgoraptorSetting) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EgoraptorSetting) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EgoraptorSetting) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type EgoraptorSettingSlice
- type Guild
- func (o *Guild) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Guild) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Guild) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Guild) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Guild) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Guild) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GuildSlice
- type LastSeen
- func (o *LastSeen) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LastSeen) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *LastSeen) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LastSeen) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LastSeen) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LastSeen) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LastSeenSlice
- type M
- type Ping
- func (o *Ping) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Ping) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Ping) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Ping) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Ping) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Ping) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PingSlice
- type Quote
- func (o *Quote) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Quote) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Quote) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Quote) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Quote) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Quote) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type QuoteSlice
- type Role
- func (o *Role) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Role) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Role) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Role) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Role) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Role) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type RoleSlice
- type RoleUpdater
- func (o *RoleUpdater) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RoleUpdater) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *RoleUpdater) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *RoleUpdater) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RoleUpdater) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *RoleUpdater) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type RoleUpdaterSlice
- type Session
- func (o *Session) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Session) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Session) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Session) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Session) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Session) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type SessionSlice
- type Tag
- func (o *Tag) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Tag) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Tag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Tag) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Tag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Tag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type TagSlice
- type UserProfile
- func (o *UserProfile) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserProfile) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserProfile) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserProfile) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserProfile) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserProfile) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type UserProfileSlice
Constants ¶
This section is empty.
Variables ¶
var DiscordTokenColumns = struct { ID string UserID string AccessToken string RefreshToken string Expiry string TokenType string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", AccessToken: "access_token", RefreshToken: "refresh_token", Expiry: "expiry", TokenType: "token_type", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var DiscordTokenRels = struct {
}{}
DiscordTokenRels is where relationship names are stored.
var DiscordTokenTableColumns = struct { ID string UserID string AccessToken string RefreshToken string Expiry string TokenType string CreatedAt string UpdatedAt string }{ ID: "discord_tokens.id", UserID: "discord_tokens.user_id", AccessToken: "discord_tokens.access_token", RefreshToken: "discord_tokens.refresh_token", Expiry: "discord_tokens.expiry", TokenType: "discord_tokens.token_type", CreatedAt: "discord_tokens.created_at", UpdatedAt: "discord_tokens.updated_at", }
var DiscordTokenWhere = struct { ID whereHelperint64 UserID whereHelperstring AccessToken whereHelperstring RefreshToken whereHelperstring Expiry whereHelpertime_Time TokenType whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, AccessToken: whereHelperstring{/* contains filtered or unexported fields */}, RefreshToken: whereHelperstring{/* contains filtered or unexported fields */}, Expiry: whereHelpertime_Time{/* contains filtered or unexported fields */}, TokenType: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var EgoraptorMentionColumns = struct { ID string GuildID string UserID string Count string CreatedAt string UpdatedAt string }{ ID: "id", GuildID: "guild_id", UserID: "user_id", Count: "count", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var EgoraptorMentionRels = struct {
}{}
EgoraptorMentionRels is where relationship names are stored.
var EgoraptorMentionTableColumns = struct { ID string GuildID string UserID string Count string CreatedAt string UpdatedAt string }{ ID: "egoraptor_mentions.id", GuildID: "egoraptor_mentions.guild_id", UserID: "egoraptor_mentions.user_id", Count: "egoraptor_mentions.count", CreatedAt: "egoraptor_mentions.created_at", UpdatedAt: "egoraptor_mentions.updated_at", }
var EgoraptorMentionWhere = struct { ID whereHelperint64 GuildID whereHelperstring UserID whereHelperstring Count whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Count: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var EgoraptorSettingColumns = struct { ID string GuildID string LastTimestamp string LastUser string Count string TimeoutOnMention string TimeoutLength string CreatedAt string UpdatedAt string }{ ID: "id", GuildID: "guild_id", LastTimestamp: "last_timestamp", LastUser: "last_user", Count: "count", TimeoutOnMention: "timeout_on_mention", TimeoutLength: "timeout_length", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var EgoraptorSettingRels = struct {
}{}
EgoraptorSettingRels is where relationship names are stored.
var EgoraptorSettingTableColumns = struct { ID string GuildID string LastTimestamp string LastUser string Count string TimeoutOnMention string TimeoutLength string CreatedAt string UpdatedAt string }{ ID: "egoraptor_settings.id", GuildID: "egoraptor_settings.guild_id", LastTimestamp: "egoraptor_settings.last_timestamp", LastUser: "egoraptor_settings.last_user", Count: "egoraptor_settings.count", TimeoutOnMention: "egoraptor_settings.timeout_on_mention", TimeoutLength: "egoraptor_settings.timeout_length", CreatedAt: "egoraptor_settings.created_at", UpdatedAt: "egoraptor_settings.updated_at", }
var EgoraptorSettingWhere = struct { ID whereHelperint64 GuildID whereHelperstring LastTimestamp whereHelpertime_Time LastUser whereHelperstring Count whereHelperint TimeoutOnMention whereHelperbool TimeoutLength whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, LastTimestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, LastUser: whereHelperstring{/* contains filtered or unexported fields */}, Count: whereHelperint{/* contains filtered or unexported fields */}, TimeoutOnMention: whereHelperbool{/* contains filtered or unexported fields */}, TimeoutLength: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var GuildColumns = struct { ID string GuildID string GuildName string DoQuotes string CreatedAt string UpdatedAt string QuotesRequiredReactions string }{ ID: "id", GuildID: "guild_id", GuildName: "guild_name", DoQuotes: "do_quotes", CreatedAt: "created_at", UpdatedAt: "updated_at", QuotesRequiredReactions: "quotes_required_reactions", }
var GuildRels = struct {
}{}
GuildRels is where relationship names are stored.
var GuildTableColumns = struct { ID string GuildID string GuildName string DoQuotes string CreatedAt string UpdatedAt string QuotesRequiredReactions string }{ ID: "guilds.id", GuildID: "guilds.guild_id", GuildName: "guilds.guild_name", DoQuotes: "guilds.do_quotes", CreatedAt: "guilds.created_at", UpdatedAt: "guilds.updated_at", QuotesRequiredReactions: "guilds.quotes_required_reactions", }
var GuildWhere = struct { ID whereHelperint64 GuildID whereHelperstring GuildName whereHelperstring DoQuotes whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time QuotesRequiredReactions whereHelpernull_Int }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, GuildName: whereHelperstring{/* contains filtered or unexported fields */}, DoQuotes: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, QuotesRequiredReactions: whereHelpernull_Int{/* contains filtered or unexported fields */}, }
var LastSeenColumns = struct { ID string UserID string GuildID string LastSeen string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", GuildID: "guild_id", LastSeen: "last_seen", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var LastSeenRels = struct {
}{}
LastSeenRels is where relationship names are stored.
var LastSeenTableColumns = struct { ID string UserID string GuildID string LastSeen string CreatedAt string UpdatedAt string }{ ID: "last_seen.id", UserID: "last_seen.user_id", GuildID: "last_seen.guild_id", LastSeen: "last_seen.last_seen", CreatedAt: "last_seen.created_at", UpdatedAt: "last_seen.updated_at", }
var LastSeenWhere = struct { ID whereHelperint64 UserID whereHelperstring GuildID whereHelperstring LastSeen whereHelpertime_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, LastSeen: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PingColumns = struct { ID string UserID string GuildID string GuildName string Pattern string Num string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", GuildID: "guild_id", GuildName: "guild_name", Pattern: "pattern", Num: "num", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PingRels = struct {
}{}
PingRels is where relationship names are stored.
var PingTableColumns = struct { ID string UserID string GuildID string GuildName string Pattern string Num string CreatedAt string UpdatedAt string }{ ID: "pings.id", UserID: "pings.user_id", GuildID: "pings.guild_id", GuildName: "pings.guild_name", Pattern: "pings.pattern", Num: "pings.num", CreatedAt: "pings.created_at", UpdatedAt: "pings.updated_at", }
var PingWhere = struct { ID whereHelperint64 UserID whereHelperstring GuildID whereHelperstring GuildName whereHelperstring Pattern whereHelperstring Num whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, GuildName: whereHelperstring{/* contains filtered or unexported fields */}, Pattern: whereHelperstring{/* contains filtered or unexported fields */}, Num: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var QuoteColumns = struct { ID string Quote string Num string QuoterID string QuotedID string QuotedUsername string GuildID string ChannelID string MessageID string CreatedAt string UpdatedAt string }{ ID: "id", Quote: "quote", Num: "num", QuoterID: "quoter_id", QuotedID: "quoted_id", QuotedUsername: "quoted_username", GuildID: "guild_id", ChannelID: "channel_id", MessageID: "message_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var QuoteRels = struct {
}{}
QuoteRels is where relationship names are stored.
var QuoteTableColumns = struct { ID string Quote string Num string QuoterID string QuotedID string QuotedUsername string GuildID string ChannelID string MessageID string CreatedAt string UpdatedAt string }{ ID: "quotes.id", Quote: "quotes.quote", Num: "quotes.num", QuoterID: "quotes.quoter_id", QuotedID: "quotes.quoted_id", QuotedUsername: "quotes.quoted_username", GuildID: "quotes.guild_id", ChannelID: "quotes.channel_id", MessageID: "quotes.message_id", CreatedAt: "quotes.created_at", UpdatedAt: "quotes.updated_at", }
var QuoteWhere = struct { ID whereHelperint64 Quote whereHelperstring Num whereHelperint QuoterID whereHelpernull_String QuotedID whereHelperstring QuotedUsername whereHelperstring GuildID whereHelperstring ChannelID whereHelperstring MessageID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, Quote: whereHelperstring{/* contains filtered or unexported fields */}, Num: whereHelperint{/* contains filtered or unexported fields */}, QuoterID: whereHelpernull_String{/* contains filtered or unexported fields */}, QuotedID: whereHelperstring{/* contains filtered or unexported fields */}, QuotedUsername: whereHelperstring{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, ChannelID: whereHelperstring{/* contains filtered or unexported fields */}, MessageID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var RoleColumns = struct { ID string RoleID string GuildID string CreatedAt string UpdatedAt string RoleName string }{ ID: "id", RoleID: "role_id", GuildID: "guild_id", CreatedAt: "created_at", UpdatedAt: "updated_at", RoleName: "role_name", }
var RoleRels = struct {
}{}
RoleRels is where relationship names are stored.
var RoleTableColumns = struct { ID string RoleID string GuildID string CreatedAt string UpdatedAt string RoleName string }{ ID: "roles.id", RoleID: "roles.role_id", GuildID: "roles.guild_id", CreatedAt: "roles.created_at", UpdatedAt: "roles.updated_at", RoleName: "roles.role_name", }
var RoleUpdaterColumns = struct { ID string GuildID string DoUpdates string LastTimestamp string CreatedAt string UpdatedAt string }{ ID: "id", GuildID: "guild_id", DoUpdates: "do_updates", LastTimestamp: "last_timestamp", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var RoleUpdaterRels = struct {
}{}
RoleUpdaterRels is where relationship names are stored.
var RoleUpdaterTableColumns = struct { ID string GuildID string DoUpdates string LastTimestamp string CreatedAt string UpdatedAt string }{ ID: "role_updater.id", GuildID: "role_updater.guild_id", DoUpdates: "role_updater.do_updates", LastTimestamp: "role_updater.last_timestamp", CreatedAt: "role_updater.created_at", UpdatedAt: "role_updater.updated_at", }
var RoleUpdaterWhere = struct { ID whereHelperint64 GuildID whereHelperstring DoUpdates whereHelperbool LastTimestamp whereHelpertime_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, DoUpdates: whereHelperbool{/* contains filtered or unexported fields */}, LastTimestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var RoleWhere = struct { ID whereHelperint64 RoleID whereHelperstring GuildID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time RoleName whereHelpernull_String }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, RoleID: whereHelperstring{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, RoleName: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var SessionColumns = struct { ID string Token string Data string Expiry string }{ ID: "id", Token: "token", Data: "data", Expiry: "expiry", }
var SessionRels = struct {
}{}
SessionRels is where relationship names are stored.
var SessionTableColumns = struct { ID string Token string Data string Expiry string }{ ID: "sessions.id", Token: "sessions.token", Data: "sessions.data", Expiry: "sessions.expiry", }
var SessionWhere = struct { ID whereHelperint64 Token whereHelperstring Data whereHelper__byte Expiry whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, Token: whereHelperstring{/* contains filtered or unexported fields */}, Data: whereHelper__byte{/* contains filtered or unexported fields */}, Expiry: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { DiscordTokens string EgoraptorMentions string EgoraptorSettings string Guilds string LastSeen string Pings string Quotes string RoleUpdater string Roles string Sessions string Tags string UserProfiles string }{ DiscordTokens: "discord_tokens", EgoraptorMentions: "egoraptor_mentions", EgoraptorSettings: "egoraptor_settings", Guilds: "guilds", LastSeen: "last_seen", Pings: "pings", Quotes: "quotes", RoleUpdater: "role_updater", Roles: "roles", Sessions: "sessions", Tags: "tags", UserProfiles: "user_profiles", }
var TagColumns = struct { ID string GuildID string CreatorID string Editor string Trigger string Content string CreatedAt string UpdatedAt string }{ ID: "id", GuildID: "guild_id", CreatorID: "creator_id", Editor: "editor", Trigger: "trigger", Content: "content", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var TagRels = struct {
}{}
TagRels is where relationship names are stored.
var TagTableColumns = struct { ID string GuildID string CreatorID string Editor string Trigger string Content string CreatedAt string UpdatedAt string }{ ID: "tags.id", GuildID: "tags.guild_id", CreatorID: "tags.creator_id", Editor: "tags.editor", Trigger: "tags.trigger", Content: "tags.content", CreatedAt: "tags.created_at", UpdatedAt: "tags.updated_at", }
var TagWhere = struct { ID whereHelperint64 GuildID whereHelperstring CreatorID whereHelperstring Editor whereHelperstring Trigger whereHelperstring Content whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperstring{/* contains filtered or unexported fields */}, CreatorID: whereHelperstring{/* contains filtered or unexported fields */}, Editor: whereHelperstring{/* contains filtered or unexported fields */}, Trigger: whereHelperstring{/* contains filtered or unexported fields */}, Content: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var UserProfileColumns = struct { ID string UserID string Timezone string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", Timezone: "timezone", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserProfileRels = struct {
}{}
UserProfileRels is where relationship names are stored.
var UserProfileTableColumns = struct { ID string UserID string Timezone string CreatedAt string UpdatedAt string }{ ID: "user_profiles.id", UserID: "user_profiles.user_id", Timezone: "user_profiles.timezone", CreatedAt: "user_profiles.created_at", UpdatedAt: "user_profiles.updated_at", }
var UserProfileWhere = struct { ID whereHelperint64 UserID whereHelperstring Timezone whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Timezone: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
Functions ¶
func DiscordTokenExists ¶
DiscordTokenExists checks if the DiscordToken row exists.
func DiscordTokens ¶
DiscordTokens retrieves all the records using an executor.
func EgoraptorMentionExists ¶
EgoraptorMentionExists checks if the EgoraptorMention row exists.
func EgoraptorMentions ¶
EgoraptorMentions retrieves all the records using an executor.
func EgoraptorSettingExists ¶
EgoraptorSettingExists checks if the EgoraptorSetting row exists.
func EgoraptorSettings ¶
EgoraptorSettings retrieves all the records using an executor.
func GuildExists ¶
GuildExists checks if the Guild row exists.
func LastSeenExists ¶
LastSeenExists checks if the LastSeen row exists.
func PingExists ¶
PingExists checks if the Ping row exists.
func QuoteExists ¶
QuoteExists checks if the Quote row exists.
func RoleExists ¶
RoleExists checks if the Role row exists.
func RoleUpdaterExists ¶
RoleUpdaterExists checks if the RoleUpdater row exists.
func RoleUpdaters ¶
RoleUpdaters retrieves all the records using an executor.
func SessionExists ¶
SessionExists checks if the Session row exists.
func UserProfileExists ¶
UserProfileExists checks if the UserProfile row exists.
func UserProfiles ¶
UserProfiles retrieves all the records using an executor.
Types ¶
type DiscordToken ¶
type DiscordToken struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` AccessToken string `boil:"access_token" json:"access_token" toml:"access_token" yaml:"access_token"` RefreshToken string `boil:"refresh_token" json:"refresh_token" toml:"refresh_token" yaml:"refresh_token"` Expiry time.Time `boil:"expiry" json:"expiry" toml:"expiry" yaml:"expiry"` TokenType string `boil:"token_type" json:"token_type" toml:"token_type" yaml:"token_type"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *discordTokenR `boil:"-" json:"-" toml:"-" yaml:"-"` L discordTokenL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DiscordToken is an object representing the database table.
func FindDiscordToken ¶
func FindDiscordToken(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*DiscordToken, error)
FindDiscordToken retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DiscordToken) Delete ¶
func (o *DiscordToken) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single DiscordToken record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DiscordToken) Exists ¶
func (o *DiscordToken) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the DiscordToken row exists.
func (*DiscordToken) Insert ¶
func (o *DiscordToken) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DiscordToken) Reload ¶
func (o *DiscordToken) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DiscordToken) Update ¶
func (o *DiscordToken) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the DiscordToken. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DiscordToken) Upsert ¶
func (o *DiscordToken) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DiscordTokenSlice ¶
type DiscordTokenSlice []*DiscordToken
DiscordTokenSlice is an alias for a slice of pointers to DiscordToken. This should almost always be used instead of []DiscordToken.
func (DiscordTokenSlice) DeleteAll ¶
func (o DiscordTokenSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*DiscordTokenSlice) ReloadAll ¶
func (o *DiscordTokenSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DiscordTokenSlice) UpdateAll ¶
func (o DiscordTokenSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type EgoraptorMention ¶
type EgoraptorMention struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Count int `boil:"count" json:"count" toml:"count" yaml:"count"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *egoraptorMentionR `boil:"-" json:"-" toml:"-" yaml:"-"` L egoraptorMentionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EgoraptorMention is an object representing the database table.
func FindEgoraptorMention ¶
func FindEgoraptorMention(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*EgoraptorMention, error)
FindEgoraptorMention retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EgoraptorMention) Delete ¶
func (o *EgoraptorMention) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single EgoraptorMention record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EgoraptorMention) Exists ¶
func (o *EgoraptorMention) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EgoraptorMention row exists.
func (*EgoraptorMention) Insert ¶
func (o *EgoraptorMention) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EgoraptorMention) Reload ¶
func (o *EgoraptorMention) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EgoraptorMention) Update ¶
func (o *EgoraptorMention) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the EgoraptorMention. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EgoraptorMention) Upsert ¶
func (o *EgoraptorMention) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EgoraptorMentionSlice ¶
type EgoraptorMentionSlice []*EgoraptorMention
EgoraptorMentionSlice is an alias for a slice of pointers to EgoraptorMention. This should almost always be used instead of []EgoraptorMention.
func (EgoraptorMentionSlice) DeleteAll ¶
func (o EgoraptorMentionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*EgoraptorMentionSlice) ReloadAll ¶
func (o *EgoraptorMentionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EgoraptorMentionSlice) UpdateAll ¶
func (o EgoraptorMentionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type EgoraptorSetting ¶
type EgoraptorSetting struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` LastTimestamp time.Time `boil:"last_timestamp" json:"last_timestamp" toml:"last_timestamp" yaml:"last_timestamp"` LastUser string `boil:"last_user" json:"last_user" toml:"last_user" yaml:"last_user"` Count int `boil:"count" json:"count" toml:"count" yaml:"count"` TimeoutOnMention bool `boil:"timeout_on_mention" json:"timeout_on_mention" toml:"timeout_on_mention" yaml:"timeout_on_mention"` TimeoutLength int `boil:"timeout_length" json:"timeout_length" toml:"timeout_length" yaml:"timeout_length"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *egoraptorSettingR `boil:"-" json:"-" toml:"-" yaml:"-"` L egoraptorSettingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EgoraptorSetting is an object representing the database table.
func FindEgoraptorSetting ¶
func FindEgoraptorSetting(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*EgoraptorSetting, error)
FindEgoraptorSetting retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EgoraptorSetting) Delete ¶
func (o *EgoraptorSetting) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single EgoraptorSetting record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EgoraptorSetting) Exists ¶
func (o *EgoraptorSetting) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EgoraptorSetting row exists.
func (*EgoraptorSetting) Insert ¶
func (o *EgoraptorSetting) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EgoraptorSetting) Reload ¶
func (o *EgoraptorSetting) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EgoraptorSetting) Update ¶
func (o *EgoraptorSetting) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the EgoraptorSetting. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EgoraptorSetting) Upsert ¶
func (o *EgoraptorSetting) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EgoraptorSettingSlice ¶
type EgoraptorSettingSlice []*EgoraptorSetting
EgoraptorSettingSlice is an alias for a slice of pointers to EgoraptorSetting. This should almost always be used instead of []EgoraptorSetting.
func (EgoraptorSettingSlice) DeleteAll ¶
func (o EgoraptorSettingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*EgoraptorSettingSlice) ReloadAll ¶
func (o *EgoraptorSettingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EgoraptorSettingSlice) UpdateAll ¶
func (o EgoraptorSettingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type Guild ¶
type Guild struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` GuildName string `boil:"guild_name" json:"guild_name" toml:"guild_name" yaml:"guild_name"` DoQuotes bool `boil:"do_quotes" json:"do_quotes" toml:"do_quotes" yaml:"do_quotes"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` QuotesRequiredReactions null.Int `` /* 151-byte string literal not displayed */ R *guildR `boil:"-" json:"-" toml:"-" yaml:"-"` L guildL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Guild is an object representing the database table.
func FindGuild ¶
func FindGuild(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Guild, error)
FindGuild retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Guild) Delete ¶
Delete deletes a single Guild record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Guild) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Guild) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Guild) Update ¶
Update uses an executor to update the Guild. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Guild) Upsert ¶
func (o *Guild) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GuildSlice ¶
type GuildSlice []*Guild
GuildSlice is an alias for a slice of pointers to Guild. This should almost always be used instead of []Guild.
func (GuildSlice) DeleteAll ¶
func (o GuildSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*GuildSlice) ReloadAll ¶
func (o *GuildSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GuildSlice) UpdateAll ¶
func (o GuildSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type LastSeen ¶
type LastSeen struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` LastSeen time.Time `boil:"last_seen" json:"last_seen" toml:"last_seen" yaml:"last_seen"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *lastSeenR `boil:"-" json:"-" toml:"-" yaml:"-"` L lastSeenL `boil:"-" json:"-" toml:"-" yaml:"-"` }
LastSeen is an object representing the database table.
func FindLastSeen ¶
func FindLastSeen(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*LastSeen, error)
FindLastSeen retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*LastSeen) Delete ¶
Delete deletes a single LastSeen record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LastSeen) Insert ¶
func (o *LastSeen) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LastSeen) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*LastSeen) Update ¶
func (o *LastSeen) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the LastSeen. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LastSeen) Upsert ¶
func (o *LastSeen) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LastSeenSlice ¶
type LastSeenSlice []*LastSeen
LastSeenSlice is an alias for a slice of pointers to LastSeen. This should almost always be used instead of []LastSeen.
func (LastSeenSlice) DeleteAll ¶
func (o LastSeenSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*LastSeenSlice) ReloadAll ¶
func (o *LastSeenSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LastSeenSlice) UpdateAll ¶
func (o LastSeenSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Ping ¶
type Ping struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` GuildName string `boil:"guild_name" json:"guild_name" toml:"guild_name" yaml:"guild_name"` Pattern string `boil:"pattern" json:"pattern" toml:"pattern" yaml:"pattern"` Num int `boil:"num" json:"num" toml:"num" yaml:"num"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *pingR `boil:"-" json:"-" toml:"-" yaml:"-"` L pingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Ping is an object representing the database table.
func FindPing ¶
func FindPing(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Ping, error)
FindPing retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Ping) Delete ¶
Delete deletes a single Ping record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Ping) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Ping) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Ping) Update ¶
Update uses an executor to update the Ping. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Ping) Upsert ¶
func (o *Ping) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PingSlice ¶
type PingSlice []*Ping
PingSlice is an alias for a slice of pointers to Ping. This should almost always be used instead of []Ping.
type Quote ¶
type Quote struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Quote string `boil:"quote" json:"quote" toml:"quote" yaml:"quote"` Num int `boil:"num" json:"num" toml:"num" yaml:"num"` QuoterID null.String `boil:"quoter_id" json:"quoter_id,omitempty" toml:"quoter_id" yaml:"quoter_id,omitempty"` QuotedID string `boil:"quoted_id" json:"quoted_id" toml:"quoted_id" yaml:"quoted_id"` QuotedUsername string `boil:"quoted_username" json:"quoted_username" toml:"quoted_username" yaml:"quoted_username"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` ChannelID string `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_id"` MessageID string `boil:"message_id" json:"message_id" toml:"message_id" yaml:"message_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *quoteR `boil:"-" json:"-" toml:"-" yaml:"-"` L quoteL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Quote is an object representing the database table.
func FindQuote ¶
func FindQuote(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Quote, error)
FindQuote retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Quote) Delete ¶
Delete deletes a single Quote record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Quote) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Quote) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Quote) Update ¶
Update uses an executor to update the Quote. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Quote) Upsert ¶
func (o *Quote) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type QuoteSlice ¶
type QuoteSlice []*Quote
QuoteSlice is an alias for a slice of pointers to Quote. This should almost always be used instead of []Quote.
func (QuoteSlice) DeleteAll ¶
func (o QuoteSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*QuoteSlice) ReloadAll ¶
func (o *QuoteSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (QuoteSlice) UpdateAll ¶
func (o QuoteSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type Role ¶
type Role struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` RoleID string `boil:"role_id" json:"role_id" toml:"role_id" yaml:"role_id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` RoleName null.String `boil:"role_name" json:"role_name,omitempty" toml:"role_name" yaml:"role_name,omitempty"` R *roleR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Role is an object representing the database table.
func FindRole ¶
func FindRole(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Role, error)
FindRole retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Role) Delete ¶
Delete deletes a single Role record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Role) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Role) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Role) Update ¶
Update uses an executor to update the Role. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Role) Upsert ¶
func (o *Role) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type RoleSlice ¶
type RoleSlice []*Role
RoleSlice is an alias for a slice of pointers to Role. This should almost always be used instead of []Role.
type RoleUpdater ¶
type RoleUpdater struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` DoUpdates bool `boil:"do_updates" json:"do_updates" toml:"do_updates" yaml:"do_updates"` LastTimestamp time.Time `boil:"last_timestamp" json:"last_timestamp" toml:"last_timestamp" yaml:"last_timestamp"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *roleUpdaterR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleUpdaterL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleUpdater is an object representing the database table.
func FindRoleUpdater ¶
func FindRoleUpdater(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*RoleUpdater, error)
FindRoleUpdater retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*RoleUpdater) Delete ¶
func (o *RoleUpdater) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single RoleUpdater record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleUpdater) Exists ¶
func (o *RoleUpdater) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the RoleUpdater row exists.
func (*RoleUpdater) Insert ¶
func (o *RoleUpdater) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*RoleUpdater) Reload ¶
func (o *RoleUpdater) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleUpdater) Update ¶
func (o *RoleUpdater) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the RoleUpdater. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleUpdater) Upsert ¶
func (o *RoleUpdater) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type RoleUpdaterSlice ¶
type RoleUpdaterSlice []*RoleUpdater
RoleUpdaterSlice is an alias for a slice of pointers to RoleUpdater. This should almost always be used instead of []RoleUpdater.
func (RoleUpdaterSlice) DeleteAll ¶
func (o RoleUpdaterSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*RoleUpdaterSlice) ReloadAll ¶
func (o *RoleUpdaterSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (RoleUpdaterSlice) UpdateAll ¶
func (o RoleUpdaterSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type Session ¶
type Session struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Token string `boil:"token" json:"token" toml:"token" yaml:"token"` Data []byte `boil:"data" json:"data" toml:"data" yaml:"data"` Expiry time.Time `boil:"expiry" json:"expiry" toml:"expiry" yaml:"expiry"` R *sessionR `boil:"-" json:"-" toml:"-" yaml:"-"` L sessionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Session is an object representing the database table.
func FindSession ¶
func FindSession(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Session, error)
FindSession retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Session) Delete ¶
Delete deletes a single Session record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Session) Insert ¶
func (o *Session) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Session) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Session) Update ¶
func (o *Session) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the Session. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Session) Upsert ¶
func (o *Session) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type SessionSlice ¶
type SessionSlice []*Session
SessionSlice is an alias for a slice of pointers to Session. This should almost always be used instead of []Session.
func (SessionSlice) DeleteAll ¶
func (o SessionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*SessionSlice) ReloadAll ¶
func (o *SessionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (SessionSlice) UpdateAll ¶
func (o SessionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type Tag ¶
type Tag struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID string `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` CreatorID string `boil:"creator_id" json:"creator_id" toml:"creator_id" yaml:"creator_id"` Editor string `boil:"editor" json:"editor" toml:"editor" yaml:"editor"` Trigger string `boil:"trigger" json:"trigger" toml:"trigger" yaml:"trigger"` Content string `boil:"content" json:"content" toml:"content" yaml:"content"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *tagR `boil:"-" json:"-" toml:"-" yaml:"-"` L tagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Tag is an object representing the database table.
func FindTag ¶
func FindTag(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Tag, error)
FindTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Tag) Delete ¶
Delete deletes a single Tag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Tag) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Tag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Tag) Update ¶
Update uses an executor to update the Tag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Tag) Upsert ¶
func (o *Tag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TagSlice ¶
type TagSlice []*Tag
TagSlice is an alias for a slice of pointers to Tag. This should almost always be used instead of []Tag.
type UserProfile ¶
type UserProfile struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Timezone null.String `boil:"timezone" json:"timezone,omitempty" toml:"timezone" yaml:"timezone,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userProfileR `boil:"-" json:"-" toml:"-" yaml:"-"` L userProfileL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserProfile is an object representing the database table.
func FindUserProfile ¶
func FindUserProfile(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*UserProfile, error)
FindUserProfile retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UserProfile) Delete ¶
func (o *UserProfile) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single UserProfile record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserProfile) Exists ¶
func (o *UserProfile) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserProfile row exists.
func (*UserProfile) Insert ¶
func (o *UserProfile) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UserProfile) Reload ¶
func (o *UserProfile) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserProfile) Update ¶
func (o *UserProfile) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the UserProfile. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UserProfile) Upsert ¶
func (o *UserProfile) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type UserProfileSlice ¶
type UserProfileSlice []*UserProfile
UserProfileSlice is an alias for a slice of pointers to UserProfile. This should almost always be used instead of []UserProfile.
func (UserProfileSlice) DeleteAll ¶
func (o UserProfileSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*UserProfileSlice) ReloadAll ¶
func (o *UserProfileSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UserProfileSlice) UpdateAll ¶
func (o UserProfileSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.