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 GuildLoggingConfigColumns = struct{ ... } + var GuildLoggingConfigRels = struct{} + var GuildLoggingConfigWhere = struct{ ... } + var MessageColumns = struct{ ... } + var MessageLogColumns = struct{ ... } + var MessageLogRels = struct{ ... } + var MessageLogWhere = struct{ ... } + var MessageLogs2Columns = struct{ ... } + var MessageLogs2Rels = struct{} + var MessageLogs2Where = struct{ ... } + var MessageRels = struct{ ... } + var MessageWhere = struct{ ... } + var Messages2Columns = struct{ ... } + var Messages2Rels = struct{} + var Messages2Where = struct{ ... } + var NicknameListingColumns = struct{ ... } + var NicknameListingRels = struct{} + var NicknameListingWhere = struct{ ... } + var TableNames = struct{ ... } + var UsernameListingColumns = struct{ ... } + var UsernameListingRels = struct{} + var UsernameListingWhere = struct{ ... } + func GuildLoggingConfigExists(ctx context.Context, exec boil.ContextExecutor, guildID int64) (bool, error) + func GuildLoggingConfigExistsG(ctx context.Context, guildID int64) (bool, error) + func GuildLoggingConfigs(mods ...qm.QueryMod) guildLoggingConfigQuery + func MessageExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func MessageExistsG(ctx context.Context, iD int) (bool, error) + func MessageLogExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func MessageLogExistsG(ctx context.Context, iD int) (bool, error) + func MessageLogs(mods ...qm.QueryMod) messageLogQuery + func MessageLogs2Exists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func MessageLogs2ExistsG(ctx context.Context, iD int) (bool, error) + func MessageLogs2s(mods ...qm.QueryMod) messageLogs2Query + func Messages(mods ...qm.QueryMod) messageQuery + func Messages2Exists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func Messages2ExistsG(ctx context.Context, iD int64) (bool, error) + func Messages2s(mods ...qm.QueryMod) messages2Query + func NewQuery(mods ...qm.QueryMod) *queries.Query + func NicknameListingExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func NicknameListingExistsG(ctx context.Context, iD int) (bool, error) + func NicknameListings(mods ...qm.QueryMod) nicknameListingQuery + func UsernameListingExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func UsernameListingExistsG(ctx context.Context, iD int) (bool, error) + func UsernameListings(mods ...qm.QueryMod) usernameListingQuery + type GuildLoggingConfig struct + BlacklistedChannels null.String + CreatedAt null.Time + EveryoneCanViewDeleted null.Bool + GuildID int64 + L guildLoggingConfigL + ManageMessagesCanViewDeleted null.Bool + MessageLogsAllowedRoles types.Int64Array + NicknameLoggingEnabled null.Bool + R *guildLoggingConfigR + UpdatedAt null.Time + UsernameLoggingEnabled null.Bool + func FindGuildLoggingConfig(ctx context.Context, exec boil.ContextExecutor, guildID int64, ...) (*GuildLoggingConfig, error) + func FindGuildLoggingConfigG(ctx context.Context, guildID int64, selectCols ...string) (*GuildLoggingConfig, error) + func (o *GuildLoggingConfig) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *GuildLoggingConfig) DeleteG(ctx context.Context) (int64, error) + func (o *GuildLoggingConfig) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *GuildLoggingConfig) InsertG(ctx context.Context, columns boil.Columns) error + func (o *GuildLoggingConfig) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *GuildLoggingConfig) ReloadG(ctx context.Context) error + func (o *GuildLoggingConfig) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *GuildLoggingConfig) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *GuildLoggingConfig) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *GuildLoggingConfig) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type GuildLoggingConfigSlice []*GuildLoggingConfig + func (o *GuildLoggingConfigSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *GuildLoggingConfigSlice) ReloadAllG(ctx context.Context) error + func (o GuildLoggingConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o GuildLoggingConfigSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o GuildLoggingConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o GuildLoggingConfigSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type M map[string]interface + type Message struct + AuthorDiscrim null.String + AuthorID null.String + AuthorUsername null.String + Content null.String + CreatedAt null.Time + Deleted null.Bool + ID int + L messageL + MessageID null.String + MessageLogID null.Int + R *messageR + Timestamp null.String + UpdatedAt null.Time + func FindMessage(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Message, error) + func FindMessageG(ctx context.Context, iD int, selectCols ...string) (*Message, error) + func (o *Message) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Message) DeleteG(ctx context.Context) (int64, error) + func (o *Message) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Message) InsertG(ctx context.Context, columns boil.Columns) error + func (o *Message) MessageLog(mods ...qm.QueryMod) messageLogQuery + func (o *Message) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Message) ReloadG(ctx context.Context) error + func (o *Message) RemoveMessageLog(ctx context.Context, exec boil.ContextExecutor, related *MessageLog) error + func (o *Message) RemoveMessageLogG(ctx context.Context, related *MessageLog) error + func (o *Message) SetMessageLog(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *Message) SetMessageLogG(ctx context.Context, insert bool, related *MessageLog) error + func (o *Message) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Message) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *Message) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *Message) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type MessageLog struct + Author null.String + AuthorID null.String + ChannelID null.String + ChannelName null.String + CreatedAt null.Time + DeletedAt null.Time + GuildID null.String + ID int + L messageLogL + R *messageLogR + UpdatedAt null.Time + func FindMessageLog(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*MessageLog, error) + func FindMessageLogG(ctx context.Context, iD int, selectCols ...string) (*MessageLog, error) + func (o *MessageLog) AddMessages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *MessageLog) AddMessagesG(ctx context.Context, insert bool, related ...*Message) error + func (o *MessageLog) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *MessageLog) DeleteG(ctx context.Context) (int64, error) + func (o *MessageLog) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *MessageLog) InsertG(ctx context.Context, columns boil.Columns) error + func (o *MessageLog) Messages(mods ...qm.QueryMod) messageQuery + func (o *MessageLog) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *MessageLog) ReloadG(ctx context.Context) error + func (o *MessageLog) RemoveMessages(ctx context.Context, exec boil.ContextExecutor, related ...*Message) error + func (o *MessageLog) RemoveMessagesG(ctx context.Context, related ...*Message) error + func (o *MessageLog) SetMessages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error + func (o *MessageLog) SetMessagesG(ctx context.Context, insert bool, related ...*Message) error + func (o *MessageLog) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *MessageLog) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *MessageLog) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *MessageLog) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type MessageLogSlice []*MessageLog + func (o *MessageLogSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *MessageLogSlice) ReloadAllG(ctx context.Context) error + func (o MessageLogSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o MessageLogSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o MessageLogSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o MessageLogSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type MessageLogs2 struct + AuthorID int64 + AuthorUsername string + ChannelID int64 + ChannelName string + CreatedAt time.Time + GuildID int64 + ID int + L messageLogs2L + LegacyID int + Messages types.Int64Array + R *messageLogs2R + UpdatedAt time.Time + func FindMessageLogs2(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*MessageLogs2, error) + func FindMessageLogs2G(ctx context.Context, iD int, selectCols ...string) (*MessageLogs2, error) + func (o *MessageLogs2) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *MessageLogs2) DeleteG(ctx context.Context) (int64, error) + func (o *MessageLogs2) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *MessageLogs2) InsertG(ctx context.Context, columns boil.Columns) error + func (o *MessageLogs2) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *MessageLogs2) ReloadG(ctx context.Context) error + func (o *MessageLogs2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *MessageLogs2) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *MessageLogs2) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *MessageLogs2) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type MessageLogs2Slice []*MessageLogs2 + func (o *MessageLogs2Slice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *MessageLogs2Slice) ReloadAllG(ctx context.Context) error + func (o MessageLogs2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o MessageLogs2Slice) DeleteAllG(ctx context.Context) (int64, error) + func (o MessageLogs2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o MessageLogs2Slice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type MessageSlice []*Message + func (o *MessageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *MessageSlice) ReloadAllG(ctx context.Context) error + func (o MessageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o MessageSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o MessageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o MessageSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type Messages2 struct + AuthorID int64 + AuthorUsername string + Content string + CreatedAt time.Time + Deleted bool + GuildID int64 + ID int64 + L messages2L + R *messages2R + UpdatedAt time.Time + func FindMessages2(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Messages2, error) + func FindMessages2G(ctx context.Context, iD int64, selectCols ...string) (*Messages2, error) + func (o *Messages2) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Messages2) DeleteG(ctx context.Context) (int64, error) + func (o *Messages2) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Messages2) InsertG(ctx context.Context, columns boil.Columns) error + func (o *Messages2) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Messages2) ReloadG(ctx context.Context) error + func (o *Messages2) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Messages2) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *Messages2) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *Messages2) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type Messages2Slice []*Messages2 + func (o *Messages2Slice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *Messages2Slice) ReloadAllG(ctx context.Context) error + func (o Messages2Slice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o Messages2Slice) DeleteAllG(ctx context.Context) (int64, error) + func (o Messages2Slice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o Messages2Slice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type NicknameListing struct + CreatedAt null.Time + DeletedAt null.Time + GuildID null.String + ID int + L nicknameListingL + Nickname null.String + R *nicknameListingR + UpdatedAt null.Time + UserID null.Int64 + func FindNicknameListing(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*NicknameListing, error) + func FindNicknameListingG(ctx context.Context, iD int, selectCols ...string) (*NicknameListing, error) + func (o *NicknameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *NicknameListing) DeleteG(ctx context.Context) (int64, error) + func (o *NicknameListing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *NicknameListing) InsertG(ctx context.Context, columns boil.Columns) error + func (o *NicknameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *NicknameListing) ReloadG(ctx context.Context) error + func (o *NicknameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *NicknameListing) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *NicknameListing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *NicknameListing) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type NicknameListingSlice []*NicknameListing + func (o *NicknameListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *NicknameListingSlice) ReloadAllG(ctx context.Context) error + func (o NicknameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o NicknameListingSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o NicknameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o NicknameListingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type UsernameListing struct + CreatedAt null.Time + DeletedAt null.Time + ID int + L usernameListingL + R *usernameListingR + UpdatedAt null.Time + UserID null.Int64 + Username null.String + func FindUsernameListing(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*UsernameListing, error) + func FindUsernameListingG(ctx context.Context, iD int, selectCols ...string) (*UsernameListing, error) + func (o *UsernameListing) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *UsernameListing) DeleteG(ctx context.Context) (int64, error) + func (o *UsernameListing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *UsernameListing) InsertG(ctx context.Context, columns boil.Columns) error + func (o *UsernameListing) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *UsernameListing) ReloadG(ctx context.Context) error + func (o *UsernameListing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *UsernameListing) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *UsernameListing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *UsernameListing) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type UsernameListingSlice []*UsernameListing + func (o *UsernameListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *UsernameListingSlice) ReloadAllG(ctx context.Context) error + func (o UsernameListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o UsernameListingSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o UsernameListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o UsernameListingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)