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
↓ 358 callers
Method
Fatal
()
src/github.com/lib/pq/error.go:454
↓ 180 callers
Method
Close
()
src/github.com/ziutek/mymysql/mysql/interface.go:19
↓ 147 callers
Method
New
New returns a new Logger that has this logger's context plus the given context
src/gopkg.in/inconshreveable/log15.v2/logger.go:69
↓ 120 callers
Method
Exec
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:50
↓ 96 callers
Method
Scan
Scan MUST check r.Type().DataType and r.Type().FormatCode before decoding. It should not assume that it was called on the type of value.
src/github.com/jackc/pgx/values.go:53
↓ 85 callers
Method
Query
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:12
↓ 79 callers
Function
checkErr
(t *testing.T, err error, exp_err error)
src/github.com/ziutek/mymysql/native/native_test.go:40
↓ 63 callers
Method
Type
Type returns the *FieldDescription of the value
src/github.com/jackc/pgx/value_reader.go:31
↓ 62 callers
Method
Error
()
src/github.com/lib/pq/error.go:453
↓ 58 callers
Method
QueryRow
QueryRow delegates to the underlying *Conn
src/github.com/jackc/pgx/tx.go:116
↓ 56 callers
Method
CheckStatus
Check for an error in the last call and if an error has occurred, retrieve the error message from the database environment
src/github.com/tgulacsi/goracle/oracle/environment.go:235
↓ 54 callers
Method
Len
Len returns the number of unread bytes
src/github.com/jackc/pgx/value_reader.go:26
↓ 53 callers
Method
Date
It is like DateErr but return 0000-00-00 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:200
↓ 52 callers
Function
openTestConn
(t Fatalistic)
src/github.com/lib/pq/conn_test.go:39
↓ 41 callers
Function
cmdOK
(affected uint64, binary, eor bool)
src/github.com/ziutek/mymysql/native/native_test.go:125
↓ 41 callers
Function
query
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/native/native_test.go:30
↓ 40 callers
Method
Err
()
src/github.com/jackc/pgx/query.go:103
↓ 40 callers
Function
checkResult
(t *testing.T, res, exp *RowsResErr)
src/github.com/ziutek/mymysql/native/native_test.go:118
↓ 40 callers
Function
errorf
(s string, args ...interface{})
src/github.com/lib/pq/error.go:458
↓ 32 callers
Method
Next
(dest []driver.Value)
src/github.com/lib/pq/conn.go:1048
↓ 31 callers
Method
Begin
()
src/github.com/ziutek/mymysql/mysql/interface.go:26
↓ 30 callers
Function
closeConn
(t testing.TB, conn *pgx.Conn)
src/github.com/jackc/pgx/helper_test.go:16
↓ 30 callers
Function
mustConnect
(t testing.TB, config pgx.ConnConfig)
src/github.com/jackc/pgx/helper_test.go:8
↓ 28 callers
Method
Rollback
()
src/github.com/ziutek/mymysql/mysql/interface.go:33
↓ 27 callers
Function
writeByte
(wr io.Writer, ch byte)
src/github.com/ziutek/mymysql/native/common.go:46
↓ 26 callers
Method
Prepare
(query string)
src/github.com/jackc/pgx/stdlib/sql_test.go:27
↓ 26 callers
Method
string
()
src/github.com/lib/pq/buf.go:29
↓ 24 callers
Method
RunTest
(*testing.T, func(params))
src/sqltest/sql_test.go:19
↓ 23 callers
Method
Connect
()
src/github.com/ziutek/mymysql/mysql/interface.go:18
↓ 23 callers
Method
Prepare
(sql string)
src/github.com/ziutek/mymysql/mysql/interface.go:6
↓ 23 callers
Method
Run
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:40
↓ 22 callers
Method
Info
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:76
↓ 22 callers
Method
WriteInt32
(n int32)
src/github.com/jackc/pgx/messages.go:108
↓ 21 callers
Method
Execute
Execute the statement.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1165
↓ 21 callers
Function
errRecover
(err *error)
src/github.com/lib/pq/error.go:462
↓ 20 callers
Function
ctrace
prints with log.Printf the C-call trace
src/github.com/tgulacsi/goracle/oracle/debug_trace.go:10
↓ 19 callers
Method
GetRow
()
src/github.com/ziutek/mymysql/mysql/interface.go:54
↓ 19 callers
Method
WriteByte
(b byte)
src/github.com/jackc/pgx/messages.go:93
↓ 18 callers
Method
Err
Err() returns the reason the connection was closed. It is not safe to call this function until l.Notify has been closed.
src/github.com/lib/pq/notify.go:336
↓ 18 callers
Method
SetHandler
SetHandler updates the logger to write records to the specified handler.
src/gopkg.in/inconshreveable/log15.v2/logger.go:72
↓ 18 callers
Method
Write
(b []byte)
src/github.com/lib/pq/bench_test.go:78
↓ 17 callers
Method
Start
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:5
↓ 17 callers
Method
send
Assumes len(*m) is > 5
src/github.com/lib/pq/conn.go:603
↓ 16 callers
Method
Format
(r *Record)
src/gopkg.in/inconshreveable/log15.v2/format.go:20
↓ 16 callers
Method
IsConnected
()
src/github.com/ziutek/mymysql/mysql/interface.go:20
↓ 16 callers
Function
check
Benchamrks
src/github.com/ziutek/mymysql/native/native_test.go:956
↓ 16 callers
Method
unlock
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:23
↓ 16 callers
Method
writeBuf
(b byte)
src/github.com/lib/pq/conn.go:85
↓ 15 callers
Method
Bind
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:38
↓ 15 callers
Method
Duration
It is like DurationErr but return 0 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:306
↓ 15 callers
Method
Int
Get the nn-th value and return it as int. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:116
↓ 15 callers
Method
Name
Name returns a more human friendly rendering of the error code, namely the "condition name". See http://www.postgresql.org/docs/9.3/static/errcodes-a
src/github.com/lib/pq/error.go:53
↓ 15 callers
Method
Release
Release gives up use of a connection.
src/github.com/jackc/pgx/conn_pool.go:105
↓ 15 callers
Method
Stat
Stat returns connection pool statistics
src/github.com/jackc/pgx/conn_pool.go:137
↓ 15 callers
Function
ensureConnValid
Do a simple query to ensure the connection is still usable
src/github.com/jackc/pgx/helper_test.go:38
↓ 14 callers
Method
Acquire
Acquire takes exclusive use of a connection until it is released.
src/github.com/jackc/pgx/conn_pool.go:69
↓ 14 callers
Method
AttrGet
(parent unsafe.Pointer, parentType, key int, dst unsafe.Pointer, errText string)
src/github.com/tgulacsi/goracle/oracle/environment.go:277
↓ 14 callers
Function
EncodeU32
(val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:67
↓ 14 callers
Method
NewCursor
Create a new cursor (statement) referencing the connection.
src/github.com/tgulacsi/goracle/oracle/connection.go:369
↓ 14 callers
Method
ReadString
ReadString reads count bytes and returns as string
src/github.com/jackc/pgx/value_reader.go:96
↓ 14 callers
Method
Set
(k, v string)
src/github.com/lib/pq/conn.go:218
↓ 14 callers
Function
catchError
(err *error)
src/github.com/ziutek/mymysql/native/common.go:75
↓ 14 callers
Method
fatal
fatal tells r that a Fatal error has occurred
src/github.com/jackc/pgx/msg_reader.go:25
↓ 14 callers
Function
readByte
(rd io.Reader)
src/github.com/ziutek/mymysql/native/common.go:29
↓ 14 callers
Function
readU16
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:16
↓ 14 callers
Function
write
(wr io.Writer, buf []byte)
src/github.com/ziutek/mymysql/native/common.go:40
↓ 13 callers
Method
Get
(k byte)
src/github.com/lib/pq/error.go:455
↓ 13 callers
Method
RowsAffected
RowsAffected returns the number of rows affected. If the CommandTag was not for a row affecting command (such as "CREATE TABLE") then it returns 0
src/github.com/jackc/pgx/conn.go:77
↓ 13 callers
Method
lock
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:18
↓ 13 callers
Function
mustExec
(t testing.TB, conn *pgx.Conn, sql string, arguments ...interface{})
src/github.com/jackc/pgx/helper_test.go:29
↓ 13 callers
Function
myConnect
(t *testing.T, with_dbname bool, max_pkt_size int)
src/github.com/ziutek/mymysql/native/native_test.go:136
↓ 13 callers
Method
newPktWriter
(to_write int)
src/github.com/ziutek/mymysql/native/packet.go:95
↓ 13 callers
Method
sendCmd
(cmd byte, argv ...interface{})
src/github.com/ziutek/mymysql/native/command.go:5
↓ 12 callers
Method
Debug
Log a message at the given level with context key/value pairs
src/gopkg.in/inconshreveable/log15.v2/logger.go:75
↓ 12 callers
Method
Fatal
Fatal signals an error occurred after the query was sent to the server. It closes the rows automatically.
src/github.com/jackc/pgx/query.go:120
↓ 12 callers
Method
Log
(r *Record)
src/gopkg.in/inconshreveable/log15.v2/handler.go:17
↓ 12 callers
Function
checkErr
(t *testing.T, err error)
src/github.com/ziutek/mymysql/godrv/driver_test.go:8
↓ 12 callers
Function
checkErr
(t *testing.T, err error, exp_err error)
src/github.com/ziutek/mymysql/autorc/autorecon_test.go:15
↓ 12 callers
Function
expectNotification
(t *testing.T, ch <-chan *Notification, relname string, extra string)
src/github.com/lib/pq/notify_test.go:14
↓ 12 callers
Function
parseError
(r *readBuf)
src/github.com/lib/pq/error.go:355
↓ 12 callers
Function
readFull
(rd io.Reader, buf []byte)
src/github.com/ziutek/mymysql/native/common.go:10
↓ 12 callers
Method
recv1
recv1 receives a message from the backend, panicking if an error occurs while attempting to read it. All asynchronous messages are ignored, with the
src/github.com/lib/pq/conn.go:687
↓ 11 callers
Method
Append
Append adds a value to qa and returns the placeholder value for the argument. e.g. $1, $2, etc.
src/github.com/jackc/pgx/sql.go:23
↓ 11 callers
Method
Next
Next prepares the next row for reading. It returns true if there is another row and false if no more rows are available. It automatically closes rows
src/github.com/jackc/pgx/query.go:132
↓ 11 callers
Method
Verify
Verify that the external LOB var is still valid.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:40
↓ 11 callers
Method
int32
()
src/github.com/lib/pq/buf.go:11
↓ 11 callers
Function
mustPrepare
(t testing.TB, conn *pgx.Conn, name, sql string)
src/github.com/jackc/pgx/helper_test.go:23
↓ 11 callers
Function
myClose
(t *testing.T)
src/github.com/ziutek/mymysql/native/native_test.go:152
↓ 11 callers
Method
processReadyForQuery
(r *readBuf)
src/github.com/lib/pq/conn.go:1145
↓ 11 callers
Function
writeU32
(wr io.Writer, val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:70
↓ 10 callers
Method
Close
Close the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:547
↓ 10 callers
Method
Fatal
(args ...interface{})
src/github.com/lib/pq/hstore/hstore_test.go:11
↓ 10 callers
Method
FetchOne
Fetch a single row from the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1395
↓ 10 callers
Function
FuncHandler
FuncHandler returns a Handler that logs records with the given function.
src/gopkg.in/inconshreveable/log15.v2/handler.go:22
↓ 10 callers
Method
Listen
Listen starts listening for notifications on a channel. Calls to this function will block until an acknowledgement has been received from the server.
src/github.com/lib/pq/notify.go:445
↓ 10 callers
Method
Map
(string)
src/github.com/ziutek/mymysql/mysql/interface.go:45
↓ 10 callers
Function
New
New returns a new logger with the given context. New is a convenient alias for Root().New
src/gopkg.in/inconshreveable/log15.v2/root.go:28
↓ 10 callers
Method
NewVariable
allocate a new variable
src/github.com/tgulacsi/goracle/oracle/variable.go:50
↓ 10 callers
Method
WriteInt16
(n int16)
src/github.com/jackc/pgx/messages.go:102
↓ 10 callers
Function
appendEscapedText
(buf []byte, text string)
src/github.com/lib/pq/encode.go:109
next →
1–100 of 1,284, ranked by callers