Documentation ¶
Index ¶
- Variables
- func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query
- func NewQueryG(mods ...qm.QueryMod) *queries.Query
- func RoleCommandExists(exec boil.Executor, id int64) (bool, error)
- func RoleCommandExistsG(id int64) (bool, error)
- func RoleCommandExistsGP(id int64) bool
- func RoleCommandExistsP(exec boil.Executor, id int64) bool
- func RoleCommands(exec boil.Executor, mods ...qm.QueryMod) roleCommandQuery
- func RoleCommandsG(mods ...qm.QueryMod) roleCommandQuery
- func RoleGroupExists(exec boil.Executor, id int64) (bool, error)
- func RoleGroupExistsG(id int64) (bool, error)
- func RoleGroupExistsGP(id int64) bool
- func RoleGroupExistsP(exec boil.Executor, id int64) bool
- func RoleGroups(exec boil.Executor, mods ...qm.QueryMod) roleGroupQuery
- func RoleGroupsG(mods ...qm.QueryMod) roleGroupQuery
- func RoleMenuExists(exec boil.Executor, messageID int64) (bool, error)
- func RoleMenuExistsG(messageID int64) (bool, error)
- func RoleMenuExistsGP(messageID int64) bool
- func RoleMenuExistsP(exec boil.Executor, messageID int64) bool
- func RoleMenuOptionExists(exec boil.Executor, id int64) (bool, error)
- func RoleMenuOptionExistsG(id int64) (bool, error)
- func RoleMenuOptionExistsGP(id int64) bool
- func RoleMenuOptionExistsP(exec boil.Executor, id int64) bool
- func RoleMenuOptions(exec boil.Executor, mods ...qm.QueryMod) roleMenuOptionQuery
- func RoleMenuOptionsG(mods ...qm.QueryMod) roleMenuOptionQuery
- func RoleMenus(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
- func RoleMenusG(mods ...qm.QueryMod) roleMenuQuery
- type M
- type RoleCommand
- func FindRoleCommand(exec boil.Executor, id int64, selectCols ...string) (*RoleCommand, error)
- func FindRoleCommandG(id int64, selectCols ...string) (*RoleCommand, error)
- func FindRoleCommandGP(id int64, selectCols ...string) *RoleCommand
- func FindRoleCommandP(exec boil.Executor, id int64, selectCols ...string) *RoleCommand
- func (o *RoleCommand) AddNextRoleCommandRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
- func (o *RoleCommand) AddNextRoleCommandRoleMenusG(insert bool, related ...*RoleMenu) error
- func (o *RoleCommand) AddNextRoleCommandRoleMenusGP(insert bool, related ...*RoleMenu)
- func (o *RoleCommand) AddNextRoleCommandRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
- func (o *RoleCommand) AddRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
- func (o *RoleCommand) AddRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
- func (o *RoleCommand) AddRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
- func (o *RoleCommand) AddRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
- func (o *RoleCommand) Delete(exec boil.Executor) error
- func (o *RoleCommand) DeleteG() error
- func (o *RoleCommand) DeleteGP()
- func (o *RoleCommand) DeleteP(exec boil.Executor)
- func (o *RoleCommand) Insert(exec boil.Executor, whitelist ...string) error
- func (o *RoleCommand) InsertG(whitelist ...string) error
- func (o *RoleCommand) InsertGP(whitelist ...string)
- func (o *RoleCommand) InsertP(exec boil.Executor, whitelist ...string)
- func (o *RoleCommand) NextRoleCommandRoleMenus(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleCommand) NextRoleCommandRoleMenusG(mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleCommand) Reload(exec boil.Executor) error
- func (o *RoleCommand) ReloadG() error
- func (o *RoleCommand) ReloadGP()
- func (o *RoleCommand) ReloadP(exec boil.Executor)
- func (o *RoleCommand) RemoveNextRoleCommandRoleMenus(exec boil.Executor, related ...*RoleMenu) error
- func (o *RoleCommand) RemoveNextRoleCommandRoleMenusG(related ...*RoleMenu) error
- func (o *RoleCommand) RemoveNextRoleCommandRoleMenusGP(related ...*RoleMenu)
- func (o *RoleCommand) RemoveNextRoleCommandRoleMenusP(exec boil.Executor, related ...*RoleMenu)
- func (o *RoleCommand) RemoveRoleGroup(exec boil.Executor, related *RoleGroup) error
- func (o *RoleCommand) RemoveRoleGroupG(related *RoleGroup) error
- func (o *RoleCommand) RemoveRoleGroupGP(related *RoleGroup)
- func (o *RoleCommand) RemoveRoleGroupP(exec boil.Executor, related *RoleGroup)
- func (o *RoleCommand) RemoveRoleMenuOptions(exec boil.Executor, related ...*RoleMenuOption) error
- func (o *RoleCommand) RemoveRoleMenuOptionsG(related ...*RoleMenuOption) error
- func (o *RoleCommand) RemoveRoleMenuOptionsGP(related ...*RoleMenuOption)
- func (o *RoleCommand) RemoveRoleMenuOptionsP(exec boil.Executor, related ...*RoleMenuOption)
- func (o *RoleCommand) RoleGroup(exec boil.Executor, mods ...qm.QueryMod) roleGroupQuery
- func (o *RoleCommand) RoleGroupG(mods ...qm.QueryMod) roleGroupQuery
- func (o *RoleCommand) RoleMenuOptions(exec boil.Executor, mods ...qm.QueryMod) roleMenuOptionQuery
- func (o *RoleCommand) RoleMenuOptionsG(mods ...qm.QueryMod) roleMenuOptionQuery
- func (o *RoleCommand) SetNextRoleCommandRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
- func (o *RoleCommand) SetNextRoleCommandRoleMenusG(insert bool, related ...*RoleMenu) error
- func (o *RoleCommand) SetNextRoleCommandRoleMenusGP(insert bool, related ...*RoleMenu)
- func (o *RoleCommand) SetNextRoleCommandRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
- func (o *RoleCommand) SetRoleGroup(exec boil.Executor, insert bool, related *RoleGroup) error
- func (o *RoleCommand) SetRoleGroupG(insert bool, related *RoleGroup) error
- func (o *RoleCommand) SetRoleGroupGP(insert bool, related *RoleGroup)
- func (o *RoleCommand) SetRoleGroupP(exec boil.Executor, insert bool, related *RoleGroup)
- func (o *RoleCommand) SetRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
- func (o *RoleCommand) SetRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
- func (o *RoleCommand) SetRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
- func (o *RoleCommand) SetRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
- func (o *RoleCommand) Update(exec boil.Executor, whitelist ...string) error
- func (o *RoleCommand) UpdateG(whitelist ...string) error
- func (o *RoleCommand) UpdateGP(whitelist ...string)
- func (o *RoleCommand) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *RoleCommand) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *RoleCommand) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *RoleCommand) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *RoleCommand) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type RoleCommandSlice
- func (o RoleCommandSlice) DeleteAll(exec boil.Executor) error
- func (o RoleCommandSlice) DeleteAllG() error
- func (o RoleCommandSlice) DeleteAllGP()
- func (o RoleCommandSlice) DeleteAllP(exec boil.Executor)
- func (o *RoleCommandSlice) ReloadAll(exec boil.Executor) error
- func (o *RoleCommandSlice) ReloadAllG() error
- func (o *RoleCommandSlice) ReloadAllGP()
- func (o *RoleCommandSlice) ReloadAllP(exec boil.Executor)
- func (o RoleCommandSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o RoleCommandSlice) UpdateAllG(cols M) error
- func (o RoleCommandSlice) UpdateAllGP(cols M)
- func (o RoleCommandSlice) UpdateAllP(exec boil.Executor, cols M)
- type RoleGroup
- func FindRoleGroup(exec boil.Executor, id int64, selectCols ...string) (*RoleGroup, error)
- func FindRoleGroupG(id int64, selectCols ...string) (*RoleGroup, error)
- func FindRoleGroupGP(id int64, selectCols ...string) *RoleGroup
- func FindRoleGroupP(exec boil.Executor, id int64, selectCols ...string) *RoleGroup
- func (o *RoleGroup) AddRoleCommands(exec boil.Executor, insert bool, related ...*RoleCommand) error
- func (o *RoleGroup) AddRoleCommandsG(insert bool, related ...*RoleCommand) error
- func (o *RoleGroup) AddRoleCommandsGP(insert bool, related ...*RoleCommand)
- func (o *RoleGroup) AddRoleCommandsP(exec boil.Executor, insert bool, related ...*RoleCommand)
- func (o *RoleGroup) AddRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
- func (o *RoleGroup) AddRoleMenusG(insert bool, related ...*RoleMenu) error
- func (o *RoleGroup) AddRoleMenusGP(insert bool, related ...*RoleMenu)
- func (o *RoleGroup) AddRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
- func (o *RoleGroup) Delete(exec boil.Executor) error
- func (o *RoleGroup) DeleteG() error
- func (o *RoleGroup) DeleteGP()
- func (o *RoleGroup) DeleteP(exec boil.Executor)
- func (o *RoleGroup) Insert(exec boil.Executor, whitelist ...string) error
- func (o *RoleGroup) InsertG(whitelist ...string) error
- func (o *RoleGroup) InsertGP(whitelist ...string)
- func (o *RoleGroup) InsertP(exec boil.Executor, whitelist ...string)
- func (o *RoleGroup) Reload(exec boil.Executor) error
- func (o *RoleGroup) ReloadG() error
- func (o *RoleGroup) ReloadGP()
- func (o *RoleGroup) ReloadP(exec boil.Executor)
- func (o *RoleGroup) RemoveRoleCommands(exec boil.Executor, related ...*RoleCommand) error
- func (o *RoleGroup) RemoveRoleCommandsG(related ...*RoleCommand) error
- func (o *RoleGroup) RemoveRoleCommandsGP(related ...*RoleCommand)
- func (o *RoleGroup) RemoveRoleCommandsP(exec boil.Executor, related ...*RoleCommand)
- func (o *RoleGroup) RemoveRoleMenus(exec boil.Executor, related ...*RoleMenu) error
- func (o *RoleGroup) RemoveRoleMenusG(related ...*RoleMenu) error
- func (o *RoleGroup) RemoveRoleMenusGP(related ...*RoleMenu)
- func (o *RoleGroup) RemoveRoleMenusP(exec boil.Executor, related ...*RoleMenu)
- func (o *RoleGroup) RoleCommands(exec boil.Executor, mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleGroup) RoleCommandsG(mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleGroup) RoleMenus(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleGroup) RoleMenusG(mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleGroup) SetRoleCommands(exec boil.Executor, insert bool, related ...*RoleCommand) error
- func (o *RoleGroup) SetRoleCommandsG(insert bool, related ...*RoleCommand) error
- func (o *RoleGroup) SetRoleCommandsGP(insert bool, related ...*RoleCommand)
- func (o *RoleGroup) SetRoleCommandsP(exec boil.Executor, insert bool, related ...*RoleCommand)
- func (o *RoleGroup) SetRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
- func (o *RoleGroup) SetRoleMenusG(insert bool, related ...*RoleMenu) error
- func (o *RoleGroup) SetRoleMenusGP(insert bool, related ...*RoleMenu)
- func (o *RoleGroup) SetRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
- func (o *RoleGroup) Update(exec boil.Executor, whitelist ...string) error
- func (o *RoleGroup) UpdateG(whitelist ...string) error
- func (o *RoleGroup) UpdateGP(whitelist ...string)
- func (o *RoleGroup) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *RoleGroup) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *RoleGroup) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *RoleGroup) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *RoleGroup) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type RoleGroupSlice
- func (o RoleGroupSlice) DeleteAll(exec boil.Executor) error
- func (o RoleGroupSlice) DeleteAllG() error
- func (o RoleGroupSlice) DeleteAllGP()
- func (o RoleGroupSlice) DeleteAllP(exec boil.Executor)
- func (o *RoleGroupSlice) ReloadAll(exec boil.Executor) error
- func (o *RoleGroupSlice) ReloadAllG() error
- func (o *RoleGroupSlice) ReloadAllGP()
- func (o *RoleGroupSlice) ReloadAllP(exec boil.Executor)
- func (o RoleGroupSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o RoleGroupSlice) UpdateAllG(cols M) error
- func (o RoleGroupSlice) UpdateAllGP(cols M)
- func (o RoleGroupSlice) UpdateAllP(exec boil.Executor, cols M)
- type RoleMenu
- func FindRoleMenu(exec boil.Executor, messageID int64, selectCols ...string) (*RoleMenu, error)
- func FindRoleMenuG(messageID int64, selectCols ...string) (*RoleMenu, error)
- func FindRoleMenuGP(messageID int64, selectCols ...string) *RoleMenu
- func FindRoleMenuP(exec boil.Executor, messageID int64, selectCols ...string) *RoleMenu
- func (o *RoleMenu) AddRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
- func (o *RoleMenu) AddRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
- func (o *RoleMenu) AddRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
- func (o *RoleMenu) AddRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
- func (o *RoleMenu) Delete(exec boil.Executor) error
- func (o *RoleMenu) DeleteG() error
- func (o *RoleMenu) DeleteGP()
- func (o *RoleMenu) DeleteP(exec boil.Executor)
- func (o *RoleMenu) Insert(exec boil.Executor, whitelist ...string) error
- func (o *RoleMenu) InsertG(whitelist ...string) error
- func (o *RoleMenu) InsertGP(whitelist ...string)
- func (o *RoleMenu) InsertP(exec boil.Executor, whitelist ...string)
- func (o *RoleMenu) NextRoleCommand(exec boil.Executor, mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleMenu) NextRoleCommandG(mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleMenu) Reload(exec boil.Executor) error
- func (o *RoleMenu) ReloadG() error
- func (o *RoleMenu) ReloadGP()
- func (o *RoleMenu) ReloadP(exec boil.Executor)
- func (o *RoleMenu) RemoveNextRoleCommand(exec boil.Executor, related *RoleCommand) error
- func (o *RoleMenu) RemoveNextRoleCommandG(related *RoleCommand) error
- func (o *RoleMenu) RemoveNextRoleCommandGP(related *RoleCommand)
- func (o *RoleMenu) RemoveNextRoleCommandP(exec boil.Executor, related *RoleCommand)
- func (o *RoleMenu) RemoveRoleGroup(exec boil.Executor, related *RoleGroup) error
- func (o *RoleMenu) RemoveRoleGroupG(related *RoleGroup) error
- func (o *RoleMenu) RemoveRoleGroupGP(related *RoleGroup)
- func (o *RoleMenu) RemoveRoleGroupP(exec boil.Executor, related *RoleGroup)
- func (o *RoleMenu) RoleGroup(exec boil.Executor, mods ...qm.QueryMod) roleGroupQuery
- func (o *RoleMenu) RoleGroupG(mods ...qm.QueryMod) roleGroupQuery
- func (o *RoleMenu) RoleMenuOptions(exec boil.Executor, mods ...qm.QueryMod) roleMenuOptionQuery
- func (o *RoleMenu) RoleMenuOptionsG(mods ...qm.QueryMod) roleMenuOptionQuery
- func (o *RoleMenu) SetNextRoleCommand(exec boil.Executor, insert bool, related *RoleCommand) error
- func (o *RoleMenu) SetNextRoleCommandG(insert bool, related *RoleCommand) error
- func (o *RoleMenu) SetNextRoleCommandGP(insert bool, related *RoleCommand)
- func (o *RoleMenu) SetNextRoleCommandP(exec boil.Executor, insert bool, related *RoleCommand)
- func (o *RoleMenu) SetRoleGroup(exec boil.Executor, insert bool, related *RoleGroup) error
- func (o *RoleMenu) SetRoleGroupG(insert bool, related *RoleGroup) error
- func (o *RoleMenu) SetRoleGroupGP(insert bool, related *RoleGroup)
- func (o *RoleMenu) SetRoleGroupP(exec boil.Executor, insert bool, related *RoleGroup)
- func (o *RoleMenu) Update(exec boil.Executor, whitelist ...string) error
- func (o *RoleMenu) UpdateG(whitelist ...string) error
- func (o *RoleMenu) UpdateGP(whitelist ...string)
- func (o *RoleMenu) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *RoleMenu) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *RoleMenu) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *RoleMenu) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *RoleMenu) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type RoleMenuOption
- func FindRoleMenuOption(exec boil.Executor, id int64, selectCols ...string) (*RoleMenuOption, error)
- func FindRoleMenuOptionG(id int64, selectCols ...string) (*RoleMenuOption, error)
- func FindRoleMenuOptionGP(id int64, selectCols ...string) *RoleMenuOption
- func FindRoleMenuOptionP(exec boil.Executor, id int64, selectCols ...string) *RoleMenuOption
- func (o *RoleMenuOption) Delete(exec boil.Executor) error
- func (o *RoleMenuOption) DeleteG() error
- func (o *RoleMenuOption) DeleteGP()
- func (o *RoleMenuOption) DeleteP(exec boil.Executor)
- func (o *RoleMenuOption) Insert(exec boil.Executor, whitelist ...string) error
- func (o *RoleMenuOption) InsertG(whitelist ...string) error
- func (o *RoleMenuOption) InsertGP(whitelist ...string)
- func (o *RoleMenuOption) InsertP(exec boil.Executor, whitelist ...string)
- func (o *RoleMenuOption) Reload(exec boil.Executor) error
- func (o *RoleMenuOption) ReloadG() error
- func (o *RoleMenuOption) ReloadGP()
- func (o *RoleMenuOption) ReloadP(exec boil.Executor)
- func (o *RoleMenuOption) RemoveRoleCommand(exec boil.Executor, related *RoleCommand) error
- func (o *RoleMenuOption) RemoveRoleCommandG(related *RoleCommand) error
- func (o *RoleMenuOption) RemoveRoleCommandGP(related *RoleCommand)
- func (o *RoleMenuOption) RemoveRoleCommandP(exec boil.Executor, related *RoleCommand)
- func (o *RoleMenuOption) RoleCommand(exec boil.Executor, mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleMenuOption) RoleCommandG(mods ...qm.QueryMod) roleCommandQuery
- func (o *RoleMenuOption) RoleMenu(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleMenuOption) RoleMenuG(mods ...qm.QueryMod) roleMenuQuery
- func (o *RoleMenuOption) SetRoleCommand(exec boil.Executor, insert bool, related *RoleCommand) error
- func (o *RoleMenuOption) SetRoleCommandG(insert bool, related *RoleCommand) error
- func (o *RoleMenuOption) SetRoleCommandGP(insert bool, related *RoleCommand)
- func (o *RoleMenuOption) SetRoleCommandP(exec boil.Executor, insert bool, related *RoleCommand)
- func (o *RoleMenuOption) SetRoleMenu(exec boil.Executor, insert bool, related *RoleMenu) error
- func (o *RoleMenuOption) SetRoleMenuG(insert bool, related *RoleMenu) error
- func (o *RoleMenuOption) SetRoleMenuGP(insert bool, related *RoleMenu)
- func (o *RoleMenuOption) SetRoleMenuP(exec boil.Executor, insert bool, related *RoleMenu)
- func (o *RoleMenuOption) Update(exec boil.Executor, whitelist ...string) error
- func (o *RoleMenuOption) UpdateG(whitelist ...string) error
- func (o *RoleMenuOption) UpdateGP(whitelist ...string)
- func (o *RoleMenuOption) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *RoleMenuOption) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *RoleMenuOption) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *RoleMenuOption) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *RoleMenuOption) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type RoleMenuOptionSlice
- func (o RoleMenuOptionSlice) DeleteAll(exec boil.Executor) error
- func (o RoleMenuOptionSlice) DeleteAllG() error
- func (o RoleMenuOptionSlice) DeleteAllGP()
- func (o RoleMenuOptionSlice) DeleteAllP(exec boil.Executor)
- func (o *RoleMenuOptionSlice) ReloadAll(exec boil.Executor) error
- func (o *RoleMenuOptionSlice) ReloadAllG() error
- func (o *RoleMenuOptionSlice) ReloadAllGP()
- func (o *RoleMenuOptionSlice) ReloadAllP(exec boil.Executor)
- func (o RoleMenuOptionSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o RoleMenuOptionSlice) UpdateAllG(cols M) error
- func (o RoleMenuOptionSlice) UpdateAllGP(cols M)
- func (o RoleMenuOptionSlice) UpdateAllP(exec boil.Executor, cols M)
- type RoleMenuSlice
- func (o RoleMenuSlice) DeleteAll(exec boil.Executor) error
- func (o RoleMenuSlice) DeleteAllG() error
- func (o RoleMenuSlice) DeleteAllGP()
- func (o RoleMenuSlice) DeleteAllP(exec boil.Executor)
- func (o *RoleMenuSlice) ReloadAll(exec boil.Executor) error
- func (o *RoleMenuSlice) ReloadAllG() error
- func (o *RoleMenuSlice) ReloadAllGP()
- func (o *RoleMenuSlice) ReloadAllP(exec boil.Executor)
- func (o RoleMenuSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o RoleMenuSlice) UpdateAllG(cols M) error
- func (o RoleMenuSlice) UpdateAllGP(cols M)
- func (o RoleMenuSlice) UpdateAllP(exec boil.Executor, cols M)
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 RoleCommandColumns = struct { ID string CreatedAt string UpdatedAt string GuildID string Name string RoleGroupID string Role string RequireRoles string IgnoreRoles string Position string }{ ID: "id", CreatedAt: "created_at", UpdatedAt: "updated_at", GuildID: "guild_id", Name: "name", RoleGroupID: "role_group_id", Role: "role", RequireRoles: "require_roles", IgnoreRoles: "ignore_roles", Position: "position", }
var RoleGroupColumns = struct { ID string GuildID string Name string RequireRoles string IgnoreRoles string Mode string MultipleMax string MultipleMin string SingleAutoToggleOff string SingleRequireOne string }{ ID: "id", GuildID: "guild_id", Name: "name", RequireRoles: "require_roles", IgnoreRoles: "ignore_roles", Mode: "mode", MultipleMax: "multiple_max", MultipleMin: "multiple_min", SingleAutoToggleOff: "single_auto_toggle_off", SingleRequireOne: "single_require_one", }
var RoleMenuColumns = struct { MessageID string GuildID string ChannelID string OwnerID string OwnMessage string State string NextRoleCommandID string RoleGroupID string DisableSendDM string RemoveRoleOnReactionRemove string }{ MessageID: "message_id", GuildID: "guild_id", ChannelID: "channel_id", OwnerID: "owner_id", OwnMessage: "own_message", State: "state", NextRoleCommandID: "next_role_command_id", RoleGroupID: "role_group_id", DisableSendDM: "disable_send_dm", RemoveRoleOnReactionRemove: "remove_role_on_reaction_remove", }
var RoleMenuOptionColumns = struct { ID string RoleCommandID string EmojiID string UnicodeEmoji string RoleMenuID string }{ ID: "id", RoleCommandID: "role_command_id", EmojiID: "emoji_id", UnicodeEmoji: "unicode_emoji", RoleMenuID: "role_menu_id", }
var TableNames = struct { RoleCommands string RoleGroups string RoleMenuOptions string RoleMenus string }{ RoleCommands: "role_commands", RoleGroups: "role_groups", RoleMenuOptions: "role_menu_options", RoleMenus: "role_menus", }
Functions ¶
func RoleCommandExists ¶
RoleCommandExists checks if the RoleCommand row exists.
func RoleCommandExistsG ¶
RoleCommandExistsG checks if the RoleCommand row exists.
func RoleCommandExistsGP ¶
RoleCommandExistsGP checks if the RoleCommand row exists. Panics on error.
func RoleCommandExistsP ¶
RoleCommandExistsP checks if the RoleCommand row exists. Panics on error.
func RoleCommands ¶
RoleCommands retrieves all the records using an executor.
func RoleCommandsG ¶
RoleCommandsG retrieves all records.
func RoleGroupExists ¶
RoleGroupExists checks if the RoleGroup row exists.
func RoleGroupExistsG ¶
RoleGroupExistsG checks if the RoleGroup row exists.
func RoleGroupExistsGP ¶
RoleGroupExistsGP checks if the RoleGroup row exists. Panics on error.
func RoleGroupExistsP ¶
RoleGroupExistsP checks if the RoleGroup row exists. Panics on error.
func RoleGroups ¶
RoleGroups retrieves all the records using an executor.
func RoleGroupsG ¶
RoleGroupsG retrieves all records.
func RoleMenuExists ¶
RoleMenuExists checks if the RoleMenu row exists.
func RoleMenuExistsG ¶
RoleMenuExistsG checks if the RoleMenu row exists.
func RoleMenuExistsGP ¶
RoleMenuExistsGP checks if the RoleMenu row exists. Panics on error.
func RoleMenuExistsP ¶
RoleMenuExistsP checks if the RoleMenu row exists. Panics on error.
func RoleMenuOptionExists ¶
RoleMenuOptionExists checks if the RoleMenuOption row exists.
func RoleMenuOptionExistsG ¶
RoleMenuOptionExistsG checks if the RoleMenuOption row exists.
func RoleMenuOptionExistsGP ¶
RoleMenuOptionExistsGP checks if the RoleMenuOption row exists. Panics on error.
func RoleMenuOptionExistsP ¶
RoleMenuOptionExistsP checks if the RoleMenuOption row exists. Panics on error.
func RoleMenuOptions ¶
RoleMenuOptions retrieves all the records using an executor.
func RoleMenuOptionsG ¶
RoleMenuOptionsG retrieves all records.
func RoleMenusG ¶
RoleMenusG retrieves all records.
Types ¶
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type RoleCommand ¶
type RoleCommand struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"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"` GuildID int64 `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` RoleGroupID null.Int64 `boil:"role_group_id" json:"role_group_id,omitempty" toml:"role_group_id" yaml:"role_group_id,omitempty"` Role int64 `boil:"role" json:"role" toml:"role" yaml:"role"` RequireRoles types.Int64Array `boil:"require_roles" json:"require_roles,omitempty" toml:"require_roles" yaml:"require_roles,omitempty"` IgnoreRoles types.Int64Array `boil:"ignore_roles" json:"ignore_roles,omitempty" toml:"ignore_roles" yaml:"ignore_roles,omitempty"` Position int64 `boil:"position" json:"position" toml:"position" yaml:"position"` R *roleCommandR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleCommandL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleCommand is an object representing the database table.
func FindRoleCommand ¶
FindRoleCommand retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRoleCommandG ¶
func FindRoleCommandG(id int64, selectCols ...string) (*RoleCommand, error)
FindRoleCommandG retrieves a single record by ID.
func FindRoleCommandGP ¶
func FindRoleCommandGP(id int64, selectCols ...string) *RoleCommand
FindRoleCommandGP retrieves a single record by ID, and panics on error.
func FindRoleCommandP ¶
func FindRoleCommandP(exec boil.Executor, id int64, selectCols ...string) *RoleCommand
FindRoleCommandP retrieves a single record by ID with an executor, and panics on error.
func (*RoleCommand) AddNextRoleCommandRoleMenus ¶
func (o *RoleCommand) AddNextRoleCommandRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
AddNextRoleCommandRoleMenus adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.NextRoleCommandRoleMenus. Sets related.R.NextRoleCommand appropriately.
func (*RoleCommand) AddNextRoleCommandRoleMenusG ¶
func (o *RoleCommand) AddNextRoleCommandRoleMenusG(insert bool, related ...*RoleMenu) error
AddNextRoleCommandRoleMenusG adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.NextRoleCommandRoleMenus. Sets related.R.NextRoleCommand appropriately. Uses the global database handle.
func (*RoleCommand) AddNextRoleCommandRoleMenusGP ¶
func (o *RoleCommand) AddNextRoleCommandRoleMenusGP(insert bool, related ...*RoleMenu)
AddNextRoleCommandRoleMenusGP adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.NextRoleCommandRoleMenus. Sets related.R.NextRoleCommand appropriately. Uses the global database handle and panics on error.
func (*RoleCommand) AddNextRoleCommandRoleMenusP ¶
func (o *RoleCommand) AddNextRoleCommandRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
AddNextRoleCommandRoleMenusP adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.NextRoleCommandRoleMenus. Sets related.R.NextRoleCommand appropriately. Panics on error.
func (*RoleCommand) AddRoleMenuOptions ¶
func (o *RoleCommand) AddRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
AddRoleMenuOptions adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleCommand appropriately.
func (*RoleCommand) AddRoleMenuOptionsG ¶
func (o *RoleCommand) AddRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
AddRoleMenuOptionsG adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleCommand appropriately. Uses the global database handle.
func (*RoleCommand) AddRoleMenuOptionsGP ¶
func (o *RoleCommand) AddRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
AddRoleMenuOptionsGP adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleCommand appropriately. Uses the global database handle and panics on error.
func (*RoleCommand) AddRoleMenuOptionsP ¶
func (o *RoleCommand) AddRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
AddRoleMenuOptionsP adds the given related objects to the existing relationships of the role_command, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleCommand appropriately. Panics on error.
func (*RoleCommand) Delete ¶
func (o *RoleCommand) Delete(exec boil.Executor) error
Delete deletes a single RoleCommand record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleCommand) DeleteG ¶
func (o *RoleCommand) DeleteG() error
DeleteG deletes a single RoleCommand record. DeleteG will match against the primary key column to find the record to delete.
func (*RoleCommand) DeleteGP ¶
func (o *RoleCommand) DeleteGP()
DeleteGP deletes a single RoleCommand record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleCommand) DeleteP ¶
func (o *RoleCommand) DeleteP(exec boil.Executor)
DeleteP deletes a single RoleCommand record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleCommand) Insert ¶
func (o *RoleCommand) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*RoleCommand) InsertG ¶
func (o *RoleCommand) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*RoleCommand) InsertGP ¶
func (o *RoleCommand) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*RoleCommand) InsertP ¶
func (o *RoleCommand) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RoleCommand) NextRoleCommandRoleMenus ¶
func (o *RoleCommand) NextRoleCommandRoleMenus(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
NextRoleCommandRoleMenus retrieves all the role_menu's role menus with an executor via next_role_command_id column.
func (*RoleCommand) NextRoleCommandRoleMenusG ¶
func (o *RoleCommand) NextRoleCommandRoleMenusG(mods ...qm.QueryMod) roleMenuQuery
NextRoleCommandRoleMenusG retrieves all the role_menu's role menus via next_role_command_id column.
func (*RoleCommand) Reload ¶
func (o *RoleCommand) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleCommand) ReloadG ¶
func (o *RoleCommand) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*RoleCommand) ReloadGP ¶
func (o *RoleCommand) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*RoleCommand) ReloadP ¶
func (o *RoleCommand) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RoleCommand) RemoveNextRoleCommandRoleMenus ¶
func (o *RoleCommand) RemoveNextRoleCommandRoleMenus(exec boil.Executor, related ...*RoleMenu) error
RemoveNextRoleCommandRoleMenus relationships from objects passed in. Removes related items from R.NextRoleCommandRoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.NextRoleCommand.
func (*RoleCommand) RemoveNextRoleCommandRoleMenusG ¶
func (o *RoleCommand) RemoveNextRoleCommandRoleMenusG(related ...*RoleMenu) error
RemoveNextRoleCommandRoleMenusG relationships from objects passed in. Removes related items from R.NextRoleCommandRoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.NextRoleCommand. Uses the global database handle.
func (*RoleCommand) RemoveNextRoleCommandRoleMenusGP ¶
func (o *RoleCommand) RemoveNextRoleCommandRoleMenusGP(related ...*RoleMenu)
RemoveNextRoleCommandRoleMenusGP relationships from objects passed in. Removes related items from R.NextRoleCommandRoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.NextRoleCommand. Uses the global database handle and panics on error.
func (*RoleCommand) RemoveNextRoleCommandRoleMenusP ¶
func (o *RoleCommand) RemoveNextRoleCommandRoleMenusP(exec boil.Executor, related ...*RoleMenu)
RemoveNextRoleCommandRoleMenusP relationships from objects passed in. Removes related items from R.NextRoleCommandRoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.NextRoleCommand. Panics on error.
func (*RoleCommand) RemoveRoleGroup ¶
func (o *RoleCommand) RemoveRoleGroup(exec boil.Executor, related *RoleGroup) error
RemoveRoleGroup relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*RoleCommand) RemoveRoleGroupG ¶
func (o *RoleCommand) RemoveRoleGroupG(related *RoleGroup) error
RemoveRoleGroupG relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*RoleCommand) RemoveRoleGroupGP ¶
func (o *RoleCommand) RemoveRoleGroupGP(related *RoleGroup)
RemoveRoleGroupGP relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*RoleCommand) RemoveRoleGroupP ¶
func (o *RoleCommand) RemoveRoleGroupP(exec boil.Executor, related *RoleGroup)
RemoveRoleGroupP relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*RoleCommand) RemoveRoleMenuOptions ¶
func (o *RoleCommand) RemoveRoleMenuOptions(exec boil.Executor, related ...*RoleMenuOption) error
RemoveRoleMenuOptions relationships from objects passed in. Removes related items from R.RoleMenuOptions (uses pointer comparison, removal does not keep order) Sets related.R.RoleCommand.
func (*RoleCommand) RemoveRoleMenuOptionsG ¶
func (o *RoleCommand) RemoveRoleMenuOptionsG(related ...*RoleMenuOption) error
RemoveRoleMenuOptionsG relationships from objects passed in. Removes related items from R.RoleMenuOptions (uses pointer comparison, removal does not keep order) Sets related.R.RoleCommand. Uses the global database handle.
func (*RoleCommand) RemoveRoleMenuOptionsGP ¶
func (o *RoleCommand) RemoveRoleMenuOptionsGP(related ...*RoleMenuOption)
RemoveRoleMenuOptionsGP relationships from objects passed in. Removes related items from R.RoleMenuOptions (uses pointer comparison, removal does not keep order) Sets related.R.RoleCommand. Uses the global database handle and panics on error.
func (*RoleCommand) RemoveRoleMenuOptionsP ¶
func (o *RoleCommand) RemoveRoleMenuOptionsP(exec boil.Executor, related ...*RoleMenuOption)
RemoveRoleMenuOptionsP relationships from objects passed in. Removes related items from R.RoleMenuOptions (uses pointer comparison, removal does not keep order) Sets related.R.RoleCommand. Panics on error.
func (*RoleCommand) RoleGroup ¶
func (o *RoleCommand) RoleGroup(exec boil.Executor, mods ...qm.QueryMod) roleGroupQuery
RoleGroup pointed to by the foreign key.
func (*RoleCommand) RoleGroupG ¶
func (o *RoleCommand) RoleGroupG(mods ...qm.QueryMod) roleGroupQuery
RoleGroupG pointed to by the foreign key.
func (*RoleCommand) RoleMenuOptions ¶
func (o *RoleCommand) RoleMenuOptions(exec boil.Executor, mods ...qm.QueryMod) roleMenuOptionQuery
RoleMenuOptions retrieves all the role_menu_option's role menu options with an executor.
func (*RoleCommand) RoleMenuOptionsG ¶
func (o *RoleCommand) RoleMenuOptionsG(mods ...qm.QueryMod) roleMenuOptionQuery
RoleMenuOptionsG retrieves all the role_menu_option's role menu options.
func (*RoleCommand) SetNextRoleCommandRoleMenus ¶
func (o *RoleCommand) SetNextRoleCommandRoleMenus(exec boil.Executor, insert bool, related ...*RoleMenu) error
SetNextRoleCommandRoleMenus removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Replaces o.R.NextRoleCommandRoleMenus with related. Sets related.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly.
func (*RoleCommand) SetNextRoleCommandRoleMenusG ¶
func (o *RoleCommand) SetNextRoleCommandRoleMenusG(insert bool, related ...*RoleMenu) error
SetNextRoleCommandRoleMenusG removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Replaces o.R.NextRoleCommandRoleMenus with related. Sets related.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Uses the global database handle.
func (*RoleCommand) SetNextRoleCommandRoleMenusGP ¶
func (o *RoleCommand) SetNextRoleCommandRoleMenusGP(insert bool, related ...*RoleMenu)
SetNextRoleCommandRoleMenusGP removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Replaces o.R.NextRoleCommandRoleMenus with related. Sets related.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Uses the global database handle and panics on error.
func (*RoleCommand) SetNextRoleCommandRoleMenusP ¶
func (o *RoleCommand) SetNextRoleCommandRoleMenusP(exec boil.Executor, insert bool, related ...*RoleMenu)
SetNextRoleCommandRoleMenusP removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Replaces o.R.NextRoleCommandRoleMenus with related. Sets related.R.NextRoleCommand's NextRoleCommandRoleMenus accordingly. Panics on error.
func (*RoleCommand) SetRoleGroup ¶
SetRoleGroup of the role_command to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleCommands.
func (*RoleCommand) SetRoleGroupG ¶
func (o *RoleCommand) SetRoleGroupG(insert bool, related *RoleGroup) error
SetRoleGroupG of the role_command to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleCommands. Uses the global database handle.
func (*RoleCommand) SetRoleGroupGP ¶
func (o *RoleCommand) SetRoleGroupGP(insert bool, related *RoleGroup)
SetRoleGroupGP of the role_command to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleCommands. Uses the global database handle and panics on error.
func (*RoleCommand) SetRoleGroupP ¶
func (o *RoleCommand) SetRoleGroupP(exec boil.Executor, insert bool, related *RoleGroup)
SetRoleGroupP of the role_command to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleCommands. Panics on error.
func (*RoleCommand) SetRoleMenuOptions ¶
func (o *RoleCommand) SetRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
SetRoleMenuOptions removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleCommand's RoleMenuOptions accordingly. Replaces o.R.RoleMenuOptions with related. Sets related.R.RoleCommand's RoleMenuOptions accordingly.
func (*RoleCommand) SetRoleMenuOptionsG ¶
func (o *RoleCommand) SetRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
SetRoleMenuOptionsG removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleCommand's RoleMenuOptions accordingly. Replaces o.R.RoleMenuOptions with related. Sets related.R.RoleCommand's RoleMenuOptions accordingly. Uses the global database handle.
func (*RoleCommand) SetRoleMenuOptionsGP ¶
func (o *RoleCommand) SetRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
SetRoleMenuOptionsGP removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleCommand's RoleMenuOptions accordingly. Replaces o.R.RoleMenuOptions with related. Sets related.R.RoleCommand's RoleMenuOptions accordingly. Uses the global database handle and panics on error.
func (*RoleCommand) SetRoleMenuOptionsP ¶
func (o *RoleCommand) SetRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
SetRoleMenuOptionsP removes all previously related items of the role_command replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleCommand's RoleMenuOptions accordingly. Replaces o.R.RoleMenuOptions with related. Sets related.R.RoleCommand's RoleMenuOptions accordingly. Panics on error.
func (*RoleCommand) Update ¶
func (o *RoleCommand) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the RoleCommand. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleCommand) UpdateG ¶
func (o *RoleCommand) UpdateG(whitelist ...string) error
UpdateG a single RoleCommand record. See Update for whitelist behavior description.
func (*RoleCommand) UpdateGP ¶
func (o *RoleCommand) UpdateGP(whitelist ...string)
UpdateGP a single RoleCommand record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*RoleCommand) UpdateP ¶
func (o *RoleCommand) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the RoleCommand, and panics on error. See Update for whitelist behavior description.
func (*RoleCommand) Upsert ¶
func (o *RoleCommand) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*RoleCommand) UpsertG ¶
func (o *RoleCommand) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type RoleCommandSlice ¶
type RoleCommandSlice []*RoleCommand
RoleCommandSlice is an alias for a slice of pointers to RoleCommand. This should generally be used opposed to []RoleCommand.
func (RoleCommandSlice) DeleteAll ¶
func (o RoleCommandSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (RoleCommandSlice) DeleteAllG ¶
func (o RoleCommandSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (RoleCommandSlice) DeleteAllGP ¶
func (o RoleCommandSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (RoleCommandSlice) DeleteAllP ¶
func (o RoleCommandSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RoleCommandSlice) ReloadAll ¶
func (o *RoleCommandSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleCommandSlice) ReloadAllG ¶
func (o *RoleCommandSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleCommandSlice) ReloadAllGP ¶
func (o *RoleCommandSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*RoleCommandSlice) ReloadAllP ¶
func (o *RoleCommandSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RoleCommandSlice) UpdateAll ¶
func (o RoleCommandSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (RoleCommandSlice) UpdateAllG ¶
func (o RoleCommandSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (RoleCommandSlice) UpdateAllGP ¶
func (o RoleCommandSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (RoleCommandSlice) UpdateAllP ¶
func (o RoleCommandSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type RoleGroup ¶
type RoleGroup 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"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` RequireRoles types.Int64Array `boil:"require_roles" json:"require_roles,omitempty" toml:"require_roles" yaml:"require_roles,omitempty"` IgnoreRoles types.Int64Array `boil:"ignore_roles" json:"ignore_roles,omitempty" toml:"ignore_roles" yaml:"ignore_roles,omitempty"` Mode int64 `boil:"mode" json:"mode" toml:"mode" yaml:"mode"` MultipleMax int64 `boil:"multiple_max" json:"multiple_max" toml:"multiple_max" yaml:"multiple_max"` MultipleMin int64 `boil:"multiple_min" json:"multiple_min" toml:"multiple_min" yaml:"multiple_min"` SingleAutoToggleOff bool `boil:"single_auto_toggle_off" json:"single_auto_toggle_off" toml:"single_auto_toggle_off" yaml:"single_auto_toggle_off"` SingleRequireOne bool `boil:"single_require_one" json:"single_require_one" toml:"single_require_one" yaml:"single_require_one"` R *roleGroupR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleGroupL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleGroup is an object representing the database table.
func FindRoleGroup ¶
FindRoleGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRoleGroupG ¶
FindRoleGroupG retrieves a single record by ID.
func FindRoleGroupGP ¶
FindRoleGroupGP retrieves a single record by ID, and panics on error.
func FindRoleGroupP ¶
FindRoleGroupP retrieves a single record by ID with an executor, and panics on error.
func (*RoleGroup) AddRoleCommands ¶
AddRoleCommands adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleCommands. Sets related.R.RoleGroup appropriately.
func (*RoleGroup) AddRoleCommandsG ¶
func (o *RoleGroup) AddRoleCommandsG(insert bool, related ...*RoleCommand) error
AddRoleCommandsG adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleCommands. Sets related.R.RoleGroup appropriately. Uses the global database handle.
func (*RoleGroup) AddRoleCommandsGP ¶
func (o *RoleGroup) AddRoleCommandsGP(insert bool, related ...*RoleCommand)
AddRoleCommandsGP adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleCommands. Sets related.R.RoleGroup appropriately. Uses the global database handle and panics on error.
func (*RoleGroup) AddRoleCommandsP ¶
func (o *RoleGroup) AddRoleCommandsP(exec boil.Executor, insert bool, related ...*RoleCommand)
AddRoleCommandsP adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleCommands. Sets related.R.RoleGroup appropriately. Panics on error.
func (*RoleGroup) AddRoleMenus ¶
AddRoleMenus adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleMenus. Sets related.R.RoleGroup appropriately.
func (*RoleGroup) AddRoleMenusG ¶
AddRoleMenusG adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleMenus. Sets related.R.RoleGroup appropriately. Uses the global database handle.
func (*RoleGroup) AddRoleMenusGP ¶
AddRoleMenusGP adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleMenus. Sets related.R.RoleGroup appropriately. Uses the global database handle and panics on error.
func (*RoleGroup) AddRoleMenusP ¶
AddRoleMenusP adds the given related objects to the existing relationships of the role_group, optionally inserting them as new records. Appends related to o.R.RoleMenus. Sets related.R.RoleGroup appropriately. Panics on error.
func (*RoleGroup) Delete ¶
Delete deletes a single RoleGroup record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleGroup) DeleteG ¶
DeleteG deletes a single RoleGroup record. DeleteG will match against the primary key column to find the record to delete.
func (*RoleGroup) DeleteGP ¶
func (o *RoleGroup) DeleteGP()
DeleteGP deletes a single RoleGroup record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleGroup) DeleteP ¶
DeleteP deletes a single RoleGroup record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleGroup) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*RoleGroup) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*RoleGroup) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RoleGroup) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleGroup) ReloadGP ¶
func (o *RoleGroup) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*RoleGroup) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RoleGroup) RemoveRoleCommands ¶
func (o *RoleGroup) RemoveRoleCommands(exec boil.Executor, related ...*RoleCommand) error
RemoveRoleCommands relationships from objects passed in. Removes related items from R.RoleCommands (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup.
func (*RoleGroup) RemoveRoleCommandsG ¶
func (o *RoleGroup) RemoveRoleCommandsG(related ...*RoleCommand) error
RemoveRoleCommandsG relationships from objects passed in. Removes related items from R.RoleCommands (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Uses the global database handle.
func (*RoleGroup) RemoveRoleCommandsGP ¶
func (o *RoleGroup) RemoveRoleCommandsGP(related ...*RoleCommand)
RemoveRoleCommandsGP relationships from objects passed in. Removes related items from R.RoleCommands (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Uses the global database handle and panics on error.
func (*RoleGroup) RemoveRoleCommandsP ¶
func (o *RoleGroup) RemoveRoleCommandsP(exec boil.Executor, related ...*RoleCommand)
RemoveRoleCommandsP relationships from objects passed in. Removes related items from R.RoleCommands (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Panics on error.
func (*RoleGroup) RemoveRoleMenus ¶
RemoveRoleMenus relationships from objects passed in. Removes related items from R.RoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup.
func (*RoleGroup) RemoveRoleMenusG ¶
RemoveRoleMenusG relationships from objects passed in. Removes related items from R.RoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Uses the global database handle.
func (*RoleGroup) RemoveRoleMenusGP ¶
RemoveRoleMenusGP relationships from objects passed in. Removes related items from R.RoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Uses the global database handle and panics on error.
func (*RoleGroup) RemoveRoleMenusP ¶
RemoveRoleMenusP relationships from objects passed in. Removes related items from R.RoleMenus (uses pointer comparison, removal does not keep order) Sets related.R.RoleGroup. Panics on error.
func (*RoleGroup) RoleCommands ¶
RoleCommands retrieves all the role_command's role commands with an executor.
func (*RoleGroup) RoleCommandsG ¶
RoleCommandsG retrieves all the role_command's role commands.
func (*RoleGroup) RoleMenusG ¶
RoleMenusG retrieves all the role_menu's role menus.
func (*RoleGroup) SetRoleCommands ¶
SetRoleCommands removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleCommands accordingly. Replaces o.R.RoleCommands with related. Sets related.R.RoleGroup's RoleCommands accordingly.
func (*RoleGroup) SetRoleCommandsG ¶
func (o *RoleGroup) SetRoleCommandsG(insert bool, related ...*RoleCommand) error
SetRoleCommandsG removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleCommands accordingly. Replaces o.R.RoleCommands with related. Sets related.R.RoleGroup's RoleCommands accordingly. Uses the global database handle.
func (*RoleGroup) SetRoleCommandsGP ¶
func (o *RoleGroup) SetRoleCommandsGP(insert bool, related ...*RoleCommand)
SetRoleCommandsGP removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleCommands accordingly. Replaces o.R.RoleCommands with related. Sets related.R.RoleGroup's RoleCommands accordingly. Uses the global database handle and panics on error.
func (*RoleGroup) SetRoleCommandsP ¶
func (o *RoleGroup) SetRoleCommandsP(exec boil.Executor, insert bool, related ...*RoleCommand)
SetRoleCommandsP removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleCommands accordingly. Replaces o.R.RoleCommands with related. Sets related.R.RoleGroup's RoleCommands accordingly. Panics on error.
func (*RoleGroup) SetRoleMenus ¶
SetRoleMenus removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleMenus accordingly. Replaces o.R.RoleMenus with related. Sets related.R.RoleGroup's RoleMenus accordingly.
func (*RoleGroup) SetRoleMenusG ¶
SetRoleMenusG removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleMenus accordingly. Replaces o.R.RoleMenus with related. Sets related.R.RoleGroup's RoleMenus accordingly. Uses the global database handle.
func (*RoleGroup) SetRoleMenusGP ¶
SetRoleMenusGP removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleMenus accordingly. Replaces o.R.RoleMenus with related. Sets related.R.RoleGroup's RoleMenus accordingly. Uses the global database handle and panics on error.
func (*RoleGroup) SetRoleMenusP ¶
SetRoleMenusP removes all previously related items of the role_group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoleGroup's RoleMenus accordingly. Replaces o.R.RoleMenus with related. Sets related.R.RoleGroup's RoleMenus accordingly. Panics on error.
func (*RoleGroup) Update ¶
Update uses an executor to update the RoleGroup. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleGroup) UpdateG ¶
UpdateG a single RoleGroup record. See Update for whitelist behavior description.
func (*RoleGroup) UpdateGP ¶
UpdateGP a single RoleGroup record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*RoleGroup) UpdateP ¶
UpdateP uses an executor to update the RoleGroup, and panics on error. See Update for whitelist behavior description.
func (*RoleGroup) Upsert ¶
func (o *RoleGroup) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*RoleGroup) UpsertG ¶
func (o *RoleGroup) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type RoleGroupSlice ¶
type RoleGroupSlice []*RoleGroup
RoleGroupSlice is an alias for a slice of pointers to RoleGroup. This should generally be used opposed to []RoleGroup.
func (RoleGroupSlice) DeleteAll ¶
func (o RoleGroupSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (RoleGroupSlice) DeleteAllG ¶
func (o RoleGroupSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (RoleGroupSlice) DeleteAllGP ¶
func (o RoleGroupSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (RoleGroupSlice) DeleteAllP ¶
func (o RoleGroupSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RoleGroupSlice) ReloadAll ¶
func (o *RoleGroupSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleGroupSlice) ReloadAllG ¶
func (o *RoleGroupSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleGroupSlice) ReloadAllGP ¶
func (o *RoleGroupSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*RoleGroupSlice) ReloadAllP ¶
func (o *RoleGroupSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RoleGroupSlice) UpdateAll ¶
func (o RoleGroupSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (RoleGroupSlice) UpdateAllG ¶
func (o RoleGroupSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (RoleGroupSlice) UpdateAllGP ¶
func (o RoleGroupSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (RoleGroupSlice) UpdateAllP ¶
func (o RoleGroupSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type RoleMenu ¶
type RoleMenu struct { MessageID int64 `boil:"message_id" json:"message_id" toml:"message_id" yaml:"message_id"` GuildID int64 `boil:"guild_id" json:"guild_id" toml:"guild_id" yaml:"guild_id"` ChannelID int64 `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_id"` OwnerID int64 `boil:"owner_id" json:"owner_id" toml:"owner_id" yaml:"owner_id"` OwnMessage bool `boil:"own_message" json:"own_message" toml:"own_message" yaml:"own_message"` State int64 `boil:"state" json:"state" toml:"state" yaml:"state"` NextRoleCommandID null.Int64 `` /* 131-byte string literal not displayed */ RoleGroupID null.Int64 `boil:"role_group_id" json:"role_group_id,omitempty" toml:"role_group_id" yaml:"role_group_id,omitempty"` DisableSendDM bool `boil:"disable_send_dm" json:"disable_send_dm" toml:"disable_send_dm" yaml:"disable_send_dm"` RemoveRoleOnReactionRemove bool `` /* 151-byte string literal not displayed */ R *roleMenuR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleMenuL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleMenu is an object representing the database table.
func FindRoleMenu ¶
FindRoleMenu retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRoleMenuG ¶
FindRoleMenuG retrieves a single record by ID.
func FindRoleMenuGP ¶
FindRoleMenuGP retrieves a single record by ID, and panics on error.
func FindRoleMenuP ¶
FindRoleMenuP retrieves a single record by ID with an executor, and panics on error.
func (*RoleMenu) AddRoleMenuOptions ¶
func (o *RoleMenu) AddRoleMenuOptions(exec boil.Executor, insert bool, related ...*RoleMenuOption) error
AddRoleMenuOptions adds the given related objects to the existing relationships of the role_menu, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleMenu appropriately.
func (*RoleMenu) AddRoleMenuOptionsG ¶
func (o *RoleMenu) AddRoleMenuOptionsG(insert bool, related ...*RoleMenuOption) error
AddRoleMenuOptionsG adds the given related objects to the existing relationships of the role_menu, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleMenu appropriately. Uses the global database handle.
func (*RoleMenu) AddRoleMenuOptionsGP ¶
func (o *RoleMenu) AddRoleMenuOptionsGP(insert bool, related ...*RoleMenuOption)
AddRoleMenuOptionsGP adds the given related objects to the existing relationships of the role_menu, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleMenu appropriately. Uses the global database handle and panics on error.
func (*RoleMenu) AddRoleMenuOptionsP ¶
func (o *RoleMenu) AddRoleMenuOptionsP(exec boil.Executor, insert bool, related ...*RoleMenuOption)
AddRoleMenuOptionsP adds the given related objects to the existing relationships of the role_menu, optionally inserting them as new records. Appends related to o.R.RoleMenuOptions. Sets related.R.RoleMenu appropriately. Panics on error.
func (*RoleMenu) Delete ¶
Delete deletes a single RoleMenu record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleMenu) DeleteG ¶
DeleteG deletes a single RoleMenu record. DeleteG will match against the primary key column to find the record to delete.
func (*RoleMenu) DeleteGP ¶
func (o *RoleMenu) DeleteGP()
DeleteGP deletes a single RoleMenu record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleMenu) DeleteP ¶
DeleteP deletes a single RoleMenu record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleMenu) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*RoleMenu) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*RoleMenu) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RoleMenu) NextRoleCommand ¶
NextRoleCommand pointed to by the foreign key.
func (*RoleMenu) NextRoleCommandG ¶
NextRoleCommandG pointed to by the foreign key.
func (*RoleMenu) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleMenu) ReloadGP ¶
func (o *RoleMenu) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*RoleMenu) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RoleMenu) RemoveNextRoleCommand ¶
func (o *RoleMenu) RemoveNextRoleCommand(exec boil.Executor, related *RoleCommand) error
RemoveNextRoleCommand relationship. Sets o.R.NextRoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*RoleMenu) RemoveNextRoleCommandG ¶
func (o *RoleMenu) RemoveNextRoleCommandG(related *RoleCommand) error
RemoveNextRoleCommandG relationship. Sets o.R.NextRoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*RoleMenu) RemoveNextRoleCommandGP ¶
func (o *RoleMenu) RemoveNextRoleCommandGP(related *RoleCommand)
RemoveNextRoleCommandGP relationship. Sets o.R.NextRoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*RoleMenu) RemoveNextRoleCommandP ¶
func (o *RoleMenu) RemoveNextRoleCommandP(exec boil.Executor, related *RoleCommand)
RemoveNextRoleCommandP relationship. Sets o.R.NextRoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*RoleMenu) RemoveRoleGroup ¶
RemoveRoleGroup relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*RoleMenu) RemoveRoleGroupG ¶
RemoveRoleGroupG relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*RoleMenu) RemoveRoleGroupGP ¶
RemoveRoleGroupGP relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*RoleMenu) RemoveRoleGroupP ¶
RemoveRoleGroupP relationship. Sets o.R.RoleGroup to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*RoleMenu) RoleGroupG ¶
RoleGroupG pointed to by the foreign key.
func (*RoleMenu) RoleMenuOptions ¶
RoleMenuOptions retrieves all the role_menu_option's role menu options with an executor.
func (*RoleMenu) RoleMenuOptionsG ¶
RoleMenuOptionsG retrieves all the role_menu_option's role menu options.
func (*RoleMenu) SetNextRoleCommand ¶
SetNextRoleCommand of the role_menu to the related item. Sets o.R.NextRoleCommand to related. Adds o to related.R.NextRoleCommandRoleMenus.
func (*RoleMenu) SetNextRoleCommandG ¶
func (o *RoleMenu) SetNextRoleCommandG(insert bool, related *RoleCommand) error
SetNextRoleCommandG of the role_menu to the related item. Sets o.R.NextRoleCommand to related. Adds o to related.R.NextRoleCommandRoleMenus. Uses the global database handle.
func (*RoleMenu) SetNextRoleCommandGP ¶
func (o *RoleMenu) SetNextRoleCommandGP(insert bool, related *RoleCommand)
SetNextRoleCommandGP of the role_menu to the related item. Sets o.R.NextRoleCommand to related. Adds o to related.R.NextRoleCommandRoleMenus. Uses the global database handle and panics on error.
func (*RoleMenu) SetNextRoleCommandP ¶
func (o *RoleMenu) SetNextRoleCommandP(exec boil.Executor, insert bool, related *RoleCommand)
SetNextRoleCommandP of the role_menu to the related item. Sets o.R.NextRoleCommand to related. Adds o to related.R.NextRoleCommandRoleMenus. Panics on error.
func (*RoleMenu) SetRoleGroup ¶
SetRoleGroup of the role_menu to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleMenus.
func (*RoleMenu) SetRoleGroupG ¶
SetRoleGroupG of the role_menu to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleMenus. Uses the global database handle.
func (*RoleMenu) SetRoleGroupGP ¶
SetRoleGroupGP of the role_menu to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleMenus. Uses the global database handle and panics on error.
func (*RoleMenu) SetRoleGroupP ¶
SetRoleGroupP of the role_menu to the related item. Sets o.R.RoleGroup to related. Adds o to related.R.RoleMenus. Panics on error.
func (*RoleMenu) Update ¶
Update uses an executor to update the RoleMenu. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleMenu) UpdateG ¶
UpdateG a single RoleMenu record. See Update for whitelist behavior description.
func (*RoleMenu) UpdateGP ¶
UpdateGP a single RoleMenu record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*RoleMenu) UpdateP ¶
UpdateP uses an executor to update the RoleMenu, and panics on error. See Update for whitelist behavior description.
func (*RoleMenu) Upsert ¶
func (o *RoleMenu) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*RoleMenu) UpsertG ¶
func (o *RoleMenu) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type RoleMenuOption ¶
type RoleMenuOption struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` RoleCommandID null.Int64 `boil:"role_command_id" json:"role_command_id,omitempty" toml:"role_command_id" yaml:"role_command_id,omitempty"` EmojiID int64 `boil:"emoji_id" json:"emoji_id" toml:"emoji_id" yaml:"emoji_id"` UnicodeEmoji string `boil:"unicode_emoji" json:"unicode_emoji" toml:"unicode_emoji" yaml:"unicode_emoji"` RoleMenuID int64 `boil:"role_menu_id" json:"role_menu_id" toml:"role_menu_id" yaml:"role_menu_id"` R *roleMenuOptionR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleMenuOptionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleMenuOption is an object representing the database table.
func FindRoleMenuOption ¶
func FindRoleMenuOption(exec boil.Executor, id int64, selectCols ...string) (*RoleMenuOption, error)
FindRoleMenuOption retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRoleMenuOptionG ¶
func FindRoleMenuOptionG(id int64, selectCols ...string) (*RoleMenuOption, error)
FindRoleMenuOptionG retrieves a single record by ID.
func FindRoleMenuOptionGP ¶
func FindRoleMenuOptionGP(id int64, selectCols ...string) *RoleMenuOption
FindRoleMenuOptionGP retrieves a single record by ID, and panics on error.
func FindRoleMenuOptionP ¶
func FindRoleMenuOptionP(exec boil.Executor, id int64, selectCols ...string) *RoleMenuOption
FindRoleMenuOptionP retrieves a single record by ID with an executor, and panics on error.
func (*RoleMenuOption) Delete ¶
func (o *RoleMenuOption) Delete(exec boil.Executor) error
Delete deletes a single RoleMenuOption record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleMenuOption) DeleteG ¶
func (o *RoleMenuOption) DeleteG() error
DeleteG deletes a single RoleMenuOption record. DeleteG will match against the primary key column to find the record to delete.
func (*RoleMenuOption) DeleteGP ¶
func (o *RoleMenuOption) DeleteGP()
DeleteGP deletes a single RoleMenuOption record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleMenuOption) DeleteP ¶
func (o *RoleMenuOption) DeleteP(exec boil.Executor)
DeleteP deletes a single RoleMenuOption record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RoleMenuOption) Insert ¶
func (o *RoleMenuOption) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*RoleMenuOption) InsertG ¶
func (o *RoleMenuOption) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*RoleMenuOption) InsertGP ¶
func (o *RoleMenuOption) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*RoleMenuOption) InsertP ¶
func (o *RoleMenuOption) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RoleMenuOption) Reload ¶
func (o *RoleMenuOption) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleMenuOption) ReloadG ¶
func (o *RoleMenuOption) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*RoleMenuOption) ReloadGP ¶
func (o *RoleMenuOption) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*RoleMenuOption) ReloadP ¶
func (o *RoleMenuOption) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RoleMenuOption) RemoveRoleCommand ¶
func (o *RoleMenuOption) RemoveRoleCommand(exec boil.Executor, related *RoleCommand) error
RemoveRoleCommand relationship. Sets o.R.RoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*RoleMenuOption) RemoveRoleCommandG ¶
func (o *RoleMenuOption) RemoveRoleCommandG(related *RoleCommand) error
RemoveRoleCommandG relationship. Sets o.R.RoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*RoleMenuOption) RemoveRoleCommandGP ¶
func (o *RoleMenuOption) RemoveRoleCommandGP(related *RoleCommand)
RemoveRoleCommandGP relationship. Sets o.R.RoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*RoleMenuOption) RemoveRoleCommandP ¶
func (o *RoleMenuOption) RemoveRoleCommandP(exec boil.Executor, related *RoleCommand)
RemoveRoleCommandP relationship. Sets o.R.RoleCommand to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*RoleMenuOption) RoleCommand ¶
func (o *RoleMenuOption) RoleCommand(exec boil.Executor, mods ...qm.QueryMod) roleCommandQuery
RoleCommand pointed to by the foreign key.
func (*RoleMenuOption) RoleCommandG ¶
func (o *RoleMenuOption) RoleCommandG(mods ...qm.QueryMod) roleCommandQuery
RoleCommandG pointed to by the foreign key.
func (*RoleMenuOption) RoleMenu ¶
func (o *RoleMenuOption) RoleMenu(exec boil.Executor, mods ...qm.QueryMod) roleMenuQuery
RoleMenu pointed to by the foreign key.
func (*RoleMenuOption) RoleMenuG ¶
func (o *RoleMenuOption) RoleMenuG(mods ...qm.QueryMod) roleMenuQuery
RoleMenuG pointed to by the foreign key.
func (*RoleMenuOption) SetRoleCommand ¶
func (o *RoleMenuOption) SetRoleCommand(exec boil.Executor, insert bool, related *RoleCommand) error
SetRoleCommand of the role_menu_option to the related item. Sets o.R.RoleCommand to related. Adds o to related.R.RoleMenuOptions.
func (*RoleMenuOption) SetRoleCommandG ¶
func (o *RoleMenuOption) SetRoleCommandG(insert bool, related *RoleCommand) error
SetRoleCommandG of the role_menu_option to the related item. Sets o.R.RoleCommand to related. Adds o to related.R.RoleMenuOptions. Uses the global database handle.
func (*RoleMenuOption) SetRoleCommandGP ¶
func (o *RoleMenuOption) SetRoleCommandGP(insert bool, related *RoleCommand)
SetRoleCommandGP of the role_menu_option to the related item. Sets o.R.RoleCommand to related. Adds o to related.R.RoleMenuOptions. Uses the global database handle and panics on error.
func (*RoleMenuOption) SetRoleCommandP ¶
func (o *RoleMenuOption) SetRoleCommandP(exec boil.Executor, insert bool, related *RoleCommand)
SetRoleCommandP of the role_menu_option to the related item. Sets o.R.RoleCommand to related. Adds o to related.R.RoleMenuOptions. Panics on error.
func (*RoleMenuOption) SetRoleMenu ¶
SetRoleMenu of the role_menu_option to the related item. Sets o.R.RoleMenu to related. Adds o to related.R.RoleMenuOptions.
func (*RoleMenuOption) SetRoleMenuG ¶
func (o *RoleMenuOption) SetRoleMenuG(insert bool, related *RoleMenu) error
SetRoleMenuG of the role_menu_option to the related item. Sets o.R.RoleMenu to related. Adds o to related.R.RoleMenuOptions. Uses the global database handle.
func (*RoleMenuOption) SetRoleMenuGP ¶
func (o *RoleMenuOption) SetRoleMenuGP(insert bool, related *RoleMenu)
SetRoleMenuGP of the role_menu_option to the related item. Sets o.R.RoleMenu to related. Adds o to related.R.RoleMenuOptions. Uses the global database handle and panics on error.
func (*RoleMenuOption) SetRoleMenuP ¶
func (o *RoleMenuOption) SetRoleMenuP(exec boil.Executor, insert bool, related *RoleMenu)
SetRoleMenuP of the role_menu_option to the related item. Sets o.R.RoleMenu to related. Adds o to related.R.RoleMenuOptions. Panics on error.
func (*RoleMenuOption) Update ¶
func (o *RoleMenuOption) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the RoleMenuOption. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleMenuOption) UpdateG ¶
func (o *RoleMenuOption) UpdateG(whitelist ...string) error
UpdateG a single RoleMenuOption record. See Update for whitelist behavior description.
func (*RoleMenuOption) UpdateGP ¶
func (o *RoleMenuOption) UpdateGP(whitelist ...string)
UpdateGP a single RoleMenuOption record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*RoleMenuOption) UpdateP ¶
func (o *RoleMenuOption) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the RoleMenuOption, and panics on error. See Update for whitelist behavior description.
func (*RoleMenuOption) Upsert ¶
func (o *RoleMenuOption) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*RoleMenuOption) UpsertG ¶
func (o *RoleMenuOption) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type RoleMenuOptionSlice ¶
type RoleMenuOptionSlice []*RoleMenuOption
RoleMenuOptionSlice is an alias for a slice of pointers to RoleMenuOption. This should generally be used opposed to []RoleMenuOption.
func (RoleMenuOptionSlice) DeleteAll ¶
func (o RoleMenuOptionSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (RoleMenuOptionSlice) DeleteAllG ¶
func (o RoleMenuOptionSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (RoleMenuOptionSlice) DeleteAllGP ¶
func (o RoleMenuOptionSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (RoleMenuOptionSlice) DeleteAllP ¶
func (o RoleMenuOptionSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RoleMenuOptionSlice) ReloadAll ¶
func (o *RoleMenuOptionSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleMenuOptionSlice) ReloadAllG ¶
func (o *RoleMenuOptionSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleMenuOptionSlice) ReloadAllGP ¶
func (o *RoleMenuOptionSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*RoleMenuOptionSlice) ReloadAllP ¶
func (o *RoleMenuOptionSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RoleMenuOptionSlice) UpdateAll ¶
func (o RoleMenuOptionSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (RoleMenuOptionSlice) UpdateAllG ¶
func (o RoleMenuOptionSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (RoleMenuOptionSlice) UpdateAllGP ¶
func (o RoleMenuOptionSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (RoleMenuOptionSlice) UpdateAllP ¶
func (o RoleMenuOptionSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type RoleMenuSlice ¶
type RoleMenuSlice []*RoleMenu
RoleMenuSlice is an alias for a slice of pointers to RoleMenu. This should generally be used opposed to []RoleMenu.
func (RoleMenuSlice) DeleteAll ¶
func (o RoleMenuSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (RoleMenuSlice) DeleteAllG ¶
func (o RoleMenuSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (RoleMenuSlice) DeleteAllGP ¶
func (o RoleMenuSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (RoleMenuSlice) DeleteAllP ¶
func (o RoleMenuSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RoleMenuSlice) ReloadAll ¶
func (o *RoleMenuSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleMenuSlice) ReloadAllG ¶
func (o *RoleMenuSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*RoleMenuSlice) ReloadAllGP ¶
func (o *RoleMenuSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*RoleMenuSlice) ReloadAllP ¶
func (o *RoleMenuSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RoleMenuSlice) UpdateAll ¶
func (o RoleMenuSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (RoleMenuSlice) UpdateAllG ¶
func (o RoleMenuSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (RoleMenuSlice) UpdateAllGP ¶
func (o RoleMenuSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (RoleMenuSlice) UpdateAllP ¶
func (o RoleMenuSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.