Versions in this module Expand all Collapse all v1 v1.31.14 Jan 12, 2022 v1.31.13 Jan 7, 2022 v1.31.12 Dec 22, 2021 v1.31.11 Dec 14, 2021 v1.31.10 Dec 7, 2021 Changes in this version type CustomCommand + Categories types.Int64Array + CategoriesWhitelistMode bool type CustomCommandGroup + IgnoreCategories types.Int64Array + WhitelistCategories types.Int64Array v1.31.9 Oct 13, 2021 v1.29.1 Jul 28, 2021 v1.29.0 Jul 21, 2021 v1.28.0 Jun 28, 2021 v1.27.0 Jun 14, 2021 v1.26.3 May 12, 2021 Changes in this version type CustomCommand + DateUpdated null.Time v1.26.2 May 5, 2021 v1.26.0 May 5, 2021 Changes in this version + var CustomCommandColumns = struct{ ... } + var CustomCommandGroupColumns = struct{ ... } + var CustomCommandGroupRels = struct{ ... } + var CustomCommandGroupWhere = struct{ ... } + var CustomCommandRels = struct{ ... } + var CustomCommandWhere = struct{ ... } + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var TableNames = struct{ ... } + var TemplatesUserDatabaseColumns = struct{ ... } + var TemplatesUserDatabaseRels = struct{} + var TemplatesUserDatabaseWhere = struct{ ... } + func CustomCommandExists(ctx context.Context, exec boil.ContextExecutor, guildID int64, localID int64) (bool, error) + func CustomCommandExistsG(ctx context.Context, guildID int64, localID int64) (bool, error) + func CustomCommandGroupExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func CustomCommandGroupExistsG(ctx context.Context, iD int64) (bool, error) + func CustomCommandGroups(mods ...qm.QueryMod) customCommandGroupQuery + func CustomCommands(mods ...qm.QueryMod) customCommandQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func TemplatesUserDatabaseExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func TemplatesUserDatabaseExistsG(ctx context.Context, iD int64) (bool, error) + func TemplatesUserDatabases(mods ...qm.QueryMod) templatesUserDatabaseQuery + type CustomCommand struct + Channels types.Int64Array + ChannelsWhitelistMode bool + ContextChannel int64 + Disabled bool + GroupID null.Int64 + GuildID int64 + L customCommandL + LastError string + LastErrorTime null.Time + LastRun null.Time + LocalID int64 + NextRun null.Time + R *customCommandR + ReactionTriggerMode int16 + Responses types.StringArray + Roles types.Int64Array + RolesWhitelistMode bool + RunCount int + ShowErrors bool + TextTrigger string + TextTriggerCaseSensitive bool + TimeTriggerExcludingDays types.Int64Array + TimeTriggerExcludingHours types.Int64Array + TimeTriggerInterval int + TriggerType int + func FindCustomCommand(ctx context.Context, exec boil.ContextExecutor, guildID int64, localID int64, ...) (*CustomCommand, error) + func FindCustomCommandG(ctx context.Context, guildID int64, localID int64, selectCols ...string) (*CustomCommand, error) + func (o *CustomCommand) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *CustomCommand) DeleteG(ctx context.Context) (int64, error) + func (o *CustomCommand) Group(mods ...qm.QueryMod) customCommandGroupQuery + func (o *CustomCommand) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *CustomCommand) InsertG(ctx context.Context, columns boil.Columns) error + func (o *CustomCommand) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *CustomCommand) ReloadG(ctx context.Context) error + func (o *CustomCommand) RemoveGroup(ctx context.Context, exec boil.ContextExecutor, related *CustomCommandGroup) error + func (o *CustomCommand) RemoveGroupG(ctx context.Context, related *CustomCommandGroup) error + func (o *CustomCommand) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *CustomCommand) SetGroupG(ctx context.Context, insert bool, related *CustomCommandGroup) error + func (o *CustomCommand) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *CustomCommand) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *CustomCommand) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *CustomCommand) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type CustomCommandGroup struct + GuildID int64 + ID int64 + IgnoreChannels types.Int64Array + IgnoreRoles types.Int64Array + L customCommandGroupL + Name string + R *customCommandGroupR + WhitelistChannels types.Int64Array + WhitelistRoles types.Int64Array + func FindCustomCommandGroup(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*CustomCommandGroup, error) + func FindCustomCommandGroupG(ctx context.Context, iD int64, selectCols ...string) (*CustomCommandGroup, error) + func (o *CustomCommandGroup) AddGroupCustomCommands(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *CustomCommandGroup) AddGroupCustomCommandsG(ctx context.Context, insert bool, related ...*CustomCommand) error + func (o *CustomCommandGroup) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *CustomCommandGroup) DeleteG(ctx context.Context) (int64, error) + func (o *CustomCommandGroup) GroupCustomCommands(mods ...qm.QueryMod) customCommandQuery + func (o *CustomCommandGroup) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *CustomCommandGroup) InsertG(ctx context.Context, columns boil.Columns) error + func (o *CustomCommandGroup) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *CustomCommandGroup) ReloadG(ctx context.Context) error + func (o *CustomCommandGroup) RemoveGroupCustomCommands(ctx context.Context, exec boil.ContextExecutor, related ...*CustomCommand) error + func (o *CustomCommandGroup) RemoveGroupCustomCommandsG(ctx context.Context, related ...*CustomCommand) error + func (o *CustomCommandGroup) SetGroupCustomCommands(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *CustomCommandGroup) SetGroupCustomCommandsG(ctx context.Context, insert bool, related ...*CustomCommand) error + func (o *CustomCommandGroup) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *CustomCommandGroup) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *CustomCommandGroup) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *CustomCommandGroup) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type CustomCommandGroupSlice []*CustomCommandGroup + func (o *CustomCommandGroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *CustomCommandGroupSlice) ReloadAllG(ctx context.Context) error + func (o CustomCommandGroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o CustomCommandGroupSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o CustomCommandGroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o CustomCommandGroupSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type CustomCommandSlice []*CustomCommand + func (o *CustomCommandSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *CustomCommandSlice) ReloadAllG(ctx context.Context) error + func (o CustomCommandSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o CustomCommandSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o CustomCommandSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o CustomCommandSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type M map[string]interface + type TemplatesUserDatabase struct + CreatedAt time.Time + ExpiresAt null.Time + GuildID int64 + ID int64 + Key string + L templatesUserDatabaseL + R *templatesUserDatabaseR + UpdatedAt time.Time + UserID int64 + ValueNum float64 + ValueRaw []byte + func FindTemplatesUserDatabase(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*TemplatesUserDatabase, error) + func FindTemplatesUserDatabaseG(ctx context.Context, iD int64, selectCols ...string) (*TemplatesUserDatabase, error) + func (o *TemplatesUserDatabase) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *TemplatesUserDatabase) DeleteG(ctx context.Context) (int64, error) + func (o *TemplatesUserDatabase) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *TemplatesUserDatabase) InsertG(ctx context.Context, columns boil.Columns) error + func (o *TemplatesUserDatabase) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *TemplatesUserDatabase) ReloadG(ctx context.Context) error + func (o *TemplatesUserDatabase) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *TemplatesUserDatabase) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *TemplatesUserDatabase) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *TemplatesUserDatabase) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type TemplatesUserDatabaseSlice []*TemplatesUserDatabase + func (o *TemplatesUserDatabaseSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *TemplatesUserDatabaseSlice) ReloadAllG(ctx context.Context) error + func (o TemplatesUserDatabaseSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o TemplatesUserDatabaseSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o TemplatesUserDatabaseSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o TemplatesUserDatabaseSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)