Versions in this module Expand all Collapse all v1 v1.0.0 Aug 24, 2023 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var SchemaMigrationColumns = struct{ ... } + var SchemaMigrationRels = struct{} + var SchemaMigrationTableColumns = struct{ ... } + var SchemaMigrationWhere = struct{ ... } + var TableNames = struct{ ... } + var TaskColumns = struct{ ... } + var TaskRels = struct{} + var TaskTableColumns = struct{ ... } + var TaskWhere = struct{ ... } + var ViewNames = struct{} + func NewQuery(mods ...qm.QueryMod) *queries.Query + func SchemaMigrationExists(ctx context.Context, exec boil.ContextExecutor, version int64) (bool, error) + func SchemaMigrations(mods ...qm.QueryMod) schemaMigrationQuery + func TaskExists(ctx context.Context, exec boil.ContextExecutor, iD uint64) (bool, error) + func Tasks(mods ...qm.QueryMod) taskQuery + type M map[string]interface + type SchemaMigration struct + Dirty bool + L schemaMigrationL + R *schemaMigrationR + Version int64 + func FindSchemaMigration(ctx context.Context, exec boil.ContextExecutor, version int64, ...) (*SchemaMigration, error) + func (o *SchemaMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *SchemaMigration) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error) + func (o *SchemaMigration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *SchemaMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *SchemaMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *SchemaMigration) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type SchemaMigrationSlice []*SchemaMigration + func (o *SchemaMigrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o SchemaMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o SchemaMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type Task struct + Color null.String + CreatedAt null.Time + DeletedAt null.Time + Description null.String + DoneAt null.Time + ID uint64 + L taskL + R *taskR + StartsAt null.Time + Title null.String + UpdatedAt null.Time + func FindTask(ctx context.Context, exec boil.ContextExecutor, iD uint64, ...) (*Task, error) + func (o *Task) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Task) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error) + func (o *Task) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Task) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Task) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Task) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type TaskSlice []*Task + func (o *TaskSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o TaskSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o TaskSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)