Documentation ¶
Index ¶
- type Backend
- func (b *Backend) Build()
- func (b *Backend) Clone() db.Backend
- func (b *Backend) Count(q *db.Query) (int, apperror.Error)
- func (b Backend) DetermineMigrationVersion() (int, apperror.Error)
- func (b *Backend) Exec(statement Expression) apperror.Error
- func (b *Backend) ExecQuery(statement FieldedExpression) ([]interface{}, apperror.Error)
- func (b Backend) GetMigrationHandler() *db.MigrationHandler
- func (b *Backend) HasNativeJoins() bool
- func (b *Backend) HasStringIds() bool
- func (b Backend) IsMigrationLocked() (bool, apperror.Error)
- func (b Backend) MigrationsSetup() apperror.Error
- func (b Backend) NewMigrationAttempt() db.MigrationAttempt
- func (b *Backend) RegisterModel(m interface{}) *db.ModelInfo
- type MigrationAttempt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { db.BaseBackend MigrationHandler *db.MigrationHandler MigrationVersion int // contains filtered or unexported fields }
func (Backend) DetermineMigrationVersion ¶
func (*Backend) ExecQuery ¶
func (b *Backend) ExecQuery(statement FieldedExpression) ([]interface{}, apperror.Error)
func (Backend) GetMigrationHandler ¶
func (b Backend) GetMigrationHandler() *db.MigrationHandler
func (*Backend) HasNativeJoins ¶
func (*Backend) HasStringIds ¶
func (Backend) IsMigrationLocked ¶
func (Backend) MigrationsSetup ¶
func (b Backend) MigrationsSetup() apperror.Error
func (Backend) NewMigrationAttempt ¶
func (b Backend) NewMigrationAttempt() db.MigrationAttempt
func (*Backend) RegisterModel ¶
type MigrationAttempt ¶
type MigrationAttempt struct {
db.BaseMigrationAttemptIntId
}
Click to show internal directories.
Click to hide internal directories.