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 ReputationConfigColumns = struct{ ... } + var ReputationConfigRels = struct{} + var ReputationConfigWhere = struct{ ... } + var ReputationLogColumns = struct{ ... } + var ReputationLogRels = struct{} + var ReputationLogWhere = struct{ ... } + var ReputationUserColumns = struct{ ... } + var ReputationUserRels = struct{} + var ReputationUserWhere = struct{ ... } + var TableNames = struct{ ... } + func NewQuery(mods ...qm.QueryMod) *queries.Query + func ReputationConfigExists(ctx context.Context, exec boil.ContextExecutor, guildID int64) (bool, error) + func ReputationConfigExistsG(ctx context.Context, guildID int64) (bool, error) + func ReputationConfigs(mods ...qm.QueryMod) reputationConfigQuery + func ReputationLogExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func ReputationLogExistsG(ctx context.Context, iD int64) (bool, error) + func ReputationLogs(mods ...qm.QueryMod) reputationLogQuery + func ReputationUserExists(ctx context.Context, exec boil.ContextExecutor, guildID int64, userID int64) (bool, error) + func ReputationUserExistsG(ctx context.Context, guildID int64, userID int64) (bool, error) + func ReputationUsers(mods ...qm.QueryMod) reputationUserQuery + type M map[string]interface + type ReputationConfig struct + AdminRole null.String + AdminRoles types.Int64Array + BlacklistedGiveRole null.String + BlacklistedGiveRoles types.Int64Array + BlacklistedReceiveRole null.String + BlacklistedReceiveRoles types.Int64Array + Cooldown int + DisableThanksDetection bool + Enabled bool + GuildID int64 + L reputationConfigL + MaxGiveAmount int64 + MaxRemoveAmount int64 + PointsName string + R *reputationConfigR + RequiredGiveRole null.String + RequiredGiveRoles types.Int64Array + RequiredReceiveRole null.String + RequiredReceiveRoles types.Int64Array + func FindReputationConfig(ctx context.Context, exec boil.ContextExecutor, guildID int64, ...) (*ReputationConfig, error) + func FindReputationConfigG(ctx context.Context, guildID int64, selectCols ...string) (*ReputationConfig, error) + func (o *ReputationConfig) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ReputationConfig) DeleteG(ctx context.Context) (int64, error) + func (o *ReputationConfig) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ReputationConfig) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ReputationConfig) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationConfig) ReloadG(ctx context.Context) error + func (o *ReputationConfig) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ReputationConfig) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ReputationConfig) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ReputationConfig) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ReputationConfigSlice []*ReputationConfig + func (o *ReputationConfigSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationConfigSlice) ReloadAllG(ctx context.Context) error + func (o ReputationConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ReputationConfigSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ReputationConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ReputationConfigSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type ReputationLog struct + Amount int64 + CreatedAt time.Time + GuildID int64 + ID int64 + L reputationLogL + R *reputationLogR + ReceiverID int64 + ReceiverUsername string + SenderID int64 + SenderUsername string + SetFixedAmount bool + func FindReputationLog(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*ReputationLog, error) + func FindReputationLogG(ctx context.Context, iD int64, selectCols ...string) (*ReputationLog, error) + func (o *ReputationLog) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ReputationLog) DeleteG(ctx context.Context) (int64, error) + func (o *ReputationLog) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ReputationLog) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ReputationLog) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationLog) ReloadG(ctx context.Context) error + func (o *ReputationLog) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ReputationLog) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ReputationLog) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ReputationLog) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ReputationLogSlice []*ReputationLog + func (o *ReputationLogSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationLogSlice) ReloadAllG(ctx context.Context) error + func (o ReputationLogSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ReputationLogSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ReputationLogSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ReputationLogSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type ReputationUser struct + CreatedAt time.Time + GuildID int64 + L reputationUserL + Points int64 + R *reputationUserR + UserID int64 + func FindReputationUser(ctx context.Context, exec boil.ContextExecutor, guildID int64, userID int64, ...) (*ReputationUser, error) + func FindReputationUserG(ctx context.Context, guildID int64, userID int64, selectCols ...string) (*ReputationUser, error) + func (o *ReputationUser) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *ReputationUser) DeleteG(ctx context.Context) (int64, error) + func (o *ReputationUser) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *ReputationUser) InsertG(ctx context.Context, columns boil.Columns) error + func (o *ReputationUser) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationUser) ReloadG(ctx context.Context) error + func (o *ReputationUser) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *ReputationUser) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *ReputationUser) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *ReputationUser) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ReputationUserSlice []*ReputationUser + func (o *ReputationUserSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ReputationUserSlice) ReloadAllG(ctx context.Context) error + func (o ReputationUserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ReputationUserSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ReputationUserSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ReputationUserSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)