Documentation
¶
Index ¶
Constants ¶
View Source
const (
QueryForMySQL = "SELECT TABLE_NAME AS table_name, COLUMN_NAME AS column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = DATABASE();"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { // Query executes the given query with args. Query(query string, args ...interface{}) (*sql.Rows, error) }
DB is an interface to execute queries.
Click to show internal directories.
Click to hide internal directories.