Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradfitz/go-sql-test
/ functions
Functions
1,284 in github.com/bradfitz/go-sql-test
⨍
Functions
1,284
◇
Types & classes
170
Method
Prepare
(query string)
src/code.google.com/p/go-mysql-driver/mysql/connection.go:153
Method
Prepare
(q string)
src/github.com/lib/pq/conn.go:535
Method
Prepare
Prepare creates a prepared statement with name and sql. sql can contain placeholders for bound parameters. These placeholders are referenced positiona
src/github.com/jackc/pgx/conn.go:251
Method
Prepare
(query string)
src/github.com/jackc/pgx/stdlib/sql.go:126
Method
Prepare
Prepare the query for execution, return a prepared statement and error
src/github.com/tgulacsi/goracle/godrv/driver.go:35
Method
Prepare
(query string)
src/github.com/ziutek/mymysql/godrv/driver.go:22
Method
Prepare
Prepare server side statement. Return statement handler.
src/github.com/ziutek/mymysql/native/mysql.go:401
Method
Prepare
(sql string)
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:121
Method
Prepare
Automatic connect/reconnect/repeat version of Prepare
src/github.com/ziutek/mymysql/autorc/autorecon.go:101
Method
Prepare
(query string)
src/github.com/mattn/go-sqlite3/sqlite3.go:122
Function
Query
This call Start and next call GetRow as long as it reads all rows from the result. Next it returns all readed rows as the slice of rows.
src/github.com/ziutek/mymysql/mysql/utils.go:5
Method
Query
(args []driver.Value)
src/code.google.com/p/go-mysql-driver/mysql/statement.go:84
Method
Query
(v []driver.Value)
src/github.com/lib/pq/copy.go:171
Method
Query
Implement the "Queryer" interface
src/github.com/lib/pq/conn.go:556
Method
Query
(v []driver.Value)
src/github.com/lib/pq/conn.go:855
Method
Query
(query string, argsV []driver.Value)
src/github.com/jackc/pgx/stdlib/sql.go:174
Method
Query
(argsV []driver.Value)
src/github.com/jackc/pgx/stdlib/sql.go:206
Method
Query
(args []driver.Value)
src/github.com/tgulacsi/goracle/godrv/driver.go:137
Method
Query
(args []driver.Value)
src/github.com/ziutek/mymysql/godrv/driver.go:86
Method
Query
See mysql.Query
src/github.com/ziutek/mymysql/native/mysql.go:666
Method
Query
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:168
Method
Query
Automatic connect/reconnect/repeat version of Query
src/github.com/ziutek/mymysql/autorc/autorecon.go:78
Method
Query
(args []driver.Value)
src/github.com/mattn/go-sqlite3/sqlite3.go:203
Method
QueryRow
QueryRow is a convenience wrapper over Query. Any error that occurs while querying is deferred until calling Scan on the returned *Row. That *Row will
src/github.com/jackc/pgx/query.go:361
Method
QueryRow
QueryRow acquires a connection and delegates the call to that connection. The connection is released automatically after Scan is called on the returne
src/github.com/jackc/pgx/conn_pool.go:194
Function
RandId
RandId creates a random identifier of the requested length. Useful for assigning mostly-unique identifiers for logging and identification that are unl
src/gopkg.in/inconshreveable/log15.v2/ext/id.go:19
Method
ReadOid
()
src/github.com/jackc/pgx/value_reader.go:91
Method
Reconnect
Close and reopen connection. Ignore unreaded rows, reprepare all prepared statements.
src/github.com/ziutek/mymysql/native/mysql.go:211
Method
Reconnect
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:64
Method
Register
Register MySQL command/query to be executed immediately after connecting to the server. You may register multiple commands. They will be executed in t
src/github.com/ziutek/mymysql/native/mysql.go:661
Method
Reset
Resets a prepared statement on server: data sent to the server, unbuffered result sets and current errors.
src/github.com/ziutek/mymysql/native/mysql.go:552
Method
Reset
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:154
Method
ResetParams
()
src/github.com/ziutek/mymysql/mysql/interface.go:39
Method
ResetParams
Resets the previous parameter binding
src/github.com/ziutek/mymysql/native/mysql.go:488
Method
Rollback
()
src/code.google.com/p/go-mysql-driver/mysql/transaction.go:21
Method
Rollback
Rollback rolls back the transaction. Rollback will return ErrTxClosed if the Tx is already closed, but is otherwise safe to call multiple times. Hence
src/github.com/jackc/pgx/tx.go:77
Method
Rollback
()
src/github.com/jackc/pgx/stdlib/sql.go:274
Method
Rollback
rolls back current transaction
src/github.com/tgulacsi/goracle/godrv/driver.go:75
Method
Rollback
()
src/github.com/ziutek/mymysql/godrv/driver.go:52
Method
Rollback
Rollback a transaction
src/github.com/ziutek/mymysql/native/mysql.go:712
Method
Rollback
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:218
Method
Rollback
()
src/github.com/mattn/go-sqlite3/sqlite3.go:51
Function
Root
Root returns the root logger
src/gopkg.in/inconshreveable/log15.v2/root.go:33
Method
RowsAffected
()
src/code.google.com/p/go-mysql-driver/mysql/result.go:20
Method
RowsAffected
()
src/github.com/tgulacsi/goracle/godrv/driver.go:145
Method
RowsAffected
()
src/github.com/ziutek/mymysql/godrv/driver.go:98
Method
Run
Execute prepared statement. If statement requires parameters you may bind them first or specify directly. After this command you may use GetRow to ret
src/github.com/ziutek/mymysql/native/mysql.go:498
Method
Run
(params ...interface{})
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:132
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:39
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:88
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:216
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:229
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:266
Method
RunTest
(t *testing.T, fn func(params))
src/sqltest/sql_test.go:303
Method
Scan
Scan implements the Scanner interface. Note h.Map is reallocated before the scan to clear existing values. If the hstore column's database value is N
src/github.com/lib/pq/hstore/hstore.go:38
Method
Scan
Scan reads the values from the row into dest values positionally. dest can include pointers to core types and the Scanner interface. If no rows were f
src/github.com/jackc/pgx/query.go:16
Method
Scan
Scan reads the values from the current row into dest values positionally. dest can include pointers to core types and the Scanner interface.
src/github.com/jackc/pgx/query.go:191
Method
Scan
(vr *pgx.ValueReader)
src/github.com/jackc/pgx/example_custom_type_test.go:23
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:91
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:137
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:183
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:215
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:261
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:307
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:353
Method
Scan
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:399
Method
SendLongData
Send long data to MySQL server in chunks. You can call this method after Bind and before Exec. It can be called multiple times for one parameter to se
src/github.com/ziutek/mymysql/native/mysql.go:591
Method
SendLongData
(pnum int, data interface{}, pkt_size int)
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:161
Method
SetFileName
Set the directory alias and file name for the BFILE lob.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:328
Method
SetHandler
(h Handler)
src/gopkg.in/inconshreveable/log15.v2/logger.go:120
Method
SetInputSizesByName
Set the sizes of the bind variables by name (map).
src/github.com/tgulacsi/goracle/oracle/cursor.go:1503
Method
SetInputSizesByPos
Set the sizes of the bind variables by position (array).
src/github.com/tgulacsi/goracle/oracle/cursor.go:1476
Method
SetMaxPktSize
If new_size > 0 sets maximum packet size. Returns old size.
src/github.com/ziutek/mymysql/native/mysql.go:77
Method
SetOutputSize
Set the size of all of the long columns or just one of them. use -1 for outputSizeColumn if set outputSize for all columns!
src/github.com/tgulacsi/goracle/oracle/cursor.go:1527
Method
Size
Return the size of the data in the LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:118
Method
Start
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:78
Method
String
()
src/github.com/jackc/pgx/example_custom_type_test.go:68
Method
String
()
src/github.com/tgulacsi/goracle/oracle/variable.go:147
Method
String
()
src/github.com/tgulacsi/goracle/oracle/cursor.go:121
Method
String
()
src/github.com/ziutek/mymysql/mysql/types.go:212
Method
SyslogHandler
(tag string, fmtr Format)
src/gopkg.in/inconshreveable/log15.v2/syslog.go:49
Method
SyslogNetHandler
(net, addr string, tag string, fmtr Format)
src/gopkg.in/inconshreveable/log15.v2/syslog.go:53
Function
Test64BitErrorChecking
(t *testing.T)
src/github.com/lib/pq/conn_test.go:841
Function
TestAll
(t *testing.T)
src/github.com/ziutek/mymysql/godrv/driver_test.go:20
Function
TestAppendEncodedText
(t *testing.T)
src/github.com/lib/pq/encode_test.go:312
Function
TestAppendEscapedText
(t *testing.T)
src/github.com/lib/pq/encode_test.go:330
Function
TestAppendEscapedTextExistingBuffer
(t *testing.T)
src/github.com/lib/pq/encode_test.go:342
Function
TestArrayInBinds
(t *testing.T)
src/github.com/tgulacsi/goracle/oracle/datatypes_test.go:229
Function
TestArrayOutBinds
(t *testing.T)
src/github.com/tgulacsi/goracle/oracle/datatypes_test.go:303
Function
TestAutoConnectReconnect
(t *testing.T)
src/github.com/ziutek/mymysql/autorc/autorecon_test.go:25
Function
TestBadConn
(t *testing.T)
src/github.com/lib/pq/conn_test.go:415
Function
TestBeginIso
(t *testing.T)
src/github.com/jackc/pgx/tx_test.go:92
Function
TestBigBlob
Big blob
src/github.com/ziutek/mymysql/native/native_test.go:560
Function
TestBind
(t *testing.T)
src/github.com/ziutek/mymysql/native/bind_test.go:151
Function
TestBindError
(t *testing.T)
src/github.com/lib/pq/conn_test.go:562
Function
TestBindStruct
(t *testing.T)
src/github.com/ziutek/mymysql/native/native_test.go:463
Function
TestBlobs_GoMySQL
(t *testing.T)
src/sqltest/sql_test.go:352
Function
TestBlobs_MyMySQL
(t *testing.T)
src/sqltest/sql_test.go:351
Function
TestBlobs_Oracle
(t *testing.T)
src/sqltest/sql_test.go:355
Function
TestBlobs_PQ
(t *testing.T)
src/sqltest/sql_test.go:354
← previous
next →
901–1,000 of 1,284, ranked by callers