Versions in this module Expand all Collapse all v1 v1.0.2 May 23, 2022 v1.0.1 Apr 23, 2022 v1.0.0 Jan 20, 2022 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var ModelColumns = struct{ ... } + var ModelRels = struct{} + var ModelTableColumns = struct{ ... } + var ModelWhere = struct{ ... } + var TableNames = struct{ ... } + func AddModelHook(hookPoint boil.HookPoint, modelHook ModelHook) + func ModelExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func Models(mods ...qm.QueryMod) modelQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + type M map[string]interface + type Model struct + Age int64 + Counter int64 + Fax string + ID int64 + L modelL + Name string + R *modelR + Right bool + Title string + Web string + func FindModel(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Model, error) + func (o *Model) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Model) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Model) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Model) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Model) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + type ModelHook func(context.Context, boil.ContextExecutor, *Model) error + type ModelSlice []*Model + func (o *ModelSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o ModelSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o ModelSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)