Versions in this module Expand all Collapse all v0 v0.0.3 Nov 10, 2019 v0.0.2 Nov 8, 2019 Changes in this version + var AuthColumns = struct{ ... } + var AuthRels = struct{ ... } + var AuthWhere = struct{ ... } + var ErrSyncFail = errors.New("schema: failed to synchronize data after insert") + var PersonColumns = struct{ ... } + var PersonRels = struct{ ... } + var PersonWhere = struct{ ... } + var TableNames = struct{ ... } + func AddAuthHook(hookPoint boil.HookPoint, authHook AuthHook) + func AddPersonHook(hookPoint boil.HookPoint, personHook PersonHook) + func AuthExists(ctx context.Context, exec boil.ContextExecutor, iD uint64) (bool, error) + func Auths(mods ...qm.QueryMod) authQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func PersonExists(ctx context.Context, exec boil.ContextExecutor, iD uint64) (bool, error) + func Persons(mods ...qm.QueryMod) personQuery + type Auth struct + CreatedAt time.Time + Email string + EmailConfirmTime null.Time + EmailConfirmToken string + EmailConfirmed null.Bool + ID uint64 + IsDeleted null.Bool + L authL + LastIPAddress string + LastLoginAt null.Time + LastUserAgent string + Locked null.Bool + LockedByUserID null.Uint64 + LockedTime null.Time + LoginCount null.Uint + ModifiedAt time.Time + PasswordDigest string + PersonID uint64 + R *authR + ResetForce null.Bool + ResetPasswordTime null.Time + ResetPasswordToken string + ResetTokenExpiresAt null.Time + YubikeyBackupDigest string + YubikeyDigest string + func FindAuth(ctx context.Context, exec boil.ContextExecutor, iD uint64, ...) (*Auth, error) + func (o *Auth) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Auth) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Auth) Person(mods ...qm.QueryMod) personQuery + func (o *Auth) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Auth) SetPerson(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Person) error + func (o *Auth) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Auth) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type AuthHook func(context.Context, boil.ContextExecutor, *Auth) error + type AuthSlice []*Auth + func (o *AuthSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o AuthSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o AuthSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type M map[string]interface + type Person struct + CreatedAt time.Time + Email string + FirstName string + ID uint64 + IsDeleted null.Bool + L personL + LastName string + MiddleName string + ModifiedAt time.Time + R *personR + func FindPerson(ctx context.Context, exec boil.ContextExecutor, iD uint64, ...) (*Person, error) + func (o *Person) Auth(mods ...qm.QueryMod) authQuery + func (o *Person) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Person) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Person) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Person) SetAuth(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Auth) error + func (o *Person) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Person) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type PersonHook func(context.Context, boil.ContextExecutor, *Person) error + type PersonSlice []*Person + func (o *PersonSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o PersonSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o PersonSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)