adapter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 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 IDatabaseAPI

type IDatabaseAPI interface {
	Create(table string, obj map[string]interface{}) (rs sql.Result, errorMessage *ErrorMessage)
	Update(table string, id interface{}, obj map[string]interface{}) (rs sql.Result, errorMessage *ErrorMessage)
	Delete(table string, id interface{}, obj map[string]interface{}) (rs sql.Result, errorMessage *ErrorMessage)
	Select(option QueryOption) (rs []map[string]interface{}, errorMessage *ErrorMessage)
	SelectTotalCount(option QueryOption) (totalCount int, errorMessage *ErrorMessage)
	GetDatabaseMetadata() *DataBaseMetadata
	UpdateAPIMetadata() (api IDatabaseAPI)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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