db

package
v0.0.0-...-8e44b2c Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	CheckTableExists(tableName string) (bool, error)
	Close() error
	InitTable(createStatement string, tableName string) error
	Insert(insertStatement string, data ...interface{}) (int64, error)
	Update(updateStatement string, data ...interface{}) error
	MetaGoTable(name string) (*godata.GoMetaTable, error)
	Select(query string, data ...interface{}) (*godata.GoSelect, error)
	Drop(dropStatment string) error
}

func NewConnection

func NewConnection(dbDriver string) (Connection, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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