Documentation ¶
Index ¶
- func ExecuteWithConn(conn *sql.DB, command string) error
- func FetchRawGenerator(conn *sql.DB, command string) <-chan *GenRow
- func FetchRawWithConn(conn *sql.DB, command string) ([][]sql.RawBytes, error)
- func FetchWithConn(conn *sql.DB, command string, ...) ([]interface{}, error)
- func PushBulk(conn *sql.DB, command string, items []string) error
- type DataHandler
- type GenRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteWithConn ¶
ExecuteWithConn used to execute sql command such as insert, delete
func FetchRawGenerator ¶
FetchRawGenerator used to query data with a established connection
func FetchRawWithConn ¶
FetchRawWithConn (NOT SUGGEST TO USE DUE TO MEMORY BUG)used to query data with a established connection
Types ¶
type DataHandler ¶
DataHandler used process the raw data to target object
Click to show internal directories.
Click to hide internal directories.