Versions in this module Expand all Collapse all v1 v1.0.0 Feb 15, 2021 Changes in this version + const PostTypeComic + const PostTypeScrote + const PostTypeUnknown + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var GuildColumns = struct{ ... } + var GuildRels = struct{ ... } + var GuildWhere = struct{ ... } + var PostColumns = struct{ ... } + var PostRels = struct{ ... } + var PostWhere = struct{ ... } + var TableNames = struct{ ... } + func GuildExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func Guilds(mods ...qm.QueryMod) guildQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func PostExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func Posts(mods ...qm.QueryMod) postQuery + type Guild struct + CreatedAt time.Time + Emote null.String + ID int64 + L guildL + R *guildR + Snowflake string + UpdatedAt time.Time + func FindGuild(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Guild, error) + func (o *Guild) AddSnowflakePosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error + func (o *Guild) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Guild) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Guild) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Guild) SnowflakePosts(mods ...qm.QueryMod) postQuery + func (o *Guild) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Guild) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + type GuildSlice []*Guild + func (o *GuildSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o GuildSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o GuildSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type M map[string]interface + type Post struct + CreatedAt time.Time + Description null.String + Hash string + ID int64 + L postL + Path string + R *postR + Snowflake string + Title string + Type string + UpdatedAt time.Time + func FindPost(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Post, error) + func (o *Post) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Post) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Post) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Post) SetSnowflakeGuild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Guild) error + func (o *Post) SnowflakeGuild(mods ...qm.QueryMod) guildQuery + func (o *Post) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Post) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + type PostSlice []*Post + func (o *PostSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o PostSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o PostSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)