Versions in this module Expand all Collapse all v1 v1.4.5 Sep 26, 2020 v1.4.4 Sep 22, 2020 v1.4.3 Sep 13, 2020 Changes in this version type Application + I18nApplicationName null.JSON v1.4.2 Sep 8, 2020 v1.4.1 Sep 4, 2020 Changes in this version + var ApplicationColumns = struct{ ... } + var ApplicationRels = struct{} + var ApplicationWhere = struct{ ... } + var BindingColumns = struct{ ... } + var BindingRels = struct{} + var BindingWhere = struct{ ... } + var DeviceAppColumns = struct{ ... } + var DeviceAppRels = struct{} + var DeviceAppWhere = struct{ ... } + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var OauthAuthorizationCodeColumns = struct{ ... } + var OauthAuthorizationCodeRels = struct{} + var OauthAuthorizationCodeWhere = struct{ ... } + var OauthClientColumns = struct{ ... } + var OauthClientRels = struct{} + var OauthClientWhere = struct{ ... } + var RbacRoleColumns = struct{ ... } + var RbacRoleRels = struct{} + var RbacRoleScopeColumns = struct{ ... } + var RbacRoleScopeRels = struct{} + var RbacRoleScopeWhere = struct{ ... } + var RbacRoleWhere = struct{ ... } + var RbacScopeColumns = struct{ ... } + var RbacScopeRels = struct{} + var RbacScopeWhere = struct{ ... } + var RbacUserApplicationRoleColumns = struct{ ... } + var RbacUserApplicationRoleRels = struct{} + var RbacUserApplicationRoleWhere = struct{ ... } + var RefreshTokenColumns = struct{ ... } + var RefreshTokenRels = struct{} + var RefreshTokenWhere = struct{ ... } + var SaltColumns = struct{ ... } + var SaltRels = struct{} + var SaltWhere = struct{ ... } + var TableNames = struct{ ... } + var UserColumns = struct{ ... } + var UserRels = struct{} + var UserWhere = struct{ ... } + func AddApplicationHook(hookPoint boil.HookPoint, applicationHook ApplicationHook) + func AddBindingHook(hookPoint boil.HookPoint, bindingHook BindingHook) + func AddDeviceAppHook(hookPoint boil.HookPoint, deviceAppHook DeviceAppHook) + func AddOauthAuthorizationCodeHook(hookPoint boil.HookPoint, ...) + func AddOauthClientHook(hookPoint boil.HookPoint, oauthClientHook OauthClientHook) + func AddRbacRoleHook(hookPoint boil.HookPoint, rbacRoleHook RbacRoleHook) + func AddRbacRoleScopeHook(hookPoint boil.HookPoint, rbacRoleScopeHook RbacRoleScopeHook) + func AddRbacScopeHook(hookPoint boil.HookPoint, rbacScopeHook RbacScopeHook) + func AddRbacUserApplicationRoleHook(hookPoint boil.HookPoint, ...) + func AddRefreshTokenHook(hookPoint boil.HookPoint, refreshTokenHook RefreshTokenHook) + func AddSaltHook(hookPoint boil.HookPoint, saltHook SaltHook) + func AddUserHook(hookPoint boil.HookPoint, userHook UserHook) + func ApplicationExists(exec boil.Executor, iD uint) (bool, error) + func Applications(mods ...qm.QueryMod) applicationQuery + func BindingExists(exec boil.Executor, iD uint) (bool, error) + func Bindings(mods ...qm.QueryMod) bindingQuery + func DeviceAppExists(exec boil.Executor, iD uint) (bool, error) + func DeviceApps(mods ...qm.QueryMod) deviceAppQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func OauthAuthorizationCodeExists(exec boil.Executor, iD uint) (bool, error) + func OauthAuthorizationCodes(mods ...qm.QueryMod) oauthAuthorizationCodeQuery + func OauthClientExists(exec boil.Executor, iD uint) (bool, error) + func OauthClients(mods ...qm.QueryMod) oauthClientQuery + func RbacRoleExists(exec boil.Executor, iD uint) (bool, error) + func RbacRoleScopeExists(exec boil.Executor, iD uint) (bool, error) + func RbacRoleScopes(mods ...qm.QueryMod) rbacRoleScopeQuery + func RbacRoles(mods ...qm.QueryMod) rbacRoleQuery + func RbacScopeExists(exec boil.Executor, iD uint) (bool, error) + func RbacScopes(mods ...qm.QueryMod) rbacScopeQuery + func RbacUserApplicationRoleExists(exec boil.Executor, iD uint) (bool, error) + func RbacUserApplicationRoles(mods ...qm.QueryMod) rbacUserApplicationRoleQuery + func RefreshTokenExists(exec boil.Executor, iD uint) (bool, error) + func RefreshTokens(mods ...qm.QueryMod) refreshTokenQuery + func SaltExists(exec boil.Executor, iD uint) (bool, error) + func Salts(mods ...qm.QueryMod) saltQuery + func UserExists(exec boil.Executor, iD uint) (bool, error) + func Users(mods ...qm.QueryMod) userQuery + type Application struct + CreatedAt null.Time + DefaultRole null.Uint + DeletedAt null.Time + ID uint + L applicationL + Name string + R *applicationR + UpdatedAt null.Time + Webhook string + func FindApplication(exec boil.Executor, iD uint, selectCols ...string) (*Application, error) + func (o *Application) Delete(exec boil.Executor) (int64, error) + func (o *Application) Insert(exec boil.Executor, columns boil.Columns) error + func (o *Application) Reload(exec boil.Executor) error + func (o *Application) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *Application) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type ApplicationHook func(boil.Executor, *Application) error + type ApplicationSlice []*Application + func (o *ApplicationSlice) ReloadAll(exec boil.Executor) error + func (o ApplicationSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o ApplicationSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type Binding struct + CreatedAt null.Time + DeletedAt null.Time + ID uint + IdentifyToken string + L bindingL + LoginType string + Mail string + R *bindingR + UpdatedAt null.Time + UserID uint + Verified null.Bool + func FindBinding(exec boil.Executor, iD uint, selectCols ...string) (*Binding, error) + func (o *Binding) Delete(exec boil.Executor) (int64, error) + func (o *Binding) Insert(exec boil.Executor, columns boil.Columns) error + func (o *Binding) Reload(exec boil.Executor) error + func (o *Binding) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *Binding) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type BindingHook func(boil.Executor, *Binding) error + type BindingSlice []*Binding + func (o *BindingSlice) ReloadAll(exec boil.Executor) error + func (o BindingSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o BindingSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type DeviceApp struct + AppID uint + CreatedAt null.Time + DeletedAt null.Time + DeviceID string + ID uint + L deviceAppL + R *deviceAppR + UpdatedAt null.Time + func FindDeviceApp(exec boil.Executor, iD uint, selectCols ...string) (*DeviceApp, error) + func (o *DeviceApp) Delete(exec boil.Executor) (int64, error) + func (o *DeviceApp) Insert(exec boil.Executor, columns boil.Columns) error + func (o *DeviceApp) Reload(exec boil.Executor) error + func (o *DeviceApp) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *DeviceApp) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type DeviceAppHook func(boil.Executor, *DeviceApp) error + type DeviceAppSlice []*DeviceApp + func (o *DeviceAppSlice) ReloadAll(exec boil.Executor) error + func (o DeviceAppSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o DeviceAppSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type M map[string]interface + type OauthAuthorizationCode struct + AppID uint + ClientID uint + Code string + CreatedAt null.Time + DeletedAt null.Time + ExpireAt time.Time + ID uint + L oauthAuthorizationCodeL + R *oauthAuthorizationCodeR + RedirectURI string + Scopes string + UpdatedAt null.Time + UserID uint + func FindOauthAuthorizationCode(exec boil.Executor, iD uint, selectCols ...string) (*OauthAuthorizationCode, error) + func (o *OauthAuthorizationCode) Delete(exec boil.Executor) (int64, error) + func (o *OauthAuthorizationCode) Insert(exec boil.Executor, columns boil.Columns) error + func (o *OauthAuthorizationCode) Reload(exec boil.Executor) error + func (o *OauthAuthorizationCode) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *OauthAuthorizationCode) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type OauthAuthorizationCodeHook func(boil.Executor, *OauthAuthorizationCode) error + type OauthAuthorizationCodeSlice []*OauthAuthorizationCode + func (o *OauthAuthorizationCodeSlice) ReloadAll(exec boil.Executor) error + func (o OauthAuthorizationCodeSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o OauthAuthorizationCodeSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type OauthClient struct + CreatedAt null.Time + DeletedAt null.Time + ID uint + Key string + L oauthClientL + R *oauthClientR + RedirectURI string + Secret string + Status string + UpdatedAt null.Time + UserID uint + func FindOauthClient(exec boil.Executor, iD uint, selectCols ...string) (*OauthClient, error) + func (o *OauthClient) Delete(exec boil.Executor) (int64, error) + func (o *OauthClient) Insert(exec boil.Executor, columns boil.Columns) error + func (o *OauthClient) Reload(exec boil.Executor) error + func (o *OauthClient) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *OauthClient) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type OauthClientHook func(boil.Executor, *OauthClient) error + type OauthClientSlice []*OauthClient + func (o *OauthClientSlice) ReloadAll(exec boil.Executor) error + func (o OauthClientSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o OauthClientSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type RbacRole struct + AppID uint + CreatedAt null.Time + DefaultScope null.Uint + DeletedAt null.Time + ID uint + L rbacRoleL + Name string + R *rbacRoleR + UpdatedAt null.Time + func FindRbacRole(exec boil.Executor, iD uint, selectCols ...string) (*RbacRole, error) + func (o *RbacRole) Delete(exec boil.Executor) (int64, error) + func (o *RbacRole) Insert(exec boil.Executor, columns boil.Columns) error + func (o *RbacRole) Reload(exec boil.Executor) error + func (o *RbacRole) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *RbacRole) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type RbacRoleHook func(boil.Executor, *RbacRole) error + type RbacRoleScope struct + CreatedAt null.Time + DeletedAt null.Time + ID uint + L rbacRoleScopeL + R *rbacRoleScopeR + RoleID uint + ScopeID uint + UpdatedAt null.Time + func FindRbacRoleScope(exec boil.Executor, iD uint, selectCols ...string) (*RbacRoleScope, error) + func (o *RbacRoleScope) Delete(exec boil.Executor) (int64, error) + func (o *RbacRoleScope) Insert(exec boil.Executor, columns boil.Columns) error + func (o *RbacRoleScope) Reload(exec boil.Executor) error + func (o *RbacRoleScope) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *RbacRoleScope) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type RbacRoleScopeHook func(boil.Executor, *RbacRoleScope) error + type RbacRoleScopeSlice []*RbacRoleScope + func (o *RbacRoleScopeSlice) ReloadAll(exec boil.Executor) error + func (o RbacRoleScopeSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o RbacRoleScopeSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type RbacRoleSlice []*RbacRole + func (o *RbacRoleSlice) ReloadAll(exec boil.Executor) error + func (o RbacRoleSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o RbacRoleSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type RbacScope struct + AppID uint + CreatedAt null.Time + DeletedAt null.Time + ID uint + L rbacScopeL + Name string + R *rbacScopeR + UpdatedAt null.Time + func FindRbacScope(exec boil.Executor, iD uint, selectCols ...string) (*RbacScope, error) + func (o *RbacScope) Delete(exec boil.Executor) (int64, error) + func (o *RbacScope) Insert(exec boil.Executor, columns boil.Columns) error + func (o *RbacScope) Reload(exec boil.Executor) error + func (o *RbacScope) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *RbacScope) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type RbacScopeHook func(boil.Executor, *RbacScope) error + type RbacScopeSlice []*RbacScope + func (o *RbacScopeSlice) ReloadAll(exec boil.Executor) error + func (o RbacScopeSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o RbacScopeSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type RbacUserApplicationRole struct + AppID uint + CreatedAt null.Time + DeletedAt null.Time + ID uint + L rbacUserApplicationRoleL + R *rbacUserApplicationRoleR + RoleID uint + UpdatedAt null.Time + UserID uint + func FindRbacUserApplicationRole(exec boil.Executor, iD uint, selectCols ...string) (*RbacUserApplicationRole, error) + func (o *RbacUserApplicationRole) Delete(exec boil.Executor) (int64, error) + func (o *RbacUserApplicationRole) Insert(exec boil.Executor, columns boil.Columns) error + func (o *RbacUserApplicationRole) Reload(exec boil.Executor) error + func (o *RbacUserApplicationRole) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *RbacUserApplicationRole) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type RbacUserApplicationRoleHook func(boil.Executor, *RbacUserApplicationRole) error + type RbacUserApplicationRoleSlice []*RbacUserApplicationRole + func (o *RbacUserApplicationRoleSlice) ReloadAll(exec boil.Executor) error + func (o RbacUserApplicationRoleSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o RbacUserApplicationRoleSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type RefreshToken struct + CreatedAt null.Time + DeletedAt null.Time + DeviceAppID uint + ExpireAt time.Time + ID uint + L refreshTokenL + R *refreshTokenR + RefreshToken string + Scopes null.String + UpdatedAt null.Time + UserID uint + func FindRefreshToken(exec boil.Executor, iD uint, selectCols ...string) (*RefreshToken, error) + func (o *RefreshToken) Delete(exec boil.Executor) (int64, error) + func (o *RefreshToken) Insert(exec boil.Executor, columns boil.Columns) error + func (o *RefreshToken) Reload(exec boil.Executor) error + func (o *RefreshToken) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *RefreshToken) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type RefreshTokenHook func(boil.Executor, *RefreshToken) error + type RefreshTokenSlice []*RefreshToken + func (o *RefreshTokenSlice) ReloadAll(exec boil.Executor) error + func (o RefreshTokenSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o RefreshTokenSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type Salt struct + CreatedAt null.Time + DeletedAt null.Time + ID uint + L saltL + R *saltR + Salt string + UpdatedAt null.Time + UserID uint + func FindSalt(exec boil.Executor, iD uint, selectCols ...string) (*Salt, error) + func (o *Salt) Delete(exec boil.Executor) (int64, error) + func (o *Salt) Insert(exec boil.Executor, columns boil.Columns) error + func (o *Salt) Reload(exec boil.Executor) error + func (o *Salt) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *Salt) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type SaltHook func(boil.Executor, *Salt) error + type SaltSlice []*Salt + func (o *SaltSlice) ReloadAll(exec boil.Executor) error + func (o SaltSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o SaltSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) + type User struct + Avatar null.String + CreatedAt null.Time + DeletedAt null.Time + ID uint + L userL + Name string + Password null.String + R *userR + UpdatedAt null.Time + Verified null.Bool + func FindUser(exec boil.Executor, iD uint, selectCols ...string) (*User, error) + func (o *User) Delete(exec boil.Executor) (int64, error) + func (o *User) Insert(exec boil.Executor, columns boil.Columns) error + func (o *User) Reload(exec boil.Executor) error + func (o *User) Update(exec boil.Executor, columns boil.Columns) (int64, error) + func (o *User) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error + type UserHook func(boil.Executor, *User) error + type UserSlice []*User + func (o *UserSlice) ReloadAll(exec boil.Executor) error + func (o UserSlice) DeleteAll(exec boil.Executor) (int64, error) + func (o UserSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)