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
↓ 4 callers
Method
ReadInt32
()
src/github.com/jackc/pgx/value_reader.go:63
↓ 4 callers
Method
SetValue
Set the value of the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1120
↓ 4 callers
Method
String
()
src/github.com/tgulacsi/goracle/oracle/error.go:24
↓ 4 callers
Method
Uint
Get the nn-th value and return it as uint. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:171
↓ 4 callers
Method
Use
(dbname string)
src/github.com/ziutek/mymysql/mysql/interface.go:22
↓ 4 callers
Function
VarTypeByValue
Return a variable type given a Go object or error if the Go value does not have a corresponding variable type.
src/github.com/tgulacsi/goracle/oracle/variable.go:302
↓ 4 callers
Method
WaitForNotification
WaitForNotification waits for a PostgreSQL notification for up to timeout. If the timeout occurs it returns pgx.ErrNotificationTimeout
src/github.com/jackc/pgx/conn.go:330
↓ 4 callers
Method
Warn
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:77
↓ 4 callers
Function
bindValue
val should be an addressable value
src/github.com/ziutek/mymysql/native/binding.go:19
↓ 4 callers
Function
bytesToUint64
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:215
↓ 4 callers
Function
checkStatus
Check for an error in the last call and if an error has occurred.
src/github.com/tgulacsi/goracle/oracle/environment.go:212
↓ 4 callers
Function
closeStmt
(t *testing.T, stmt *sql.Stmt)
src/github.com/jackc/pgx/stdlib/sql_test.go:39
↓ 4 callers
Method
connectIfNotConnected
()
src/github.com/ziutek/mymysql/autorc/autorecon.go:50
↓ 4 callers
Method
emitEvent
(event ListenerEventType, err error)
src/github.com/lib/pq/notify.go:687
↓ 4 callers
Function
expect
(str, char string, pos int)
src/github.com/lib/pq/encode.go:168
↓ 4 callers
Function
expectNoNotification
(t *testing.T, ch <-chan *Notification)
src/github.com/lib/pq/notify_test.go:30
↓ 4 callers
Function
fakeConn
(content string, prefixLen int)
src/github.com/lib/pq/bench_test.go:82
↓ 4 callers
Method
getResponse
()
src/github.com/ziutek/mymysql/native/mysql.go:264
↓ 4 callers
Function
intToByteStr
(i int64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:301
↓ 4 callers
Method
internalPrepare
Internal method for preparing a statement for execution.
src/github.com/tgulacsi/goracle/oracle/cursor.go:832
↓ 4 callers
Method
moreRows
Returns an integer indicating if more rows can be retrieved from the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1355
↓ 4 callers
Function
must
(h Handler, err error)
src/gopkg.in/inconshreveable/log15.v2/handler.go:323
↓ 4 callers
Function
newTestListener
(t *testing.T)
src/github.com/lib/pq/notify_test.go:266
↓ 4 callers
Function
newTestListenerTimeout
create a new test listener and also set the timeouts
src/github.com/lib/pq/notify_test.go:245
↓ 4 callers
Function
openTestConnConninfo
(conninfo string)
src/github.com/lib/pq/conn_test.go:19
↓ 4 callers
Function
prepareStmt
(t *testing.T, p preparer, sql string)
src/github.com/jackc/pgx/stdlib/sql_test.go:30
↓ 4 callers
Function
readLengthCodedBinary
(data []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:134
↓ 4 callers
Method
readResultSetHeaderPacket
* Result Set Header Packet Bytes Name ----- ---- 1-9 (Length-Coded-Binary) field_count 1-9 (Le
src/code.google.com/p/go-mysql-driver/mysql/packets.go:434
↓ 4 callers
Function
readU24
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:25
↓ 4 callers
Function
readU64
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:47
↓ 4 callers
Method
setState
setState advances the protocol state to newState. Returns false if moving to that state from the current state is not allowed.
src/github.com/lib/pq/notify.go:105
↓ 4 callers
Method
startMsg
(t byte)
src/github.com/jackc/pgx/messages.go:83
↓ 4 callers
Function
uintToByteStr
(u uint64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:306
↓ 4 callers
Function
writeBS
(wr io.Writer, bs interface{})
src/github.com/ziutek/mymysql/native/common.go:54
↓ 4 callers
Function
writeBin
(wr io.Writer, buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:164
↓ 3 callers
Function
CopyInSchema
CopyInSchema creates a COPY FROM statement which can be prepared with Tx.Prepare().
src/github.com/lib/pq/copy.go:33
↓ 3 callers
Function
DiscardHandler
DiscardHandler reports success for all writes but does nothing. It is useful for dynamically disabling logging at runtime via a Logger's SetHandler me
src/gopkg.in/inconshreveable/log15.v2/handler.go:312
↓ 3 callers
Function
EncodeDate
(d mysql.Date)
src/github.com/ziutek/mymysql/native/codecs.go:432
↓ 3 callers
Function
EncodeDuration
(d time.Duration)
src/github.com/ziutek/mymysql/native/codecs.go:294
↓ 3 callers
Method
FetchMany
Fetch multiple rows from the cursor based on the arraysize. for default (arraySize) row limit, use negative rowLimit
src/github.com/tgulacsi/goracle/oracle/cursor.go:1429
↓ 3 callers
Function
FormatFunc
FormatFunc returns a new Format object which uses the given function to perform record formatting.
src/gopkg.in/inconshreveable/log15.v2/format.go:25
↓ 3 callers
Method
IsConnected
Connection_IsConnected() Determines if the connection object is connected to the database.
src/github.com/tgulacsi/goracle/oracle/connection.go:63
↓ 3 callers
Method
IsNumber
()
src/github.com/tgulacsi/goracle/oracle/numbervar.go:26
↓ 3 callers
Function
JsonFormat
JsonFormat formats log records as JSON objects separated by newlines. It is the equivalent of JsonFormatEx(false, true).
src/gopkg.in/inconshreveable/log15.v2/format.go:119
↓ 3 callers
Method
LastInsertId
()
src/github.com/ziutek/mymysql/godrv/driver.go:94
↓ 3 callers
Function
LazyHandler
LazyHandler writes all values to the wrapped handler after evaluating any lazy functions in the record's context. It is already wrapped around StreamH
src/gopkg.in/inconshreveable/log15.v2/handler.go:255
↓ 3 callers
Function
LvlFilterHandler
LvlFilterHandler returns a Handler that only writes records which are less than the given verbosity level to the wrapped Handler. For example, to only
src/gopkg.in/inconshreveable/log15.v2/handler.go:150
↓ 3 callers
Function
MatchFilterHandler
MatchFilterHandler returns a Handler that only writes records to the wrapped Handler if the given key in the logged context matches the value. For exa
src/gopkg.in/inconshreveable/log15.v2/handler.go:123
↓ 3 callers
Method
MoreResults
()
src/github.com/ziutek/mymysql/native/mysql.go:319
↓ 3 callers
Method
NewVar
Create a bind variable and return it.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1533
↓ 3 callers
Method
Next
(dest []driver.Value)
src/github.com/jackc/pgx/stdlib/sql.go:229
↓ 3 callers
Method
Open
Open new connection. The uri need to have the following syntax: [PROTOCOL_SPECFIIC*]DBNAME/USER/PASSWD where protocol spercific part may be empty (t
src/github.com/ziutek/mymysql/godrv/driver.go:185
↓ 3 callers
Function
ParseTime
Parses string datetime in TimeFormat using loc location. Converts MySQL zero to time.Time zero.
src/github.com/ziutek/mymysql/mysql/types.go:99
↓ 3 callers
Function
QuoteString
QuoteString escapes and quotes a string making it safe for interpolation into an SQL string.
src/github.com/jackc/pgx/values.go:440
↓ 3 callers
Method
ReadByte
()
src/github.com/jackc/pgx/value_reader.go:35
↓ 3 callers
Method
ReadInt64
()
src/github.com/jackc/pgx/value_reader.go:77
↓ 3 callers
Method
Rollback
()
src/github.com/tgulacsi/goracle/oracle/connection.go:273
↓ 3 callers
Method
SetAddr
(addr uintptr)
src/github.com/ziutek/mymysql/native/unsafe.go:17
↓ 3 callers
Method
SkipSpaces
SkipSpaces returns the next non-whitespace rune. It returns 0, false if the end of the text has been reached.
src/github.com/lib/pq/conn.go:259
↓ 3 callers
Method
String
()
src/github.com/ziutek/mymysql/mysql/types.go:17
↓ 3 callers
Method
String
Returns the name of a Lvl
src/gopkg.in/inconshreveable/log15.v2/logger.go:22
↓ 3 callers
Method
WriteBytes
(b []byte)
src/github.com/jackc/pgx/messages.go:120
↓ 3 callers
Method
WriteInt64
(n int64)
src/github.com/jackc/pgx/messages.go:114
↓ 3 callers
Function
checkErrId
(t *testing.T, err error, rid, eid int64)
src/github.com/ziutek/mymysql/godrv/driver_test.go:13
↓ 3 callers
Function
checkErrWarn
(t *testing.T, res, exp *RowsResErr)
src/github.com/ziutek/mymysql/native/native_test.go:65
↓ 3 callers
Function
checkRow
(t *testing.T, examples []sio, conv func(string) interface{})
src/github.com/ziutek/mymysql/mysql/types_test.go:12
↓ 3 callers
Method
createRow
Create an object for the row. The object created is a tuple unless a row factory function has been defined in which case it is the result of the row f
src/github.com/tgulacsi/goracle/oracle/cursor.go:759
↓ 3 callers
Function
decodeBool
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:529
↓ 3 callers
Function
decodeFloat4
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:799
↓ 3 callers
Function
decodeFloat8
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:851
↓ 3 callers
Function
decodeInt2
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:644
↓ 3 callers
Function
decodeInt4
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:725
↓ 3 callers
Function
decodeInt8
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:578
↓ 3 callers
Function
decodeText
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:900
↓ 3 callers
Function
decodeTimestampTz
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:1001
↓ 3 callers
Function
encodeBytea
(serverVersion int, v []byte)
src/github.com/lib/pq/encode.go:325
↓ 3 callers
Function
encodeText
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:909
↓ 3 callers
Function
exec
(stmt *Stmt, params ...interface{})
src/github.com/ziutek/mymysql/native/native_test.go:35
↓ 3 callers
Method
exec
(v []driver.Value)
src/github.com/lib/pq/conn.go:892
↓ 3 callers
Method
exec
(cmd string)
src/github.com/mattn/go-sqlite3/sqlite3.go:58
↓ 3 callers
Function
expectEvent
(t *testing.T, eventch <-chan ListenerEventType, et ListenerEventType)
src/github.com/lib/pq/notify_test.go:40
↓ 3 callers
Method
freeHandle
Free the handle which may be reallocated if necessary.
src/github.com/tgulacsi/goracle/oracle/cursor.go:66
↓ 3 callers
Method
getFieldPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:192
↓ 3 callers
Method
getPrepareResult
(stmt *Stmt)
src/github.com/ziutek/mymysql/native/prepared.go:94
↓ 3 callers
Function
getServerVersion
(t *testing.T, db *sql.DB)
src/github.com/lib/pq/conn_test.go:48
↓ 3 callers
Method
handleErrorPacket
* Error Packet Bytes Name ----- ---- 1 field_count, always = 0xff 2
src/code.google.com/p/go-mysql-driver/mysql/packets.go:358
↓ 3 callers
Method
internalExecute
Perform the work of executing a cursor and set the rowcount appropriately regardless of whether an error takes place.
src/github.com/tgulacsi/goracle/oracle/cursor.go:303
↓ 3 callers
Function
lenBin
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:169
↓ 3 callers
Function
lenLC
(v interface{})
src/github.com/ziutek/mymysql/native/codecs.go:203
↓ 3 callers
Function
lenStr
(str string)
src/github.com/ziutek/mymysql/native/codecs.go:184
↓ 3 callers
Method
newPktReader
()
src/github.com/ziutek/mymysql/native/packet.go:16
↓ 3 callers
Function
parseComplete
parseComplete parses the "command tag" from a CommandComplete message, and returns the number of rows affected (if applicable) and a string identifyin
src/github.com/lib/pq/conn.go:982
↓ 3 callers
Function
parseTs
This is a time function specific to the Postgres default DateStyle setting ("ISO, MDY"), the only one we currently support. This accounts for the disc
src/github.com/lib/pq/encode.go:186
↓ 3 callers
Method
performBind
Perform the binds on the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:727
↓ 3 callers
Function
prepare
(sql string)
src/github.com/ziutek/mymysql/native/native_test.go:227
↓ 3 callers
Method
readAll
()
src/github.com/ziutek/mymysql/native/packet.go:53
↓ 3 callers
Method
readByte
()
src/github.com/jackc/pgx/msg_reader.go:46
↓ 3 callers
Function
readLCB
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:104
↓ 3 callers
Method
readOid
()
src/github.com/jackc/pgx/msg_reader.go:129
↓ 3 callers
Method
recv
recv receives a message from the backend, but if an error happened while reading the message or the received message was an ErrorResponse, it panics.
src/github.com/lib/pq/conn.go:663
← previous
next →
201–300 of 1,284, ranked by callers