orient

package
Version: v1.0.0-...-26db8b9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidTxState

type InvalidTxState struct {
	// contains filtered or unexported fields
}

func (InvalidTxState) Error

func (itx InvalidTxState) Error() string

type Tx

type Tx struct {
	// contains filtered or unexported fields
}

TODO: should this be an interface?

func TxBegin

func TxBegin(dbc *obinary.DBClient) *Tx

func (*Tx) Commit

func (tx *Tx) Commit() error

func (*Tx) Create

func (tx *Tx) Create(doc *oschema.ODocument, docs ...*oschema.ODocument)

func (*Tx) Delete

func (tx *Tx) Delete(doc *oschema.ODocument, docs ...*oschema.ODocument)

func (*Tx) Rollback

func (tx *Tx) Rollback() error

func (*Tx) Update

func (tx *Tx) Update(doc *oschema.ODocument, docs ...*oschema.ODocument)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL