Versions in this module Expand all Collapse all v0 v0.1.0 Mar 13, 2022 Changes in this version + var AccountColumns = struct{ ... } + var AccountRels = struct{} + var AccountTableColumns = struct{ ... } + var AccountWhere = struct{ ... } + var ChannelColumns = struct{ ... } + var ChannelRels = struct{} + var ChannelTableColumns = struct{ ... } + var ChannelWhere = struct{ ... } + var ErrSyncFail = errors.New("psql_model: failed to synchronize data after insert") + var InputColumns = struct{ ... } + var InputRels = struct{} + var InputTableColumns = struct{ ... } + var InputWhere = struct{ ... } + var MessageColumns = struct{ ... } + var MessageRels = struct{} + var MessageTableColumns = struct{ ... } + var MessageWhere = struct{ ... } + var TableNames = struct{ ... } + func AccountExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error) + func AccountExistsG(ctx context.Context, iD string) (bool, error) + func Accounts(mods ...qm.QueryMod) accountQuery + func ChannelExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error) + func ChannelExistsG(ctx context.Context, iD string) (bool, error) + func Channels(mods ...qm.QueryMod) channelQuery + func InputExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func InputExistsG(ctx context.Context, iD int64) (bool, error) + func Inputs(mods ...qm.QueryMod) inputQuery + func MessageExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error) + func MessageExistsG(ctx context.Context, iD string) (bool, error) + func Messages(mods ...qm.QueryMod) messageQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + type Account struct + ID string + L accountL + R *accountR + TelegramID int64 + Version int64 + func FindAccount(ctx context.Context, exec boil.ContextExecutor, iD string, ...) (*Account, error) + func FindAccountG(ctx context.Context, iD string, selectCols ...string) (*Account, error) + func (o *Account) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Account) DeleteG(ctx context.Context) (int64, error) + func (o *Account) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Account) InsertG(ctx context.Context, columns boil.Columns) error + func (o *Account) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Account) ReloadG(ctx context.Context) error + func (o *Account) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Account) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *Account) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *Account) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type AccountSlice []*Account + func (o *AccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *AccountSlice) ReloadAllG(ctx context.Context) error + func (o AccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o AccountSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o AccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o AccountSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type Channel struct + Hashtags types.StringArray + ID string + L channelL + R *channelR + func FindChannel(ctx context.Context, exec boil.ContextExecutor, iD string, ...) (*Channel, error) + func FindChannelG(ctx context.Context, iD string, selectCols ...string) (*Channel, error) + func (o *Channel) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Channel) DeleteG(ctx context.Context) (int64, error) + func (o *Channel) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Channel) InsertG(ctx context.Context, columns boil.Columns) error + func (o *Channel) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Channel) ReloadG(ctx context.Context) error + func (o *Channel) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Channel) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *Channel) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *Channel) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type ChannelSlice []*Channel + func (o *ChannelSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *ChannelSlice) ReloadAllG(ctx context.Context) error + func (o ChannelSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ChannelSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o ChannelSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o ChannelSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type Input struct + Description string + ID int64 + Inputtype string + L inputL + Name string + OwnerID int64 + R *inputR + Version int64 + func FindInput(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Input, error) + func FindInputG(ctx context.Context, iD int64, selectCols ...string) (*Input, error) + func (o *Input) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Input) DeleteG(ctx context.Context) (int64, error) + func (o *Input) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Input) InsertG(ctx context.Context, columns boil.Columns) error + func (o *Input) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Input) ReloadG(ctx context.Context) error + func (o *Input) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Input) UpdateG(ctx context.Context, columns boil.Columns) (int64, error) + func (o *Input) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + func (o *Input) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error + type InputSlice []*Input + func (o *InputSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o *InputSlice) ReloadAllG(ctx context.Context) error + func (o InputSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o InputSlice) DeleteAllG(ctx context.Context) (int64, error) + func (o InputSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + func (o InputSlice) UpdateAllG(ctx context.Context, cols M) (int64, error) + type M map[string]interface + type Message struct + ChannelMessages types.JSON + Hashtags types.StringArray + ID string + L messageL + R *messageR + func FindMessage(ctx context.Context, exec boil.ContextExecutor, iD string, ...) (*Message, error) + func FindMessageG(ctx context.Context, iD string, 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) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Message) ReloadG(ctx context.Context) 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 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)