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
↓ 10 callers
Function
mustAtoi
(str string)
src/github.com/lib/pq/encode.go:174
↓ 10 callers
Method
mustExec
(sql string, args ...interface{})
src/sqltest/sql_test.go:188
↓ 10 callers
Method
readCString
readCString reads a null terminated string
src/github.com/jackc/pgx/msg_reader.go:134
↓ 9 callers
Method
Bytes
()
src/github.com/jackc/pgx/messages.go:35
↓ 9 callers
Method
Commit
()
src/github.com/ziutek/mymysql/mysql/interface.go:32
↓ 9 callers
Method
IsAlive
()
src/github.com/jackc/pgx/conn.go:387
↓ 9 callers
Method
Open
(name string)
src/github.com/lib/pq/conn.go:32
↓ 9 callers
Function
StreamHandler
StreamHandler writes log records to an io.Writer with the given format. StreamHandler can be used to easily begin writing log records to other outputs
src/gopkg.in/inconshreveable/log15.v2/handler.go:39
↓ 9 callers
Function
bytesToUint16
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:186
↓ 9 callers
Function
closeDB
(t *testing.T, db *sql.DB)
src/github.com/jackc/pgx/stdlib/sql_test.go:19
↓ 9 callers
Function
encode
(parameterStatus *parameterStatus, x interface{}, pgtypOid oid.Oid)
src/github.com/lib/pq/encode.go:15
↓ 9 callers
Function
getConnection
(t *testing.T)
src/github.com/tgulacsi/goracle/oracle/connection_test.go:149
↓ 9 callers
Function
setErrAt
(err error, at string)
src/github.com/tgulacsi/goracle/oracle/error.go:46
↓ 8 callers
Function
CopyIn
CopyIn creates a COPY FROM statement which can be prepared with Tx.Prepare(). The target table should be visible in search_path.
src/github.com/lib/pq/copy.go:19
↓ 8 callers
Method
IsZero
True if date is 0000-00-00
src/github.com/ziutek/mymysql/mysql/types.go:22
↓ 8 callers
Method
Parse
Parse the statement without executing it. This also retrieves information about the select list for select statements.
src/github.com/tgulacsi/goracle/oracle/cursor.go:908
↓ 8 callers
Method
Ping
()
src/github.com/ziutek/mymysql/mysql/interface.go:8
↓ 8 callers
Function
QuoteIdentifier
QuoteIdentifier quotes an "identifier" (e.g. a table or a column name) to be used as part of an SQL statement. For example: tblname := "my_table" da
src/github.com/lib/pq/conn.go:1106
↓ 8 callers
Method
Register
(sql string)
src/github.com/ziutek/mymysql/mysql/interface.go:23
↓ 8 callers
Method
Reset
()
src/github.com/ziutek/mymysql/mysql/interface.go:42
↓ 8 callers
Method
Str
Get the nn-th value and return it as string ("" if NULL)
src/github.com/ziutek/mymysql/mysql/row.go:41
↓ 8 callers
Function
bytesToLengthCodedBinary
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:246
↓ 8 callers
Function
createConnPool
(t *testing.T, maxConnections int)
src/github.com/jackc/pgx/conn_pool_test.go:11
↓ 8 callers
Function
debug
print with log.Printf if IsDebug
src/github.com/tgulacsi/goracle/oracle/error.go:56
↓ 8 callers
Function
openDB
(t *testing.T)
src/github.com/jackc/pgx/stdlib/sql_test.go:10
↓ 8 callers
Method
q
q converts "?" characters to $1, $2, $n on postgres, :1, :2, :n on Oracle
src/sqltest/sql_test.go:199
↓ 8 callers
Method
readInt32
()
src/github.com/jackc/pgx/msg_reader.go:87
↓ 8 callers
Method
readPacket
Packets documentation: http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol Read packet to buffer 'data'
src/code.google.com/p/go-mysql-driver/mysql/packets.go:23
↓ 7 callers
Method
Crit
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:79
↓ 7 callers
Function
EncodeU64
(val uint64)
src/github.com/ziutek/mymysql/native/codecs.go:74
↓ 7 callers
Method
GetValue
Return the value of the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1031
↓ 7 callers
Method
checkEof
()
src/github.com/ziutek/mymysql/native/packet.go:81
↓ 7 callers
Method
int16
()
src/github.com/lib/pq/buf.go:23
↓ 7 callers
Function
lenBS
(bs interface{})
src/github.com/ziutek/mymysql/native/common.go:65
↓ 7 callers
Function
newTestListenerConn
(t *testing.T)
src/github.com/lib/pq/notify_test.go:63
↓ 7 callers
Method
processContextFreeMsg
Processes messages that are not exclusive to one context such as authentication or query response. The response to these messages is the same regardle
src/github.com/jackc/pgx/conn.go:576
↓ 7 callers
Method
readInt16
()
src/github.com/jackc/pgx/msg_reader.go:66
↓ 7 callers
Method
rxMsg
()
src/github.com/jackc/pgx/conn.go:593
↓ 6 callers
Method
Bin
Get the nn-th value and return it as []byte ([]byte{} if NULL)
src/github.com/ziutek/mymysql/mysql/row.go:26
↓ 6 callers
Function
EncodeU16
(val uint16)
src/github.com/ziutek/mymysql/native/codecs.go:53
↓ 6 callers
Method
End
()
src/github.com/ziutek/mymysql/mysql/interface.go:66
↓ 6 callers
Method
Error
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:78
↓ 6 callers
Method
ExecSimpleQuery
Execute a "simple query" (i.e. one with no bindable parameters) on the connection. The possible return values are: 1) "executed" is true; the query w
src/github.com/lib/pq/notify.go:270
↓ 6 callers
Method
Fatal
Fatal tells r that a Fatal error has occurred
src/github.com/jackc/pgx/value_reader.go:21
↓ 6 callers
Function
LogfmtFormat
LogfmtFormat prints records in logfmt format, an easy machine-parseable but human-readable format for key/value pairs. For more details see: http://g
src/gopkg.in/inconshreveable/log15.v2/format.go:85
↓ 6 callers
Method
Open
(dsn string)
src/github.com/mattn/go-sqlite3/sqlite3.go:75
↓ 6 callers
Method
Write
*func writePktHeader(wr io.Writer, seq byte, pay_len int) { writeU24(wr, uint32(pay_len)) writeByte(wr, seq) }*/
src/github.com/ziutek/mymysql/native/packet.go:104
↓ 6 callers
Method
WriteCString
(s string)
src/github.com/jackc/pgx/messages.go:97
↓ 6 callers
Function
appendEncodedText
appendEncodedText encodes item in text format as required by COPY and appends to buf
src/github.com/lib/pq/encode.go:83
↓ 6 callers
Method
byte
()
src/github.com/lib/pq/buf.go:45
↓ 6 callers
Method
close
()
src/github.com/jackc/pgx/query.go:55
↓ 6 callers
Method
closeMsg
()
src/github.com/jackc/pgx/messages.go:89
↓ 6 callers
Function
debug
use log.Printf for log messages if IsDebug
src/github.com/tgulacsi/goracle/godrv/driver.go:213
↓ 6 callers
Method
exec
Internal function to execute statements
src/code.google.com/p/go-mysql-driver/mysql/connection.go:211
↓ 6 callers
Method
getDataArr
()
src/github.com/tgulacsi/goracle/oracle/variable.go:180
↓ 6 callers
Method
getResult
(res *Result)
src/github.com/ziutek/mymysql/native/result.go:62
↓ 6 callers
Function
read
(rd io.Reader, nn int)
src/github.com/ziutek/mymysql/native/common.go:23
↓ 6 callers
Function
readStr
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:173
↓ 6 callers
Function
readU32
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:35
↓ 6 callers
Method
readUntilEOF
Reads Packets Packets until EOF-Packet or an Error appears. Returns count of Packets read
src/code.google.com/p/go-mysql-driver/mysql/packets.go:605
↓ 6 callers
Function
testLogger
()
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:21
↓ 6 callers
Method
writeCommandPacket
****************************************************************************** * Command Packets
src/code.google.com/p/go-mysql-driver/mysql/packets.go:273
↓ 6 callers
Function
writeU16
(wr io.Writer, val uint16)
src/github.com/ziutek/mymysql/native/codecs.go:56
↓ 5 callers
Method
AttrSet
(key C.ub4, value unsafe.Pointer, valueLength int)
src/github.com/tgulacsi/goracle/oracle/connection.go:72
↓ 5 callers
Method
Close
Close ends the use of a connection pool by closing all underlying connections.
src/github.com/jackc/pgx/conn_pool.go:128
↓ 5 callers
Method
Delete
()
src/github.com/ziutek/mymysql/mysql/interface.go:41
↓ 5 callers
Method
Do
(st Stmt)
src/github.com/ziutek/mymysql/mysql/interface.go:34
↓ 5 callers
Function
EncodeTime
(t time.Time)
src/github.com/ziutek/mymysql/native/codecs.go:398
↓ 5 callers
Method
Exec
Exec executes sql. sql can be either a prepared statement name or an SQL string. arguments will be sanitized before being interpolated into sql string
src/github.com/jackc/pgx/conn.go:530
↓ 5 callers
Method
Next
(dest []driver.Value)
src/github.com/mattn/go-sqlite3/sqlite3.go:257
↓ 5 callers
Function
ParseURL
ParseURL no longer needs to be used by clients of this library since supplying a URL as a connection string to sql.Open() is now supported: sql.Open
src/github.com/lib/pq/url.go:31
↓ 5 callers
Method
Reconnect
()
src/github.com/ziutek/mymysql/mysql/interface.go:21
↓ 5 callers
Method
RowsAffected
()
src/github.com/mattn/go-sqlite3/sqlite3.go:218
↓ 5 callers
Method
SendLongData
(pnum int, data interface{}, pkt_size int)
src/github.com/ziutek/mymysql/mysql/interface.go:43
↓ 5 callers
Method
String
()
src/github.com/lib/pq/conn.go:58
↓ 5 callers
Method
ThreadId
()
src/github.com/ziutek/mymysql/mysql/interface.go:9
↓ 5 callers
Function
bytesToUint32
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:200
↓ 5 callers
Method
checkIsInTransaction
(intxn bool)
src/github.com/lib/pq/conn.go:347
↓ 5 callers
Function
decode
(parameterStatus *parameterStatus, s []byte, typ oid.Oid)
src/github.com/lib/pq/encode.go:46
↓ 5 callers
Method
die
(err error)
src/github.com/jackc/pgx/conn.go:733
↓ 5 callers
Function
newWriteBuf
(buf []byte, t byte)
src/github.com/jackc/pgx/messages.go:71
↓ 5 callers
Method
next
(n int)
src/github.com/lib/pq/buf.go:39
↓ 5 callers
Function
ociHandleAlloc
(parent unsafe.Pointer, typ C.ub4, dst *unsafe.Pointer, at string)
src/github.com/tgulacsi/goracle/oracle/environment.go:131
↓ 5 callers
Function
readAndDropLengthCodedBinary
(data []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:160
↓ 5 callers
Method
reconnectIfNetErr
(nn *int, err *error)
src/github.com/ziutek/mymysql/autorc/autorecon.go:36
↓ 5 callers
Method
rxReadyForQuery
(r *msgReader)
src/github.com/jackc/pgx/conn.go:659
↓ 5 callers
Method
simpleExec
(q string)
src/github.com/lib/pq/conn.go:418
↓ 5 callers
Function
testHandler
()
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:13
↓ 5 callers
Function
uint32ToBytes
(n uint32)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:207
↓ 5 callers
Method
verifyFetch
Verify that fetching may happen from this cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1291
↓ 5 callers
Method
write
(msg string, lvl Lvl, ctx []interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:87
↓ 4 callers
Method
Bool
It is like BoolErr but return false if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:350
↓ 4 callers
Method
Class
Class returns the error class, e.g. "28". See http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html for details.
src/github.com/lib/pq/error.go:71
↓ 4 callers
Method
Deallocate
Deallocate released a prepared statement
src/github.com/jackc/pgx/conn.go:316
↓ 4 callers
Function
DecodeU32
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:31
↓ 4 callers
Method
Fields
()
src/github.com/ziutek/mymysql/mysql/interface.go:58
↓ 4 callers
Method
FromEncodedString
(text []byte)
src/github.com/tgulacsi/goracle/oracle/environment.go:316
↓ 4 callers
Method
LastInsertId
()
src/github.com/mattn/go-sqlite3/sqlite3.go:214
↓ 4 callers
Method
Len
()
src/github.com/ziutek/mymysql/native/unsafe.go:21
↓ 4 callers
Function
New
Create new MySQL handler. The first three arguments are passed to net.Bind for create connection. user and passwd are for authentication. Optional db
src/github.com/ziutek/mymysql/native/mysql.go:58
← previous
next →
101–200 of 1,284, ranked by callers