Versions in this module Expand all Collapse all v1 v1.24.19 Mar 7, 2021 v1.20.6 Sep 3, 2019 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var ServerStatsConfigColumns = struct{ ... } + var ServerStatsConfigRels = struct{} + var ServerStatsConfigWhere = struct{ ... } + var ServerStatsMemberPeriodColumns = struct{ ... } + var ServerStatsMemberPeriodRels = struct{} + var ServerStatsMemberPeriodWhere = struct{ ... } + var ServerStatsPeriodColumns = struct{ ... } + var ServerStatsPeriodRels = struct{} + var ServerStatsPeriodWhere = struct{ ... } + var TableNames = struct{ ... } + func NewQuery(mods ...qm.QueryMod) *queries.Query + func ServerStatsConfigExists(ctx context.Context, exec boil.ContextExecutor, guildID int64) (bool, error) + func ServerStatsConfigExistsG(ctx context.Context, guildID int64) (bool, error) + func ServerStatsConfigs(mods ...qm.QueryMod) serverStatsConfigQuery + func ServerStatsMemberPeriodExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func ServerStatsMemberPeriodExistsG(ctx context.Context, iD int64) (bool, error) + func ServerStatsMemberPeriods(mods ...qm.QueryMod) serverStatsMemberPeriodQuery + func ServerStatsPeriodExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func ServerStatsPeriodExistsG(ctx context.Context, iD int64) (bool, error) + func ServerStatsPeriods(mods ...qm.QueryMod) serverStatsPeriodQuery + type M map[string]interface + type ServerStatsConfig struct + CreatedAt null.Time + GuildID int64 + IgnoreChannels null.String + L serverStatsConfigL + Public null.Bool + R *serverStatsConfigR + UpdatedAt null.Time + func FindServerStatsConfig(ctx context.Context, exec boil.ContextExecutor, guildID int64, ...) (*ServerStatsConfig, error) + func FindServerStatsConfigG(ctx context.Context, guildID int64, selectCols ...string) (*ServerStatsConfig, error) + func (o *ServerStatsConfig) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ServerStatsConfig) DeleteG(ctx context.Context) (int64, error) + func (o *ServerStatsConfig) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ServerStatsConfig) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ServerStatsConfig) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsConfig) ReloadG(ctx context.Context) error + func (o *ServerStatsConfig) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ServerStatsConfig) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ServerStatsConfig) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ServerStatsConfig) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ServerStatsConfigSlice []*ServerStatsConfig + func (o *ServerStatsConfigSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsConfigSlice) ReloadAllG(ctx context.Context) error + func (o ServerStatsConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ServerStatsConfigSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ServerStatsConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ServerStatsConfigSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type ServerStatsMemberPeriod struct + CreatedAt time.Time + GuildID int64 + ID int64 + Joins int64 + L serverStatsMemberPeriodL + Leaves int64 + MaxOnline int64 + NumMembers int64 + R *serverStatsMemberPeriodR + func FindServerStatsMemberPeriod(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*ServerStatsMemberPeriod, error) + func FindServerStatsMemberPeriodG(ctx context.Context, iD int64, selectCols ...string) (*ServerStatsMemberPeriod, error) + func (o *ServerStatsMemberPeriod) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ServerStatsMemberPeriod) DeleteG(ctx context.Context) (int64, error) + func (o *ServerStatsMemberPeriod) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ServerStatsMemberPeriod) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ServerStatsMemberPeriod) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsMemberPeriod) ReloadG(ctx context.Context) error + func (o *ServerStatsMemberPeriod) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ServerStatsMemberPeriod) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ServerStatsMemberPeriod) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ServerStatsMemberPeriod) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ServerStatsMemberPeriodSlice []*ServerStatsMemberPeriod + func (o *ServerStatsMemberPeriodSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsMemberPeriodSlice) ReloadAllG(ctx context.Context) error + func (o ServerStatsMemberPeriodSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ServerStatsMemberPeriodSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ServerStatsMemberPeriodSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ServerStatsMemberPeriodSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type ServerStatsPeriod struct + ChannelID null.Int64 + Count null.Int64 + Duration null.Int64 + GuildID null.Int64 + ID int64 + L serverStatsPeriodL + R *serverStatsPeriodR + Started null.Time + UserID null.Int64 + func FindServerStatsPeriod(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*ServerStatsPeriod, error) + func FindServerStatsPeriodG(ctx context.Context, iD int64, selectCols ...string) (*ServerStatsPeriod, error) + func (o *ServerStatsPeriod) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ServerStatsPeriod) DeleteG(ctx context.Context) (int64, error) + func (o *ServerStatsPeriod) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ServerStatsPeriod) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ServerStatsPeriod) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsPeriod) ReloadG(ctx context.Context) error + func (o *ServerStatsPeriod) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ServerStatsPeriod) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ServerStatsPeriod) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ServerStatsPeriod) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ServerStatsPeriodSlice []*ServerStatsPeriod + func (o *ServerStatsPeriodSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ServerStatsPeriodSlice) ReloadAllG(ctx context.Context) error + func (o ServerStatsPeriodSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ServerStatsPeriodSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ServerStatsPeriodSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ServerStatsPeriodSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)