memory

package
v0.0.0-...-fbe7d06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2015 License: MIT Imports: 7 Imported by: 2

Documentation

Index

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 New

func New() *Backend

func (*Backend) Build

func (b *Backend) Build()

func (*Backend) Clone

func (b *Backend) Clone() db.Backend

func (*Backend) Count

func (b *Backend) Count(q *db.Query) (int, apperror.Error)

func (Backend) DetermineMigrationVersion

func (b Backend) DetermineMigrationVersion() (int, apperror.Error)

func (*Backend) Exec

func (b *Backend) Exec(statement Expression) apperror.Error

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 (b *Backend) HasNativeJoins() bool

func (*Backend) HasStringIds

func (b *Backend) HasStringIds() bool

func (Backend) IsMigrationLocked

func (b Backend) IsMigrationLocked() (bool, apperror.Error)

func (Backend) MigrationsSetup

func (b Backend) MigrationsSetup() apperror.Error

func (Backend) NewMigrationAttempt

func (b Backend) NewMigrationAttempt() db.MigrationAttempt

func (*Backend) RegisterModel

func (b *Backend) RegisterModel(m interface{}) *db.ModelInfo

type MigrationAttempt

type MigrationAttempt struct {
	db.BaseMigrationAttemptIntId
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL