orm

package
v0.0.0-...-edb78a7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityManager

type EntityManager interface {
	Insert(entity interface{}) error
	Update(entity interface{}) error
	Delete(entity interface{}) error
	Select(entity interface{}, sql string, args map[string]interface{}) error
	Get(entity interface{}, sql string, args map[string]interface{}) error
	SetDebug(value bool)
	IsDebug() bool
	BindIn(args ...interface{}) (string, map[string]interface{})
}

func NewEntityManager

func NewEntityManager(dbmap *gorp.DbMap) EntityManager

func NewEntityManagerWithTransaction

func NewEntityManagerWithTransaction(dbmap *gorp.Transaction) EntityManager

Directories

Path Synopsis
Package null contains types that consider zero input and null input as separate values.
Package null contains types that consider zero input and null input as separate values.

Jump to

Keyboard shortcuts

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