Documentation ¶
Index ¶
- Variables
- func GuildLoggingConfigExists(ctx context.Context, exec boil.ContextExecutor, guildID int64) (bool, error)
- func GuildLoggingConfigExistsG(ctx context.Context, guildID int64) (bool, error)
- func GuildLoggingConfigs(mods ...qm.QueryMod) guildLoggingConfigQuery
- func MessageLogs2Exists(ctx context.Context, exec boil.ContextExecutor, guildID int64, iD int) (bool, error)
- func MessageLogs2ExistsG(ctx context.Context, guildID int64, iD int) (bool, error)
- func MessageLogs2s(mods ...qm.QueryMod) messageLogs2Query
- func Messages2Exists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Messages2ExistsG(ctx context.Context, iD int64) (bool, error)
- func Messages2s(mods ...qm.QueryMod) messages2Query
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func NicknameListingExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func NicknameListingExistsG(ctx context.Context, iD int) (bool, error)
- func NicknameListings(mods ...qm.QueryMod) nicknameListingQuery
- func UsernameListingExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func UsernameListingExistsG(ctx context.Context, iD int) (bool, error)
- func UsernameListings(mods ...qm.QueryMod) usernameListingQuery
- type GuildLoggingConfig
- func (o *GuildLoggingConfig) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GuildLoggingConfig) DeleteG(ctx context.Context) (int64, error)
- func (o *GuildLoggingConfig) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GuildLoggingConfig) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *GuildLoggingConfig) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GuildLoggingConfig) ReloadG(ctx context.Context) error
- func (o *GuildLoggingConfig) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GuildLoggingConfig) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *GuildLoggingConfig) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GuildLoggingConfig) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type GuildLoggingConfigSlice
- func (o GuildLoggingConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o GuildLoggingConfigSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *GuildLoggingConfigSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GuildLoggingConfigSlice) ReloadAllG(ctx context.Context) error
- func (o GuildLoggingConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o GuildLoggingConfigSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type M
- type MessageLogs2
- func (o *MessageLogs2) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MessageLogs2) DeleteG(ctx context.Context) (int64, error)
- func (o *MessageLogs2) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MessageLogs2) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *MessageLogs2) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MessageLogs2) ReloadG(ctx context.Context) error
- func (o *MessageLogs2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MessageLogs2) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *MessageLogs2) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *MessageLogs2) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type MessageLogs2Slice
- func (o MessageLogs2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o MessageLogs2Slice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *MessageLogs2Slice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MessageLogs2Slice) ReloadAllG(ctx context.Context) error
- func (o MessageLogs2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o MessageLogs2Slice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type Messages2
- func (o *Messages2) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Messages2) DeleteG(ctx context.Context) (int64, error)
- func (o *Messages2) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Messages2) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Messages2) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Messages2) ReloadG(ctx context.Context) error
- func (o *Messages2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Messages2) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Messages2) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Messages2) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type Messages2Slice
- func (o Messages2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o Messages2Slice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *Messages2Slice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Messages2Slice) ReloadAllG(ctx context.Context) error
- func (o Messages2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o Messages2Slice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type NicknameListing
- func (o *NicknameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *NicknameListing) DeleteG(ctx context.Context) (int64, error)
- func (o *NicknameListing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *NicknameListing) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *NicknameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NicknameListing) ReloadG(ctx context.Context) error
- func (o *NicknameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *NicknameListing) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *NicknameListing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *NicknameListing) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type NicknameListingSlice
- func (o NicknameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o NicknameListingSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *NicknameListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NicknameListingSlice) ReloadAllG(ctx context.Context) error
- func (o NicknameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o NicknameListingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type UsernameListing
- func (o *UsernameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UsernameListing) DeleteG(ctx context.Context) (int64, error)
- func (o *UsernameListing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UsernameListing) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *UsernameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UsernameListing) ReloadG(ctx context.Context) error
- func (o *UsernameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UsernameListing) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *UsernameListing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UsernameListing) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type UsernameListingSlice
- func (o UsernameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UsernameListingSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *UsernameListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UsernameListingSlice) ReloadAllG(ctx context.Context) error
- func (o UsernameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UsernameListingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
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 GuildLoggingConfigColumns = struct { GuildID string CreatedAt string UpdatedAt string UsernameLoggingEnabled string NicknameLoggingEnabled string BlacklistedChannels string ManageMessagesCanViewDeleted string EveryoneCanViewDeleted string MessageLogsAllowedRoles string AccessMode string }{ GuildID: "guild_id", CreatedAt: "created_at", UpdatedAt: "updated_at", UsernameLoggingEnabled: "username_logging_enabled", NicknameLoggingEnabled: "nickname_logging_enabled", BlacklistedChannels: "blacklisted_channels", ManageMessagesCanViewDeleted: "manage_messages_can_view_deleted", EveryoneCanViewDeleted: "everyone_can_view_deleted", MessageLogsAllowedRoles: "message_logs_allowed_roles", AccessMode: "access_mode", }
var GuildLoggingConfigRels = struct {
}{}
GuildLoggingConfigRels is where relationship names are stored.
var GuildLoggingConfigWhere = struct { GuildID whereHelperint64 CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time UsernameLoggingEnabled whereHelpernull_Bool NicknameLoggingEnabled whereHelpernull_Bool BlacklistedChannels whereHelpernull_String ManageMessagesCanViewDeleted whereHelpernull_Bool EveryoneCanViewDeleted whereHelpernull_Bool MessageLogsAllowedRoles whereHelpertypes_Int64Array AccessMode whereHelperint16 }{ GuildID: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UsernameLoggingEnabled: whereHelpernull_Bool{/* contains filtered or unexported fields */}, NicknameLoggingEnabled: whereHelpernull_Bool{/* contains filtered or unexported fields */}, BlacklistedChannels: whereHelpernull_String{/* contains filtered or unexported fields */}, ManageMessagesCanViewDeleted: whereHelpernull_Bool{/* contains filtered or unexported fields */}, EveryoneCanViewDeleted: whereHelpernull_Bool{/* contains filtered or unexported fields */}, MessageLogsAllowedRoles: whereHelpertypes_Int64Array{/* contains filtered or unexported fields */}, AccessMode: whereHelperint16{/* contains filtered or unexported fields */}, }
var MessageLogs2Columns = struct { ID string GuildID string LegacyID string CreatedAt string UpdatedAt string ChannelName string ChannelID string AuthorID string AuthorUsername string Messages string }{ ID: "id", GuildID: "guild_id", LegacyID: "legacy_id", CreatedAt: "created_at", UpdatedAt: "updated_at", ChannelName: "channel_name", ChannelID: "channel_id", AuthorID: "author_id", AuthorUsername: "author_username", Messages: "messages", }
var MessageLogs2Rels = struct {
}{}
MessageLogs2Rels is where relationship names are stored.
var MessageLogs2Where = struct { ID whereHelperint GuildID whereHelperint64 LegacyID whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ChannelName whereHelperstring ChannelID whereHelperint64 AuthorID whereHelperint64 AuthorUsername whereHelperstring Messages whereHelpertypes_Int64Array }{ ID: whereHelperint{/* contains filtered or unexported fields */}, GuildID: whereHelperint64{/* contains filtered or unexported fields */}, LegacyID: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ChannelName: whereHelperstring{/* contains filtered or unexported fields */}, ChannelID: whereHelperint64{/* contains filtered or unexported fields */}, AuthorID: whereHelperint64{/* contains filtered or unexported fields */}, AuthorUsername: whereHelperstring{/* contains filtered or unexported fields */}, Messages: whereHelpertypes_Int64Array{/* contains filtered or unexported fields */}, }
var Messages2Columns = struct { ID string GuildID string CreatedAt string UpdatedAt string Deleted string AuthorUsername string AuthorID string Content string }{ ID: "id", GuildID: "guild_id", CreatedAt: "created_at", UpdatedAt: "updated_at", Deleted: "deleted", AuthorUsername: "author_username", AuthorID: "author_id", Content: "content", }
var Messages2Rels = struct {
}{}
Messages2Rels is where relationship names are stored.
var Messages2Where = struct { ID whereHelperint64 GuildID whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time Deleted whereHelperbool AuthorUsername whereHelperstring AuthorID whereHelperint64 Content whereHelperstring }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildID: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Deleted: whereHelperbool{/* contains filtered or unexported fields */}, AuthorUsername: whereHelperstring{/* contains filtered or unexported fields */}, AuthorID: whereHelperint64{/* contains filtered or unexported fields */}, Content: whereHelperstring{/* contains filtered or unexported fields */}, }
var NicknameListingColumns = struct { ID string CreatedAt string UpdatedAt string DeletedAt string UserID string GuildID string Nickname string }{ ID: "id", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", UserID: "user_id", GuildID: "guild_id", Nickname: "nickname", }
var NicknameListingRels = struct {
}{}
NicknameListingRels is where relationship names are stored.
var NicknameListingWhere = struct { ID whereHelperint CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time DeletedAt whereHelpernull_Time UserID whereHelpernull_Int64 GuildID whereHelpernull_String Nickname whereHelpernull_String }{ ID: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UserID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, GuildID: whereHelpernull_String{/* contains filtered or unexported fields */}, Nickname: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var TableNames = struct { GuildLoggingConfigs string MessageLogs2 string Messages2 string NicknameListings string UsernameListings string }{ GuildLoggingConfigs: "guild_logging_configs", MessageLogs2: "message_logs2", Messages2: "messages2", NicknameListings: "nickname_listings", UsernameListings: "username_listings", }
var UsernameListingColumns = struct { ID string CreatedAt string UpdatedAt string DeletedAt string UserID string Username string }{ ID: "id", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", UserID: "user_id", Username: "username", }
var UsernameListingRels = struct {
}{}
UsernameListingRels is where relationship names are stored.
var UsernameListingWhere = struct { ID whereHelperint CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time DeletedAt whereHelpernull_Time UserID whereHelpernull_Int64 Username whereHelpernull_String }{ ID: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UserID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, Username: whereHelpernull_String{/* contains filtered or unexported fields */}, }
Functions ¶
func GuildLoggingConfigExists ¶
func GuildLoggingConfigExists(ctx context.Context, exec boil.ContextExecutor, guildID int64) (bool, error)
GuildLoggingConfigExists checks if the GuildLoggingConfig row exists.
func GuildLoggingConfigExistsG ¶
GuildLoggingConfigExistsG checks if the GuildLoggingConfig row exists.
func GuildLoggingConfigs ¶
GuildLoggingConfigs retrieves all the records using an executor.
func MessageLogs2Exists ¶ added in v1.19.13
func MessageLogs2Exists(ctx context.Context, exec boil.ContextExecutor, guildID int64, iD int) (bool, error)
MessageLogs2Exists checks if the MessageLogs2 row exists.
func MessageLogs2ExistsG ¶ added in v1.19.13
MessageLogs2ExistsG checks if the MessageLogs2 row exists.
func MessageLogs2s ¶ added in v1.19.13
MessageLogs2s retrieves all the records using an executor.
func Messages2Exists ¶ added in v1.19.13
Messages2Exists checks if the Messages2 row exists.
func Messages2ExistsG ¶ added in v1.19.13
Messages2ExistsG checks if the Messages2 row exists.
func Messages2s ¶ added in v1.19.13
Messages2s retrieves all the records using an executor.
func NicknameListingExists ¶
NicknameListingExists checks if the NicknameListing row exists.
func NicknameListingExistsG ¶
NicknameListingExistsG checks if the NicknameListing row exists.
func NicknameListings ¶
NicknameListings retrieves all the records using an executor.
func UsernameListingExists ¶
UsernameListingExists checks if the UsernameListing row exists.
func UsernameListingExistsG ¶
UsernameListingExistsG checks if the UsernameListing row exists.
func UsernameListings ¶
UsernameListings retrieves all the records using an executor.
Types ¶
type GuildLoggingConfig ¶
type GuildLoggingConfig struct { GuildID int64 `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` UsernameLoggingEnabled null.Bool `` /* 147-byte string literal not displayed */ NicknameLoggingEnabled null.Bool `` /* 147-byte string literal not displayed */ BlacklistedChannels null.String `` /* 131-byte string literal not displayed */ ManageMessagesCanViewDeleted null.Bool `` /* 179-byte string literal not displayed */ EveryoneCanViewDeleted null.Bool `` /* 151-byte string literal not displayed */ MessageLogsAllowedRoles types.Int64Array `` /* 155-byte string literal not displayed */ AccessMode int16 `boil:"access_mode" json:"access_mode" toml:"access_mode" yaml:"access_mode"` R *guildLoggingConfigR `boil:"-" json:"-" toml:"-" yaml:"-"` L guildLoggingConfigL `boil:"-" json:"-" toml:"-" yaml:"-"` }
GuildLoggingConfig is an object representing the database table.
func FindGuildLoggingConfig ¶
func FindGuildLoggingConfig(ctx context.Context, exec boil.ContextExecutor, guildID int64, selectCols ...string) (*GuildLoggingConfig, error)
FindGuildLoggingConfig retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindGuildLoggingConfigG ¶
func FindGuildLoggingConfigG(ctx context.Context, guildID int64, selectCols ...string) (*GuildLoggingConfig, error)
FindGuildLoggingConfigG retrieves a single record by ID.
func (*GuildLoggingConfig) Delete ¶
func (o *GuildLoggingConfig) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GuildLoggingConfig record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GuildLoggingConfig) DeleteG ¶
func (o *GuildLoggingConfig) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single GuildLoggingConfig record. DeleteG will match against the primary key column to find the record to delete.
func (*GuildLoggingConfig) Insert ¶
func (o *GuildLoggingConfig) 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 (*GuildLoggingConfig) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*GuildLoggingConfig) Reload ¶
func (o *GuildLoggingConfig) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GuildLoggingConfig) ReloadG ¶
func (o *GuildLoggingConfig) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*GuildLoggingConfig) Update ¶
func (o *GuildLoggingConfig) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GuildLoggingConfig. 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 (*GuildLoggingConfig) UpdateG ¶
UpdateG a single GuildLoggingConfig record using the global executor. See Update for more documentation.
func (*GuildLoggingConfig) Upsert ¶
func (o *GuildLoggingConfig) 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 GuildLoggingConfigSlice ¶
type GuildLoggingConfigSlice []*GuildLoggingConfig
GuildLoggingConfigSlice is an alias for a slice of pointers to GuildLoggingConfig. This should generally be used opposed to []GuildLoggingConfig.
func (GuildLoggingConfigSlice) DeleteAll ¶
func (o GuildLoggingConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (GuildLoggingConfigSlice) DeleteAllG ¶
func (o GuildLoggingConfigSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*GuildLoggingConfigSlice) ReloadAll ¶
func (o *GuildLoggingConfigSlice) 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 (*GuildLoggingConfigSlice) ReloadAllG ¶
func (o *GuildLoggingConfigSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GuildLoggingConfigSlice) UpdateAll ¶
func (o GuildLoggingConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (GuildLoggingConfigSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type MessageLogs2 ¶ added in v1.19.13
type MessageLogs2 struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID int64 `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` LegacyID int `boil:"legacy_id" json:"legacy_id" toml:"legacy_id" yaml:"legacy_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"` ChannelName string `boil:"channel_name" json:"channel_name" toml:"channel_name" yaml:"channel_name"` ChannelID int64 `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_id"` AuthorID int64 `boil:"author_id" json:"author_id" toml:"author_id" yaml:"author_id"` AuthorUsername string `boil:"author_username" json:"author_username" toml:"author_username" yaml:"author_username"` Messages types.Int64Array `boil:"messages" json:"messages,omitempty" toml:"messages" yaml:"messages,omitempty"` R *messageLogs2R `boil:"-" json:"-" toml:"-" yaml:"-"` L messageLogs2L `boil:"-" json:"-" toml:"-" yaml:"-"` }
MessageLogs2 is an object representing the database table.
func FindMessageLogs2 ¶ added in v1.19.13
func FindMessageLogs2(ctx context.Context, exec boil.ContextExecutor, guildID int64, iD int, selectCols ...string) (*MessageLogs2, error)
FindMessageLogs2 retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindMessageLogs2G ¶ added in v1.19.13
func FindMessageLogs2G(ctx context.Context, guildID int64, iD int, selectCols ...string) (*MessageLogs2, error)
FindMessageLogs2G retrieves a single record by ID.
func (*MessageLogs2) Delete ¶ added in v1.19.13
func (o *MessageLogs2) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MessageLogs2 record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MessageLogs2) DeleteG ¶ added in v1.19.13
func (o *MessageLogs2) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single MessageLogs2 record. DeleteG will match against the primary key column to find the record to delete.
func (*MessageLogs2) Insert ¶ added in v1.19.13
func (o *MessageLogs2) 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 (*MessageLogs2) InsertG ¶ added in v1.19.13
InsertG a single record. See Insert for whitelist behavior description.
func (*MessageLogs2) Reload ¶ added in v1.19.13
func (o *MessageLogs2) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MessageLogs2) ReloadG ¶ added in v1.19.13
func (o *MessageLogs2) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*MessageLogs2) Update ¶ added in v1.19.13
func (o *MessageLogs2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MessageLogs2. 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 (*MessageLogs2) UpdateG ¶ added in v1.19.13
UpdateG a single MessageLogs2 record using the global executor. See Update for more documentation.
func (*MessageLogs2) Upsert ¶ added in v1.19.13
func (o *MessageLogs2) 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 MessageLogs2Slice ¶ added in v1.19.13
type MessageLogs2Slice []*MessageLogs2
MessageLogs2Slice is an alias for a slice of pointers to MessageLogs2. This should generally be used opposed to []MessageLogs2.
func (MessageLogs2Slice) DeleteAll ¶ added in v1.19.13
func (o MessageLogs2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (MessageLogs2Slice) DeleteAllG ¶ added in v1.19.13
func (o MessageLogs2Slice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*MessageLogs2Slice) ReloadAll ¶ added in v1.19.13
func (o *MessageLogs2Slice) 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 (*MessageLogs2Slice) ReloadAllG ¶ added in v1.19.13
func (o *MessageLogs2Slice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MessageLogs2Slice) UpdateAll ¶ added in v1.19.13
func (o MessageLogs2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (MessageLogs2Slice) UpdateAllG ¶ added in v1.19.13
UpdateAllG updates all rows with the specified column values.
type Messages2 ¶ added in v1.19.13
type Messages2 struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildID int64 `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"` Deleted bool `boil:"deleted" json:"deleted" toml:"deleted" yaml:"deleted"` AuthorUsername string `boil:"author_username" json:"author_username" toml:"author_username" yaml:"author_username"` AuthorID int64 `boil:"author_id" json:"author_id" toml:"author_id" yaml:"author_id"` Content string `boil:"content" json:"content" toml:"content" yaml:"content"` R *messages2R `boil:"-" json:"-" toml:"-" yaml:"-"` L messages2L `boil:"-" json:"-" toml:"-" yaml:"-"` }
Messages2 is an object representing the database table.
func FindMessages2 ¶ added in v1.19.13
func FindMessages2(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Messages2, error)
FindMessages2 retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindMessages2G ¶ added in v1.19.13
FindMessages2G retrieves a single record by ID.
func (*Messages2) Delete ¶ added in v1.19.13
Delete deletes a single Messages2 record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Messages2) DeleteG ¶ added in v1.19.13
DeleteG deletes a single Messages2 record. DeleteG will match against the primary key column to find the record to delete.
func (*Messages2) Insert ¶ added in v1.19.13
func (o *Messages2) 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 (*Messages2) InsertG ¶ added in v1.19.13
InsertG a single record. See Insert for whitelist behavior description.
func (*Messages2) Reload ¶ added in v1.19.13
Reload refetches the object from the database using the primary keys with an executor.
func (*Messages2) ReloadG ¶ added in v1.19.13
ReloadG refetches the object from the database using the primary keys.
func (*Messages2) Update ¶ added in v1.19.13
func (o *Messages2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Messages2. 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 (*Messages2) UpdateG ¶ added in v1.19.13
UpdateG a single Messages2 record using the global executor. See Update for more documentation.
func (*Messages2) Upsert ¶ added in v1.19.13
func (o *Messages2) 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 Messages2Slice ¶ added in v1.19.13
type Messages2Slice []*Messages2
Messages2Slice is an alias for a slice of pointers to Messages2. This should generally be used opposed to []Messages2.
func (Messages2Slice) DeleteAll ¶ added in v1.19.13
func (o Messages2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (Messages2Slice) DeleteAllG ¶ added in v1.19.13
func (o Messages2Slice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*Messages2Slice) ReloadAll ¶ added in v1.19.13
func (o *Messages2Slice) 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 (*Messages2Slice) ReloadAllG ¶ added in v1.19.13
func (o *Messages2Slice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (Messages2Slice) UpdateAll ¶ added in v1.19.13
func (o Messages2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (Messages2Slice) UpdateAllG ¶ added in v1.19.13
UpdateAllG updates all rows with the specified column values.
type NicknameListing ¶
type NicknameListing struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` GuildID null.String `boil:"guild_id" json:"guild_id,omitempty" toml:"guild_id" yaml:"guild_id,omitempty"` Nickname null.String `boil:"nickname" json:"nickname,omitempty" toml:"nickname" yaml:"nickname,omitempty"` R *nicknameListingR `boil:"-" json:"-" toml:"-" yaml:"-"` L nicknameListingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
NicknameListing is an object representing the database table.
func FindNicknameListing ¶
func FindNicknameListing(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*NicknameListing, error)
FindNicknameListing retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindNicknameListingG ¶
func FindNicknameListingG(ctx context.Context, iD int, selectCols ...string) (*NicknameListing, error)
FindNicknameListingG retrieves a single record by ID.
func (*NicknameListing) Delete ¶
func (o *NicknameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single NicknameListing record with an executor. Delete will match against the primary key column to find the record to delete.
func (*NicknameListing) DeleteG ¶
func (o *NicknameListing) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single NicknameListing record. DeleteG will match against the primary key column to find the record to delete.
func (*NicknameListing) Insert ¶
func (o *NicknameListing) 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 (*NicknameListing) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*NicknameListing) Reload ¶
func (o *NicknameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*NicknameListing) ReloadG ¶
func (o *NicknameListing) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*NicknameListing) Update ¶
func (o *NicknameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the NicknameListing. 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 (*NicknameListing) UpdateG ¶
UpdateG a single NicknameListing record using the global executor. See Update for more documentation.
func (*NicknameListing) Upsert ¶
func (o *NicknameListing) 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 NicknameListingSlice ¶
type NicknameListingSlice []*NicknameListing
NicknameListingSlice is an alias for a slice of pointers to NicknameListing. This should generally be used opposed to []NicknameListing.
func (NicknameListingSlice) DeleteAll ¶
func (o NicknameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (NicknameListingSlice) DeleteAllG ¶
func (o NicknameListingSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*NicknameListingSlice) ReloadAll ¶
func (o *NicknameListingSlice) 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 (*NicknameListingSlice) ReloadAllG ¶
func (o *NicknameListingSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (NicknameListingSlice) UpdateAll ¶
func (o NicknameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (NicknameListingSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type UsernameListing ¶
type UsernameListing struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` Username null.String `boil:"username" json:"username,omitempty" toml:"username" yaml:"username,omitempty"` R *usernameListingR `boil:"-" json:"-" toml:"-" yaml:"-"` L usernameListingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UsernameListing is an object representing the database table.
func FindUsernameListing ¶
func FindUsernameListing(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*UsernameListing, error)
FindUsernameListing retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUsernameListingG ¶
func FindUsernameListingG(ctx context.Context, iD int, selectCols ...string) (*UsernameListing, error)
FindUsernameListingG retrieves a single record by ID.
func (*UsernameListing) Delete ¶
func (o *UsernameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UsernameListing record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UsernameListing) DeleteG ¶
func (o *UsernameListing) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single UsernameListing record. DeleteG will match against the primary key column to find the record to delete.
func (*UsernameListing) Insert ¶
func (o *UsernameListing) 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 (*UsernameListing) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*UsernameListing) Reload ¶
func (o *UsernameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UsernameListing) ReloadG ¶
func (o *UsernameListing) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*UsernameListing) Update ¶
func (o *UsernameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UsernameListing. 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 (*UsernameListing) UpdateG ¶
UpdateG a single UsernameListing record using the global executor. See Update for more documentation.
func (*UsernameListing) Upsert ¶
func (o *UsernameListing) 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 UsernameListingSlice ¶
type UsernameListingSlice []*UsernameListing
UsernameListingSlice is an alias for a slice of pointers to UsernameListing. This should generally be used opposed to []UsernameListing.
func (UsernameListingSlice) DeleteAll ¶
func (o UsernameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UsernameListingSlice) DeleteAllG ¶
func (o UsernameListingSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*UsernameListingSlice) ReloadAll ¶
func (o *UsernameListingSlice) 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 (*UsernameListingSlice) ReloadAllG ¶
func (o *UsernameListingSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UsernameListingSlice) UpdateAll ¶
func (o UsernameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UsernameListingSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.