Documentation ¶
Index ¶
- Variables
- func CustomCommandExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func CustomCommands(mods ...qm.QueryMod) customCommandQuery
- func GuildExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Guilds(mods ...qm.QueryMod) guildQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PrefixExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Prefixes(mods ...qm.QueryMod) prefixQuery
- func PronounExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Pronouns(mods ...qm.QueryMod) pronounQuery
- type CustomCommand
- func (o *CustomCommand) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CustomCommand) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CustomCommand) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CustomCommand) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CustomCommand) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type CustomCommandSlice
- type Guild
- func (o *Guild) AddGuildSnowflakePrefixes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Guild) AddGuildSnowflakePronouns(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Guild) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Guild) GuildSnowflakePrefixes(mods ...qm.QueryMod) prefixQuery
- func (o *Guild) GuildSnowflakePronouns(mods ...qm.QueryMod) pronounQuery
- 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 M
- type Prefix
- func (o *Prefix) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Prefix) GuildSnowflakeGuild(mods ...qm.QueryMod) guildQuery
- func (o *Prefix) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Prefix) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Prefix) SetGuildSnowflakeGuild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Guild) error
- func (o *Prefix) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Prefix) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PrefixSlice
- type Pronoun
- func (o *Pronoun) Delete(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Pronoun) GuildSnowflakeGuild(mods ...qm.QueryMod) guildQuery
- func (o *Pronoun) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Pronoun) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Pronoun) SetGuildSnowflakeGuild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Guild) error
- func (o *Pronoun) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Pronoun) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PronounSlice
Constants ¶
This section is empty.
Variables ¶
var CustomCommandColumns = struct { ID string GuildSnowflake string Trigger string Body string CreatedAt string UpdatedAt string }{ ID: "id", GuildSnowflake: "guild_snowflake", Trigger: "trigger", Body: "body", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var CustomCommandRels = struct {
}{}
CustomCommandRels is where relationship names are stored.
var CustomCommandTableColumns = struct { ID string GuildSnowflake string Trigger string Body string CreatedAt string UpdatedAt string }{ ID: "custom_commands.id", GuildSnowflake: "custom_commands.guild_snowflake", Trigger: "custom_commands.trigger", Body: "custom_commands.body", CreatedAt: "custom_commands.created_at", UpdatedAt: "custom_commands.updated_at", }
var CustomCommandWhere = struct { ID whereHelperint64 GuildSnowflake whereHelperstring Trigger whereHelperstring Body whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildSnowflake: whereHelperstring{/* contains filtered or unexported fields */}, Trigger: whereHelperstring{/* contains filtered or unexported fields */}, Body: whereHelperstring{/* 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 GuildSnowflake string CreatedAt string UpdatedAt string EmbedTwitterVideos string }{ ID: "id", GuildSnowflake: "guild_snowflake", CreatedAt: "created_at", UpdatedAt: "updated_at", EmbedTwitterVideos: "embed_twitter_videos", }
var GuildRels = struct { GuildSnowflakePrefixes string GuildSnowflakePronouns string }{ GuildSnowflakePrefixes: "GuildSnowflakePrefixes", GuildSnowflakePronouns: "GuildSnowflakePronouns", }
GuildRels is where relationship names are stored.
var GuildTableColumns = struct { ID string GuildSnowflake string CreatedAt string UpdatedAt string EmbedTwitterVideos string }{ ID: "guilds.id", GuildSnowflake: "guilds.guild_snowflake", CreatedAt: "guilds.created_at", UpdatedAt: "guilds.updated_at", EmbedTwitterVideos: "guilds.embed_twitter_videos", }
var GuildWhere = struct { ID whereHelperint64 GuildSnowflake whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time EmbedTwitterVideos whereHelperbool }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildSnowflake: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, EmbedTwitterVideos: whereHelperbool{/* contains filtered or unexported fields */}, }
var PrefixColumns = struct { ID string GuildSnowflake string Prefix string CreatedAt string UpdatedAt string }{ ID: "id", GuildSnowflake: "guild_snowflake", Prefix: "prefix", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PrefixRels = struct { GuildSnowflakeGuild string }{ GuildSnowflakeGuild: "GuildSnowflakeGuild", }
PrefixRels is where relationship names are stored.
var PrefixTableColumns = struct { ID string GuildSnowflake string Prefix string CreatedAt string UpdatedAt string }{ ID: "prefixes.id", GuildSnowflake: "prefixes.guild_snowflake", Prefix: "prefixes.prefix", CreatedAt: "prefixes.created_at", UpdatedAt: "prefixes.updated_at", }
var PrefixWhere = struct { ID whereHelperint64 GuildSnowflake whereHelperstring Prefix whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildSnowflake: whereHelperstring{/* contains filtered or unexported fields */}, Prefix: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PronounColumns = struct { ID string GuildSnowflake string Pronoun string RoleSnowflake string CreatedAt string UpdatedAt string }{ ID: "id", GuildSnowflake: "guild_snowflake", Pronoun: "pronoun", RoleSnowflake: "role_snowflake", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PronounRels = struct { GuildSnowflakeGuild string }{ GuildSnowflakeGuild: "GuildSnowflakeGuild", }
PronounRels is where relationship names are stored.
var PronounTableColumns = struct { ID string GuildSnowflake string Pronoun string RoleSnowflake string CreatedAt string UpdatedAt string }{ ID: "pronouns.id", GuildSnowflake: "pronouns.guild_snowflake", Pronoun: "pronouns.pronoun", RoleSnowflake: "pronouns.role_snowflake", CreatedAt: "pronouns.created_at", UpdatedAt: "pronouns.updated_at", }
var PronounWhere = struct { ID whereHelperint64 GuildSnowflake whereHelperstring Pronoun whereHelperstring RoleSnowflake whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, GuildSnowflake: whereHelperstring{/* contains filtered or unexported fields */}, Pronoun: whereHelperstring{/* contains filtered or unexported fields */}, RoleSnowflake: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { CustomCommands string Guilds string Prefixes string Pronouns string }{ CustomCommands: "custom_commands", Guilds: "guilds", Prefixes: "prefixes", Pronouns: "pronouns", }
Functions ¶
func CustomCommandExists ¶
CustomCommandExists checks if the CustomCommand row exists.
func CustomCommands ¶
CustomCommands retrieves all the records using an executor.
func GuildExists ¶
GuildExists checks if the Guild row exists.
func PrefixExists ¶
PrefixExists checks if the Prefix row exists.
func PronounExists ¶
PronounExists checks if the Pronoun row exists.
Types ¶
type CustomCommand ¶
type CustomCommand struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildSnowflake string `boil:"guild_snowflake" json:"guild_snowflake" toml:"guild_snowflake" yaml:"guild_snowflake"` Trigger string `boil:"trigger" json:"trigger" toml:"trigger" yaml:"trigger"` Body string `boil:"body" json:"body" toml:"body" yaml:"body"` 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 *customCommandR `boil:"-" json:"-" toml:"-" yaml:"-"` L customCommandL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CustomCommand is an object representing the database table.
func FindCustomCommand ¶
func FindCustomCommand(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*CustomCommand, error)
FindCustomCommand retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CustomCommand) Delete ¶
func (o *CustomCommand) Delete(ctx context.Context, exec boil.ContextExecutor) error
Delete deletes a single CustomCommand record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CustomCommand) Insert ¶
func (o *CustomCommand) 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 (*CustomCommand) Reload ¶
func (o *CustomCommand) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CustomCommand) Update ¶
func (o *CustomCommand) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the CustomCommand. 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 (*CustomCommand) Upsert ¶
func (o *CustomCommand) 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 CustomCommandSlice ¶
type CustomCommandSlice []*CustomCommand
CustomCommandSlice is an alias for a slice of pointers to CustomCommand. This should almost always be used instead of []CustomCommand.
func (CustomCommandSlice) DeleteAll ¶
func (o CustomCommandSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*CustomCommandSlice) ReloadAll ¶
func (o *CustomCommandSlice) 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 (CustomCommandSlice) UpdateAll ¶
func (o CustomCommandSlice) 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"` GuildSnowflake string `boil:"guild_snowflake" json:"guild_snowflake" toml:"guild_snowflake" yaml:"guild_snowflake"` 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"` EmbedTwitterVideos bool `boil:"embed_twitter_videos" json:"embed_twitter_videos" toml:"embed_twitter_videos" yaml:"embed_twitter_videos"` 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) AddGuildSnowflakePrefixes ¶
func (o *Guild) AddGuildSnowflakePrefixes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Prefix) error
AddGuildSnowflakePrefixes adds the given related objects to the existing relationships of the guild, optionally inserting them as new records. Appends related to o.R.GuildSnowflakePrefixes. Sets related.R.GuildSnowflakeGuild appropriately.
func (*Guild) AddGuildSnowflakePronouns ¶
func (o *Guild) AddGuildSnowflakePronouns(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Pronoun) error
AddGuildSnowflakePronouns adds the given related objects to the existing relationships of the guild, optionally inserting them as new records. Appends related to o.R.GuildSnowflakePronouns. Sets related.R.GuildSnowflakeGuild appropriately.
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) GuildSnowflakePrefixes ¶
GuildSnowflakePrefixes retrieves all the prefix's Prefixes with an executor via guild_snowflake column.
func (*Guild) GuildSnowflakePronouns ¶
GuildSnowflakePronouns retrieves all the pronoun's Pronouns with an executor via guild_snowflake column.
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 M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Prefix ¶
type Prefix struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildSnowflake string `boil:"guild_snowflake" json:"guild_snowflake" toml:"guild_snowflake" yaml:"guild_snowflake"` Prefix string `boil:"prefix" json:"prefix" toml:"prefix" yaml:"prefix"` 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 *prefixR `boil:"-" json:"-" toml:"-" yaml:"-"` L prefixL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Prefix is an object representing the database table.
func FindPrefix ¶
func FindPrefix(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Prefix, error)
FindPrefix retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Prefix) Delete ¶
Delete deletes a single Prefix record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Prefix) GuildSnowflakeGuild ¶
GuildSnowflakeGuild pointed to by the foreign key.
func (*Prefix) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Prefix) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Prefix) SetGuildSnowflakeGuild ¶
func (o *Prefix) SetGuildSnowflakeGuild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Guild) error
SetGuildSnowflakeGuild of the prefix to the related item. Sets o.R.GuildSnowflakeGuild to related. Adds o to related.R.GuildSnowflakePrefixes.
func (*Prefix) Update ¶
Update uses an executor to update the Prefix. 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 (*Prefix) Upsert ¶
func (o *Prefix) 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 PrefixSlice ¶
type PrefixSlice []*Prefix
PrefixSlice is an alias for a slice of pointers to Prefix. This should almost always be used instead of []Prefix.
func (PrefixSlice) DeleteAll ¶
func (o PrefixSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*PrefixSlice) ReloadAll ¶
func (o *PrefixSlice) 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 (PrefixSlice) UpdateAll ¶
func (o PrefixSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
type Pronoun ¶
type Pronoun struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` GuildSnowflake string `boil:"guild_snowflake" json:"guild_snowflake" toml:"guild_snowflake" yaml:"guild_snowflake"` Pronoun string `boil:"pronoun" json:"pronoun" toml:"pronoun" yaml:"pronoun"` RoleSnowflake string `boil:"role_snowflake" json:"role_snowflake" toml:"role_snowflake" yaml:"role_snowflake"` 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 *pronounR `boil:"-" json:"-" toml:"-" yaml:"-"` L pronounL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Pronoun is an object representing the database table.
func FindPronoun ¶
func FindPronoun(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Pronoun, error)
FindPronoun retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Pronoun) Delete ¶
Delete deletes a single Pronoun record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Pronoun) GuildSnowflakeGuild ¶
GuildSnowflakeGuild pointed to by the foreign key.
func (*Pronoun) Insert ¶
func (o *Pronoun) 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 (*Pronoun) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Pronoun) SetGuildSnowflakeGuild ¶
func (o *Pronoun) SetGuildSnowflakeGuild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Guild) error
SetGuildSnowflakeGuild of the pronoun to the related item. Sets o.R.GuildSnowflakeGuild to related. Adds o to related.R.GuildSnowflakePronouns.
func (*Pronoun) Update ¶
func (o *Pronoun) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Update uses an executor to update the Pronoun. 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 (*Pronoun) Upsert ¶
func (o *Pronoun) 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 PronounSlice ¶
type PronounSlice []*Pronoun
PronounSlice is an alias for a slice of pointers to Pronoun. This should almost always be used instead of []Pronoun.
func (PronounSlice) DeleteAll ¶
func (o PronounSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) error
DeleteAll deletes all rows in the slice, using an executor.
func (*PronounSlice) ReloadAll ¶
func (o *PronounSlice) 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 (PronounSlice) UpdateAll ¶
func (o PronounSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.