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)
Click to show internal directories.
Click to hide internal directories.