Versions in this module Expand all Collapse all v1 v1.19.1 May 31, 2019 v1.19.0 May 31, 2019 v1.18.3 May 28, 2019 v1.18.1 May 13, 2019 v1.18.0 May 13, 2019 v1.17.3 Apr 30, 2019 v1.17.2 Apr 10, 2019 v1.17.1 Apr 2, 2019 v1.17.0 Apr 1, 2019 v1.16.4 Mar 24, 2019 v1.16.3 Mar 24, 2019 v1.16.2 Mar 9, 2019 v1.16.1 Mar 3, 2019 v1.16.0 Mar 2, 2019 v1.15.4 Feb 28, 2019 v1.15.3 Feb 22, 2019 v1.15.2 Feb 9, 2019 v1.15.1 Feb 5, 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 MessageRels = struct{ ... } + var MessageWhere = 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 Messages(mods ...qm.QueryMod) messageQuery + 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 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 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)