Documentation ¶
Index ¶
- Variables
- type Cursor
- type Engine
- type Transaction
- func (tx *Transaction) Commit() error
- func (tx *Transaction) DeleteEntity(typeID domain.Word, key []domain.Word) error
- func (tx *Transaction) GetEntities(typeID domain.Word, key []domain.Word) Cursor
- func (tx *Transaction) PutEntity(typeID domain.Word, row []domain.Word) error
- func (tx *Transaction) Rollback() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReadOnly = errors.New("read only store")
View Source
var ErrUnknownTable = errors.New("unknown table")
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Begin ¶
func (e *Engine) Begin() (*Transaction, error)
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Commit ¶
func (tx *Transaction) Commit() error
func (*Transaction) DeleteEntity ¶
func (*Transaction) GetEntities ¶
func (*Transaction) Rollback ¶
func (tx *Transaction) Rollback() error
Click to show internal directories.
Click to hide internal directories.