Documentation ¶
Overview ¶
db
Index ¶
- Variables
- func Exec(sql string, args ...interface{}) (sql.Result, error)
- func ExecAndErrorResultData(sql string, args ...interface{}) (sql.Result, *golib.ResultData)
- func FilteredSQLInject(to_match_str string) bool
- func Hi()
- func Query(sql string, args ...interface{}) (*sql.Rows, error)
- func QueryAndErrorResultData(sql string, args ...interface{}) (*sql.Rows, *golib.ResultData)
- func SpliceKeyValue(data map[string]string, separator string, separator2 string) string
- func SpliceKeyValueForSqlLike(data map[string]string, separator string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *sql.DB
Functions ¶
func ExecAndErrorResultData ¶
func ExecAndErrorResultData(sql string, args ...interface{}) (sql.Result, *golib.ResultData)
func QueryAndErrorResultData ¶
func QueryAndErrorResultData(sql string, args ...interface{}) (*sql.Rows, *golib.ResultData)
func SpliceKeyValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.