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
↓ 3 callers
Method
recvMessage
recvMessage receives any message from the backend, or returns an error if a problem occurred while reading the message.
src/github.com/lib/pq/conn.go:627
↓ 3 callers
Method
setSingleValue
Set a single value in the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1048
↓ 3 callers
Function
testHandler
()
src/gopkg.in/inconshreveable/log15.v2/ext/ext_test.go:10
↓ 3 callers
Function
uint24ToBytes
(n uint32)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:192
↓ 3 callers
Method
unreadByte
()
src/github.com/ziutek/mymysql/native/packet.go:70
↓ 3 callers
Method
verifyFetch
Verifies that truncation or other problems did not take place on retrieve.
src/github.com/tgulacsi/goracle/oracle/variable.go:906
↓ 3 callers
Function
writeLC
(wr io.Writer, v interface{})
src/github.com/ziutek/mymysql/native/codecs.go:188
↓ 3 callers
Function
writeNT
(wr io.Writer, v interface{})
src/github.com/ziutek/mymysql/native/codecs.go:244
↓ 3 callers
Function
writeNTS
(wr io.Writer, str string)
src/github.com/ziutek/mymysql/native/codecs.go:240
↓ 3 callers
Method
writePacket
(data *[]byte)
src/code.google.com/p/go-mysql-driver/mysql/packets.go:90
↓ 3 callers
Function
writeStr
(wr io.Writer, str string)
src/github.com/ziutek/mymysql/native/codecs.go:179
↓ 3 callers
Function
writeU24
(wr io.Writer, val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:63
↓ 2 callers
Method
BeginIso
BeginIso starts a transaction with isoLevel as the transaction isolation level. Valid isolation levels (and their constants) are: serializable (pgx.S
src/github.com/jackc/pgx/tx.go:32
↓ 2 callers
Method
BoolErr
Get the nn-th value and return it as bool. Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:313
↓ 2 callers
Method
DateErr
Get the nn-th value and return it as Date (0000-00-00 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:178
↓ 2 callers
Function
DecodeU16
Integers
src/github.com/ziutek/mymysql/native/codecs.go:13
↓ 2 callers
Method
DurationErr
Get the nn-th value and return it as time.Duration (0 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:281
↓ 2 callers
Method
EncodeText
EncodeText returns the value encoded into a string. status must be NullText if the value is NULL, UnsafeText if the value should be quoted and escaped
src/github.com/jackc/pgx/values.go:64
↓ 2 callers
Function
EncodeU24
(val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:60
↓ 2 callers
Function
FilterHandler
FilterHandler returns a Handler that only writes records to the wrapped Handler if the given function evaluates true. For example, to only log records
src/gopkg.in/inconshreveable/log15.v2/handler.go:107
↓ 2 callers
Method
Flush
()
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:71
↓ 2 callers
Method
GetCharacterSetName
Retrieve and store the IANA character set name for the attribute.
src/github.com/tgulacsi/goracle/oracle/environment.go:145
↓ 2 callers
Function
GetRows
Reads all rows from result and returns them as slice.
src/github.com/ziutek/mymysql/mysql/utils.go:42
↓ 2 callers
Method
GetRows
()
src/github.com/ziutek/mymysql/mysql/interface.go:65
↓ 2 callers
Method
GetValueInto
Insert the value of the variable into the given pointer
src/github.com/tgulacsi/goracle/oracle/variable.go:1040
↓ 2 callers
Method
Int64Err
Get the nn-th value and return it as int64 (0 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:357
↓ 2 callers
Method
IntErr
Get the nn-th value and return it as int (0 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:63
↓ 2 callers
Method
IsDDL
()
src/github.com/tgulacsi/goracle/oracle/cursor.go:825
↓ 2 callers
Method
IsInteger
()
src/github.com/tgulacsi/goracle/oracle/numbervar.go:38
↓ 2 callers
Method
Listen
Listen establishes a PostgreSQL listen/notify to channel
src/github.com/jackc/pgx/conn.go:323
↓ 2 callers
Method
LocaltimeErr
Get the nn-th value and return it as time.Time in Local location (zero if NULL). Returns error if conversion is impossible. It can convert Date to tim
src/github.com/ziutek/mymysql/mysql/row.go:249
↓ 2 callers
Function
MakeDSN
MakeDSN makea a data source name given the host port and SID.
src/github.com/tgulacsi/goracle/oracle/connection.go:21
↓ 2 callers
Function
MultiHandler
A MultiHandler dispatches any write to each of its handlers. This is useful for writing different types of log information to different locations. For
src/gopkg.in/inconshreveable/log15.v2/handler.go:165
↓ 2 callers
Function
NewExternalLobVar
Create a new external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:31
↓ 2 callers
Function
NewListenerConn
Creates a new ListenerConn. Use NewListener instead.
src/github.com/lib/pq/notify.go:65
↓ 2 callers
Method
Next
Next returns the next rune. It returns 0, false if the end of the text has been reached.
src/github.com/lib/pq/conn.go:248
↓ 2 callers
Method
NextResult
()
src/github.com/ziutek/mymysql/mysql/interface.go:56
↓ 2 callers
Function
Open
(name string)
src/github.com/lib/pq/conn.go:91
↓ 2 callers
Method
Open
(name string)
src/github.com/jackc/pgx/stdlib/sql.go:66
↓ 2 callers
Function
ParseDate
Convert string date in format YYYY-MM-DD to Date. Leading and trailing spaces are ignored. If format is invalid returns zero.
src/github.com/ziutek/mymysql/mysql/types.go:47
↓ 2 callers
Function
ParseDuration
Parse duration from MySQL string format [+-]H+:MM:SS[.UUUUUUUUU]. Leading and trailing spaces are ignored. If format is invalid returns nil.
src/github.com/ziutek/mymysql/mysql/types.go:142
↓ 2 callers
Method
Query
Query executes sql with args. If there is an error the returned *Rows will be returned in an error state. So it is allowed to ignore the error returne
src/github.com/jackc/pgx/query.go:316
↓ 2 callers
Method
Read
(b []byte)
src/github.com/lib/pq/bench_test.go:69
↓ 2 callers
Method
Read
(buf []byte)
src/github.com/ziutek/mymysql/native/packet.go:20
↓ 2 callers
Method
ReadAt
Return a portion (or all) of the data in the external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:134
↓ 2 callers
Method
ReadBytes
ReadBytes reads count bytes and returns as []byte
src/github.com/jackc/pgx/value_reader.go:111
↓ 2 callers
Method
Scan
Scan implements the Scanner interface.
src/github.com/lib/pq/encode.go:354
↓ 2 callers
Method
ServerAttrSet
(key C.ub4, value unsafe.Pointer, valueLength int)
src/github.com/tgulacsi/goracle/oracle/connection.go:78
↓ 2 callers
Method
SessionAttrSet
(key C.ub4, value unsafe.Pointer, valueLength int)
src/github.com/tgulacsi/goracle/oracle/connection.go:84
↓ 2 callers
Function
TerminalFormat
TerminalFormat formats log records optimized for human readability on a terminal with color-coded level output and terser human friendly timestamp. Th
src/gopkg.in/inconshreveable/log15.v2/format.go:45
↓ 2 callers
Function
TestCursor
(t *testing.T)
src/github.com/tgulacsi/goracle/conntest/main.go:26
↓ 2 callers
Method
Time
It is like TimeErr but returns 0000-00-00 00:00:00 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:241
↓ 2 callers
Method
TimeErr
Get the nn-th value and return it as time.Time in loc location (zero if NULL) Returns error if conversion is impossible. It can convert Date to time.T
src/github.com/ziutek/mymysql/mysql/row.go:213
↓ 2 callers
Function
TimeString
Returns t as string in MySQL format Converts time.Time zero to MySQL zero.
src/github.com/ziutek/mymysql/mysql/types.go:87
↓ 2 callers
Method
Uint64Err
Get the nn-th value and return it as uint64 (0 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:397
↓ 2 callers
Method
UintErr
Get the nn-th value and return it as uint (0 if NULL). Return error if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:125
↓ 2 callers
Method
Unlisten
Unlisten removes a channel from the Listener's channel list. Returns ErrChannelNotOpen if the Listener is not listening on the specified channel. Ret
src/github.com/lib/pq/notify.go:495
↓ 2 callers
Method
UnlistenAll
UnlistenAll removes all channels from the Listener's channel list. Returns immediately with no error if there is no connection. Note that you might
src/github.com/lib/pq/notify.go:529
↓ 2 callers
Method
Unset
(k string)
src/github.com/lib/pq/conn.go:231
↓ 2 callers
Method
Values
Values returns an array of the row values
src/github.com/jackc/pgx/query.go:251
↓ 2 callers
Method
WarnCount
()
src/github.com/ziutek/mymysql/mysql/interface.go:48
↓ 2 callers
Method
Write
(buf []byte)
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:309
↓ 2 callers
Method
aLrC
* //----------------------------------------------------------------------------- // Variable_NewByType() // Allocate a new variable by looking at t
src/github.com/tgulacsi/goracle/oracle/variable.go:695
↓ 2 callers
Method
abort
abort signals that the query was not successfully sent to the server. This differs from Fatal in that it is not necessary to readUntilReadyForQuery
src/github.com/jackc/pgx/query.go:109
↓ 2 callers
Method
allocateHandle
statement // statementTag // rowFactory // inputTypeHandler // outputTypeHandler Allocate a new handle.
src/github.com/tgulacsi/goracle/oracle/cursor.go:57
↓ 2 callers
Method
begin
(isoLevel string)
src/github.com/jackc/pgx/tx.go:36
↓ 2 callers
Function
benchMockQuery
(b *testing.B, c *conn, query string)
src/github.com/lib/pq/bench_test.go:150
↓ 2 callers
Function
benchPreparedMockQuery
(b *testing.B, c *conn, stmt driver.Stmt)
src/github.com/lib/pq/bench_test.go:266
↓ 2 callers
Function
benchPreparedQuery
(b *testing.B, query string, result interface{})
src/github.com/lib/pq/bench_test.go:182
↓ 2 callers
Function
benchQuery
(b *testing.B, query string, result interface{})
src/github.com/lib/pq/bench_test.go:34
↓ 2 callers
Method
bind
(args []driver.Value)
src/github.com/mattn/go-sqlite3/sqlite3.go:154
↓ 2 callers
Method
buildExecutePacket
* Command Packet Bytes Name ----- ---- 1 code 4 statement_id 1
src/code.google.com/p/go-mysql-driver/mysql/packets.go:702
↓ 2 callers
Function
byteToUint8
****************************************************************************** * Convert from and to bytes
src/code.google.com/p/go-mysql-driver/mysql/utils.go:181
↓ 2 callers
Method
call
Call a stored procedure or function.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1079
↓ 2 callers
Function
checkErrWarnRows
(t *testing.T, res, exp *RowsResErr)
src/github.com/ziutek/mymysql/native/native_test.go:78
↓ 2 callers
Function
checkWarnCount
(t *testing.T, res_cnt, exp_cnt int)
src/github.com/ziutek/mymysql/native/native_test.go:50
↓ 2 callers
Method
close
()
src/github.com/jackc/pgx/tx.go:87
↓ 2 callers
Method
closeConn
()
src/github.com/ziutek/mymysql/native/mysql.go:182
↓ 2 callers
Method
closed
caller should NOT be holding l.lock
src/github.com/lib/pq/notify.go:638
↓ 2 callers
Method
connect
()
src/github.com/ziutek/mymysql/native/mysql.go:85
↓ 2 callers
Function
convertTime
(t time.Time, loc *time.Location)
src/github.com/ziutek/mymysql/mysql/row.go:205
↓ 2 callers
Method
createConnection
()
src/github.com/jackc/pgx/conn_pool.go:147
↓ 2 callers
Function
decodeBytea
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:921
↓ 2 callers
Function
decodeDate
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:955
↓ 2 callers
Function
decodeTimestamp
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:1051
↓ 2 callers
Function
encodeBool
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:560
↓ 2 callers
Function
encodeFloat4
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:829
↓ 2 callers
Function
encodeFloat8
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:881
↓ 2 callers
Function
encodeInt2
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:676
↓ 2 callers
Function
encodeInt4
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:756
↓ 2 callers
Function
encodeInt8
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:610
↓ 2 callers
Function
encodeNonzeroTime
(y int16, mon, d, h, m, s byte, n uint32)
src/github.com/ziutek/mymysql/native/codecs.go:377
↓ 2 callers
Function
encodeTimestampTz
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:1036
↓ 2 callers
Method
end
(cr string)
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:201
↓ 2 callers
Function
escapeQuotes
(txt string)
src/github.com/ziutek/mymysql/native/codecs.go:511
↓ 2 callers
Function
escapeString
(txt string)
src/github.com/ziutek/mymysql/native/codecs.go:478
↓ 2 callers
Function
escapeString
(s string)
src/gopkg.in/inconshreveable/log15.v2/format.go:214
↓ 2 callers
Method
fixupBoundCursor
Fixup a cursor so that fetching and returning cursor descriptions are successful after binding a cursor to another cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:357
↓ 2 callers
Method
flush
(buf []byte)
src/github.com/lib/pq/copy.go:129
↓ 2 callers
Function
formatLogfmtValue
formatValue formats a value for serialization
src/gopkg.in/inconshreveable/log15.v2/format.go:192
← previous
next →
301–400 of 1,284, ranked by callers