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
↓ 2 callers
Function
formatShared
(value interface{})
src/gopkg.in/inconshreveable/log15.v2/format.go:165
↓ 2 callers
Method
getBindInfo
(numElements int)
src/github.com/tgulacsi/goracle/oracle/cursor.go:143
↓ 2 callers
Method
getEofPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:157
↓ 2 callers
Method
getErrorPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:138
↓ 2 callers
Method
getRow
()
src/github.com/ziutek/mymysql/native/mysql.go:302
↓ 2 callers
Method
getSingleValue
Return the value of the variable at the given position.
src/github.com/tgulacsi/goracle/oracle/variable.go:920
↓ 2 callers
Method
getSingleValueInto
Insert the value of the variable at the given position into the pointer
src/github.com/tgulacsi/goracle/oracle/variable.go:955
↓ 2 callers
Method
getStatementType
Determine if the cursor is executing a select statement.
src/github.com/tgulacsi/goracle/oracle/cursor.go:333
↓ 2 callers
Function
getenvOk
(k string)
src/sqltest/sql_test.go:498
↓ 2 callers
Function
hQuote
escapes and quotes hstore keys/values s should be a sql.NullString or string
src/github.com/lib/pq/hstore/hstore.go:16
↓ 2 callers
Method
handleOkPacket
* Ok Packet Bytes Name ----- ---- 1 (Length Coded Binary) field_count, always = 0 1-9 (Length Coded B
src/code.google.com/p/go-mysql-driver/mysql/packets.go:391
↓ 2 callers
Function
hexMD5
(s string)
src/github.com/jackc/pgx/conn.go:622
↓ 2 callers
Method
internalBind
Allocate a variable and bind it to the given statement.
src/github.com/tgulacsi/goracle/oracle/variable.go:829
↓ 2 callers
Method
internalFetch
Performs the actual fetch from Oracle.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1311
↓ 2 callers
Method
internalSize
Return the size of the LOB variable for internal comsumption.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:102
↓ 2 callers
Method
isErrorSet
()
src/github.com/lib/pq/copy.go:158
↓ 2 callers
Method
isInTransaction
()
src/github.com/lib/pq/conn.go:342
↓ 2 callers
Function
isUTF8
isUTF8 returns whether name is a fuzzy variation of the string "UTF-8".
src/github.com/lib/pq/conn.go:1235
↓ 2 callers
Function
lenLCB
(val uint64)
src/github.com/ziutek/mymysql/native/codecs.go:131
↓ 2 callers
Function
lengthCodedBinaryToBytes
(n uint64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:286
↓ 2 callers
Method
lobVar_Write
Write data to the LOB variable.
src/github.com/tgulacsi/goracle/oracle/lobvar.go:90
↓ 2 callers
Function
logfmt
(buf *bytes.Buffer, ctx []interface{}, color int)
src/gopkg.in/inconshreveable/log15.v2/format.go:94
↓ 2 callers
Function
makeAddressable
(v reflect.Value)
src/github.com/ziutek/mymysql/native/bind_test.go:141
↓ 2 callers
Method
makeArray
Make the variable an array, ensuring that the type supports arrays.
src/github.com/tgulacsi/goracle/oracle/variable.go:498
↓ 2 callers
Function
md5s
(s string)
src/github.com/lib/pq/conn.go:1114
↓ 2 callers
Method
multiFetch
Return a list consisting of the remaining rows up to the given row limit (if specified).
src/github.com/tgulacsi/goracle/oracle/cursor.go:1372
↓ 2 callers
Function
mustParse
(f string, typ oid.Oid, s []byte)
src/github.com/lib/pq/encode.go:147
↓ 2 callers
Method
nextColumn
()
src/github.com/jackc/pgx/query.go:173
↓ 2 callers
Method
nextResult
()
src/github.com/ziutek/mymysql/native/mysql.go:345
↓ 2 callers
Function
normalize
(ctx []interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:124
↓ 2 callers
Method
numberFromText
Set the value of the variable from a Python decimal.Decimal object.
src/github.com/tgulacsi/goracle/oracle/numbervar.go:119
↓ 2 callers
Method
oid
()
src/github.com/lib/pq/buf.go:17
↓ 2 callers
Function
parseEnviron
parseEnviron tries to mimic some of libpq's environment handling To ease testing, it does not directly reference os.Environ, but is designed to accep
src/github.com/lib/pq/conn.go:1170
↓ 2 callers
Function
parseMeta
(r *readBuf)
src/github.com/lib/pq/conn.go:1149
↓ 2 callers
Function
parseOpts
parseOpts parses the options from name and adds them to the values. The parsing code is based on conninfo_parse from libpq's fe-connect.c
src/github.com/lib/pq/conn.go:270
↓ 2 callers
Method
performDefine
Perform the defines for the cursor. At this point it is assumed that the statement being executed is in fact a query.
src/github.com/tgulacsi/goracle/oracle/cursor.go:200
↓ 2 callers
Method
prepare
(sql string)
src/github.com/ziutek/mymysql/native/mysql.go:379
↓ 2 callers
Method
prepareTo
(q, stmtName string)
src/github.com/lib/pq/conn.go:485
↓ 2 callers
Method
prepareToSimpleStmt
(q, stmtName string)
src/github.com/lib/pq/conn.go:489
↓ 2 callers
Method
processParameterStatus
(r *readBuf)
src/github.com/lib/pq/conn.go:1120
↓ 2 callers
Function
readBin
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:156
↓ 2 callers
Method
readColumns
Read Packets as Field Packets until EOF-Packet or an Error appears
src/code.google.com/p/go-mysql-driver/mysql/packets.go:461
↓ 2 callers
Function
readNullBin
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:145
↓ 2 callers
Function
readNullLCB
Variable length values
src/github.com/ziutek/mymysql/native/codecs.go:87
↓ 2 callers
Method
readNumber
Read n bytes long number num
src/code.google.com/p/go-mysql-driver/mysql/packets.go:65
↓ 2 callers
Method
readResultOK
****************************************************************************** * Result Packets
src/code.google.com/p/go-mysql-driver/mysql/packets.go:328
↓ 2 callers
Method
readString
readString reads count bytes and returns as string
src/github.com/jackc/pgx/msg_reader.go:155
↓ 2 callers
Function
readTime
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:339
↓ 2 callers
Method
resize
Resize the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:267
↓ 2 callers
Method
run
executes the statement
src/github.com/tgulacsi/goracle/godrv/driver.go:105
↓ 2 callers
Method
run
(vargs []driver.Value)
src/github.com/ziutek/mymysql/godrv/driver.go:70
↓ 2 callers
Method
rxRowDescription
(r *msgReader)
src/github.com/jackc/pgx/conn.go:663
↓ 2 callers
Function
selectOK
(rows []mysql.Row, binary bool)
src/github.com/ziutek/mymysql/native/native_test.go:130
↓ 2 callers
Method
sendPreparedQuery
(ps *PreparedStatement, arguments ...interface{})
src/github.com/jackc/pgx/conn.go:423
↓ 2 callers
Method
sendSimpleMessage
Send a message of type typ to the server on the other end of cn. The message should have no payload. This method does not use the scratch buffer.
src/github.com/lib/pq/conn.go:620
↓ 2 callers
Method
sendSimpleQuery
(sql string, arguments ...interface{})
src/github.com/jackc/pgx/conn.go:403
↓ 2 callers
Method
setArrayValue
Set all of the array values for the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1079
↓ 2 callers
Method
setBindVariableHelper
Helper for setting a bind variable.
src/github.com/tgulacsi/goracle/oracle/cursor.go:559
↓ 2 callers
Method
setBindVariablesByName
Create or set bind variables by position.
src/github.com/tgulacsi/goracle/oracle/cursor.go:695
↓ 2 callers
Method
setRowCount
Set the rowcount variable.
src/github.com/tgulacsi/goracle/oracle/cursor.go:243
↓ 2 callers
Function
sharedSyslog
(fmtr Format, sysWr *syslog.Writer, err error)
src/gopkg.in/inconshreveable/log15.v2/syslog.go:24
↓ 2 callers
Function
testFormatter
(f Format)
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:83
↓ 2 callers
Method
txPasswordMessage
(password string)
src/github.com/jackc/pgx/conn.go:723
↓ 2 callers
Function
types
(row mysql.Row)
src/github.com/ziutek/mymysql/native/native_test.go:70
↓ 2 callers
Function
uint64ToBytes
(n uint64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:222
↓ 2 callers
Function
valueToInterface
(argsV []driver.Value)
src/github.com/jackc/pgx/stdlib/sql.go:257
↓ 2 callers
Function
varTypeByOraDataType
Return a variable type given an Oracle data type or NULL if the Oracle data type does not have a corresponding variable type.
src/github.com/tgulacsi/goracle/oracle/variable.go:422
↓ 2 callers
Function
writeLCB
(wr io.Writer, val uint64)
src/github.com/ziutek/mymysql/native/codecs.go:112
↓ 2 callers
Function
writeNTB
(wr io.Writer, buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:229
↓ 2 callers
Function
writeString
(wr io.Writer, str string)
src/github.com/ziutek/mymysql/native/common.go:50
↓ 2 callers
Function
writeU64
(wr io.Writer, val uint64)
src/github.com/ziutek/mymysql/native/codecs.go:81
↓ 2 callers
Function
writeValue
(wr io.Writer, val *paramValue)
src/github.com/ziutek/mymysql/native/unsafe.go:57
↓ 1 callers
Method
AffectedRows
()
src/github.com/ziutek/mymysql/mysql/interface.go:61
↓ 1 callers
Method
ArrayLength
returns the number of allocated elements (array length for arrays)
src/github.com/tgulacsi/goracle/oracle/variable.go:202
↓ 1 callers
Method
AttrGetName
(parent unsafe.Pointer, parentType, key int, errText string)
src/github.com/tgulacsi/goracle/oracle/environment.go:292
↓ 1 callers
Method
Bind
Bind input data for the parameter markers in the SQL statement that was passed to Prepare. params may be a parameter list (slice), a struct or a poin
src/github.com/ziutek/mymysql/native/mysql.go:429
↓ 1 callers
Function
BufferedHandler
BufferedHandler writes all records to a buffered channel of the given size which flushes into the wrapped handler whenever it is available for writing
src/gopkg.in/inconshreveable/log15.v2/handler.go:221
↓ 1 callers
Function
ChannelHandler
ChannelHandler writes all records to the given channel. It blocks if the channel is full. Useful for async processing of log messages, it's used by Bu
src/gopkg.in/inconshreveable/log15.v2/handler.go:209
↓ 1 callers
Function
ClientVersion
ClientVersion returns the client's version (slice of 5 int32s)
src/github.com/tgulacsi/goracle/oracle/connection.go:40
↓ 1 callers
Method
Close
()
src/github.com/lib/pq/copy.go:218
↓ 1 callers
Method
Close
()
src/github.com/lib/pq/notify.go:324
↓ 1 callers
Method
Close
Close closes the rows, making the connection ready for use again. It is not usually necessary to call Close explicitly because reading all returned ro
src/github.com/jackc/pgx/query.go:95
↓ 1 callers
Function
Connect
Connect establishes a connection with a PostgreSQL server using config. config.Host must be specified. config.User will default to the OS user name. O
src/github.com/jackc/pgx/conn.go:96
↓ 1 callers
Method
Connect
Connect to the database. good minimal example: http://www.adp-gmbh.ch/ora/misc/oci/index.html
src/github.com/tgulacsi/goracle/oracle/connection.go:106
↓ 1 callers
Function
DecodeU24
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:22
↓ 1 callers
Function
DecodeU64
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:41
↓ 1 callers
Function
DurationString
Convert time.Duration to string representation of mysql.TIME
src/github.com/ziutek/mymysql/mysql/types.go:122
↓ 1 callers
Method
EncodeBinary
EncodeBinary writes the binary value to w. EncodeBinary MUST check oid to see if the parameter data type is compatible. If this is not done, the Post
src/github.com/jackc/pgx/values.go:77
↓ 1 callers
Function
EscalateErrHandler
EscalateErrHandler wraps another handler and passes all records through unchanged except if the logged context contains a non-nil error value in its c
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:27
↓ 1 callers
Function
FailoverHandler
A FailoverHandler writes all log records to the first handler specified, but will failover and write to the second handler if the first handler has fa
src/gopkg.in/inconshreveable/log15.v2/handler.go:190
↓ 1 callers
Method
FetchAll
Fetch all remaining rows from the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1444
↓ 1 callers
Method
FetchOneInto
Fetch a single row from the cursor into the given column pointers
src/github.com/tgulacsi/goracle/oracle/cursor.go:1409
↓ 1 callers
Method
FieldDescriptions
()
src/github.com/jackc/pgx/query.go:51
↓ 1 callers
Function
FileHandler
FileHandler returns a handler which writes log records to the give file using the given format. If the path already exists, FileHandler will append to
src/gopkg.in/inconshreveable/log15.v2/handler.go:63
↓ 1 callers
Function
FromOraText
(textp *C.OraText, length int)
src/github.com/tgulacsi/goracle/oracle/cursor.go:93
↓ 1 callers
Method
GetBindNames
Return a list of bind variable names.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1601
↓ 1 callers
Method
GetDescription
Return a list of 7-tuples consisting of the description of the define variables.
src/github.com/tgulacsi/goracle/oracle/cursor.go:507
↓ 1 callers
Method
GetRowCount
returns the rowcount of the statement (0 for select, rows affected for DML)
src/github.com/tgulacsi/goracle/oracle/cursor.go:273
↓ 1 callers
Method
GetVarType
()
src/github.com/tgulacsi/goracle/oracle/variable.go:297
↓ 1 callers
Function
HotSwapHandler
HotSwapHandler wraps another handler that may swapped out dynamically at runtime in a thread-safe fashion. HotSwapHandler is the same functionality us
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:97
← previous
next →
401–500 of 1,284, ranked by callers