Versions in this module Expand all Collapse all v0 v0.9.4 Oct 13, 2020 v0.9.3 Oct 9, 2020 v0.9.2 Oct 9, 2020 v0.9.1 Oct 9, 2020 v0.9.0 Oct 9, 2020 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var TableNames = struct{ ... } + var UserColumns = struct{ ... } + var UserRels = struct{} + var UserWhere = struct{ ... } + func AddUserHook(hookPoint boil.HookPoint, userHook UserHook) + func NewQuery(mods ...qm.QueryMod) *queries.Query + func UserExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error) + func Users(mods ...qm.QueryMod) userQuery + type M map[string]interface + type User struct + ID int + L userL + LastCrossover null.Time + Latitude float64 + Longitude float64 + PrivateKey string + PublicKey string + PushURL string + R *userR + Threshold float64 + func FindUser(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*User, error) + func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error + type UserHook func(context.Context, boil.ContextExecutor, *User) error + type UserSlice []*User + func (o *UserSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o UserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o UserSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)