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
↓ 1 callers
Method
InsertId
()
src/github.com/ziutek/mymysql/mysql/interface.go:62
↓ 1 callers
Method
IsBinary
()
src/github.com/tgulacsi/goracle/oracle/stringvar.go:31
↓ 1 callers
Method
IsDate
()
src/github.com/tgulacsi/goracle/oracle/datetimevar.go:50
↓ 1 callers
Function
IsNetErr
Return true if error is network error or UnexpectedEOF.
src/github.com/ziutek/mymysql/autorc/autorecon.go:13
↓ 1 callers
Method
IsString
()
src/github.com/tgulacsi/goracle/oracle/stringvar.go:24
↓ 1 callers
Method
Isset
(k string)
src/github.com/lib/pq/conn.go:226
↓ 1 callers
Function
JsonFormatEx
JsonFormatEx formats log records as JSON objects. If pretty is true, records will be pretty-printed. If lineSeparated is true, records will be logged
src/gopkg.in/inconshreveable/log15.v2/format.go:126
↓ 1 callers
Method
Localtime
It is like LocaltimeErr but returns 0000-00-00 00:00:00 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:274
↓ 1 callers
Function
NetHandler
NetHandler opens a socket to the given address and writes records over the connection.
src/gopkg.in/inconshreveable/log15.v2/handler.go:73
↓ 1 callers
Method
NetHandler
(network, addr string, fmtr Format)
src/gopkg.in/inconshreveable/log15.v2/handler.go:336
↓ 1 callers
Function
New
(proto, laddr, raddr, user, passwd string, db ...string)
src/github.com/ziutek/mymysql/autorc/autorecon.go:32
↓ 1 callers
Function
NewConnection
Initialize the connection members.
src/github.com/tgulacsi/goracle/oracle/connection.go:91
↓ 1 callers
Function
NewCursor
Creates new cursor
src/github.com/tgulacsi/goracle/oracle/cursor.go:114
↓ 1 callers
Function
NewEnvironment
Create and initialize a new environment object
src/github.com/tgulacsi/goracle/oracle/environment.go:58
↓ 1 callers
Function
NewError
(code int, message string)
src/github.com/tgulacsi/goracle/oracle/error.go:16
↓ 1 callers
Function
NewListener
NewListener creates a new database connection dedicated to LISTEN / NOTIFY. name should be set to a connection string to be used to establish the dat
src/github.com/lib/pq/notify.go:409
↓ 1 callers
Method
NewVariableArrayByValue
* // Allocate a new variable by looking at the type of the data. static udt_Variable *Variable_NewByInputTypeHandler( udt_Cursor *cursor,
src/github.com/tgulacsi/goracle/oracle/variable.go:566
↓ 1 callers
Method
NewVariableByValue
Default method for determining the type of variable to use for the data.
src/github.com/tgulacsi/goracle/oracle/variable.go:507
↓ 1 callers
Method
Next
DATE, DATETIME, TIMESTAMP are treated as they are in Local time zone
src/github.com/ziutek/mymysql/godrv/driver.go:121
↓ 1 callers
Method
NlsSettings
retrieve NLS parameters: OCI charset, client NLS_LANG and database NLS_LANG cur can be nil (in this case it allocates one)
src/github.com/tgulacsi/goracle/oracle/connection.go:402
↓ 1 callers
Method
NumField
()
src/github.com/ziutek/mymysql/mysql/interface.go:46
↓ 1 callers
Method
NumParam
()
src/github.com/ziutek/mymysql/mysql/interface.go:47
↓ 1 callers
Method
Ping
Executes a simple Ping-CMD to test or keepalive the connection
src/code.google.com/p/go-mysql-driver/mysql/connection.go:276
↓ 1 callers
Method
Prepare
Prepare the statement for execution. statementTag is optional
src/github.com/tgulacsi/goracle/oracle/cursor.go:953
↓ 1 callers
Function
ProgrammingError
(text string)
src/github.com/tgulacsi/goracle/oracle/error.go:42
↓ 1 callers
Method
Query
Query acquires a connection and delegates the call to that connection. When *Rows are closed, the connection is released automatically.
src/github.com/jackc/pgx/conn_pool.go:174
↓ 1 callers
Method
Query
Query delegates to the underlying *Conn
src/github.com/jackc/pgx/tx.go:105
↓ 1 callers
Function
QuoteIdentifier
QuoteIdentifier escapes and quotes an identifier making it safe for interpolation into an SQL string
src/github.com/jackc/pgx/values.go:447
↓ 1 callers
Method
Read
Return a portion (or all) of the data in the external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:212
↓ 1 callers
Method
ReadAll
Return a portion (or all) of the data in the external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:220
↓ 1 callers
Method
ReadInt16
()
src/github.com/jackc/pgx/value_reader.go:49
↓ 1 callers
Method
Rollback
()
src/github.com/lib/pq/conn.go:398
↓ 1 callers
Method
Running
()
src/sqltest/sql_test.go:72
↓ 1 callers
Method
Running
()
src/sqltest/sql_test.go:121
↓ 1 callers
Method
Running
()
src/sqltest/sql_test.go:139
↓ 1 callers
Method
Running
()
src/sqltest/sql_test.go:155
↓ 1 callers
Method
Running
()
src/sqltest/sql_test.go:171
↓ 1 callers
Function
SanitizeSql
SanitizeSql substitutely args positionaly into sql. Placeholder values are $ prefixed integers like $1, $2, $3, etc. args are sanitized and quoted as
src/github.com/jackc/pgx/values.go:455
↓ 1 callers
Method
SetMaxPktSize
(new_size int)
src/github.com/ziutek/mymysql/mysql/interface.go:24
↓ 1 callers
Function
SpeculativeHandler
SpeculativeHandler is a handler for speculative logging. It keeps a ring buffer of the given size full of the last events logged into it. When Flush i
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:47
↓ 1 callers
Function
SplitDsn
splits username/password@sid
src/github.com/tgulacsi/goracle/oracle/connection.go:387
↓ 1 callers
Method
Start
Start new query. If you specify the parameters, the SQL string will be a result of fmt.Sprintf(sql, params...). You must get all result rows (if they
src/github.com/ziutek/mymysql/native/mysql.go:281
↓ 1 callers
Method
Swap
(newHandler Handler)
src/gopkg.in/inconshreveable/log15.v2/handler.go:245
↓ 1 callers
Method
Swap
(newHandler log.Handler)
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:113
↓ 1 callers
Function
SyncHandler
SyncHandler can be wrapped around a handler to guarantee that only a single Log operation can proceed at a time. It's necessary for thread-safe concur
src/gopkg.in/inconshreveable/log15.v2/handler.go:50
↓ 1 callers
Function
SyslogHandler
SyslogHandler opens a connection to the system syslog daemon by calling syslog.New and writes all records to it.
src/gopkg.in/inconshreveable/log15.v2/syslog.go:12
↓ 1 callers
Function
SyslogNetHandler
SyslogHandler opens a connection to a log daemon over the network and writes all log records to it.
src/gopkg.in/inconshreveable/log15.v2/syslog.go:19
↓ 1 callers
Method
Time
Converts Date to time.Time using loc location. Converts MySQL zero to time.Time zero.
src/github.com/ziutek/mymysql/mysql/types.go:28
↓ 1 callers
Method
Uint64
Get the nn-th value and return it as uint64. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:430
↓ 1 callers
Method
Value
Value implements the driver Valuer interface.
src/github.com/lib/pq/encode.go:360
↓ 1 callers
Method
acquireSenderLock
We can only allow one goroutine at a time to be running a query on the connection for various reasons, so the goroutine sending on the connection must
src/github.com/lib/pq/notify.go:89
↓ 1 callers
Method
allocateData
Allocate the data for the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:208
↓ 1 callers
Method
auth
(r *readBuf, o values)
src/github.com/lib/pq/conn.go:779
↓ 1 callers
Method
auth
()
src/github.com/ziutek/mymysql/native/init.go:35
↓ 1 callers
Function
benchPreparedQueryLoop
(b *testing.B, db *sql.DB, stmt *sql.Stmt, result interface{})
src/github.com/lib/pq/bench_test.go:199
↓ 1 callers
Function
benchQueryLoop
(b *testing.B, db *sql.DB, query string, result interface{})
src/github.com/lib/pq/bench_test.go:46
↓ 1 callers
Method
bytes
(v []byte)
src/github.com/lib/pq/buf.go:71
↓ 1 callers
Function
bytesToFloat32
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:234
↓ 1 callers
Function
bytesToFloat64
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:238
↓ 1 callers
Method
callBuildStatement
Determine the statement and the bind variables to bind to the statement that is created for calling a stored procedure or function.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1007
↓ 1 callers
Method
callCalculateSize
Calculate the size of the statement that is to be executed.
src/github.com/tgulacsi/goracle/oracle/cursor.go:967
↓ 1 callers
Function
checkStmt
(t *testing.T, res, exp *StmtErr)
src/github.com/ziutek/mymysql/native/native_test.go:232
↓ 1 callers
Method
connect
()
src/github.com/lib/pq/notify.go:645
↓ 1 callers
Function
deleteUrlHandler
(w http.ResponseWriter, req *http.Request)
src/github.com/jackc/pgx/examples/url_shortener/main.go:76
↓ 1 callers
Function
dial
(o values)
src/github.com/lib/pq/conn.go:176
↓ 1 callers
Method
disconnectCleanup
Clean up after losing the server connection. Returns l.cn.Err(), which should have the reason the connection was lost.
src/github.com/lib/pq/notify.go:570
↓ 1 callers
Function
encodeBytea
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:943
↓ 1 callers
Function
encodeDate
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:989
↓ 1 callers
Function
encodeTimestamp
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:1082
↓ 1 callers
Method
encryptedPasswd
Borrowed from GoMySQL SHA1(SHA1(SHA1(password)), scramble) XOR SHA1(password)
src/github.com/ziutek/mymysql/native/codecs.go:452
↓ 1 callers
Method
eof
()
src/github.com/ziutek/mymysql/native/packet.go:77
↓ 1 callers
Function
evaluateLazy
(lz Lazy)
src/gopkg.in/inconshreveable/log15.v2/handler.go:281
↓ 1 callers
Function
expectNoEvent
(t *testing.T, eventch <-chan ListenerEventType)
src/github.com/lib/pq/notify_test.go:53
↓ 1 callers
Method
fetchInto
Fetch current row's columns into the given pointers
src/github.com/tgulacsi/goracle/oracle/cursor.go:790
↓ 1 callers
Function
float32ToByteStr
(f float32)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:310
↓ 1 callers
Function
float64ToByteStr
(f float64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:314
↓ 1 callers
Function
float64ToBytes
(f float64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:242
↓ 1 callers
Function
formatJsonValue
(value interface{})
src/gopkg.in/inconshreveable/log15.v2/format.go:181
↓ 1 callers
Method
getBinRowPacket
(pr *pktReader, res *Result)
src/github.com/ziutek/mymysql/native/result.go:240
↓ 1 callers
Method
getBindNames
Return a list of bind variable names. At this point the cursor must have already been prepared.
src/github.com/tgulacsi/goracle/oracle/cursor.go:127
↓ 1 callers
Function
getConnection
(t *testing.T)
src/github.com/tgulacsi/goracle/conntest/main.go:58
↓ 1 callers
Method
getErrorOffset
returns the bind variables array and map func (cur Cursor) GetBindVars() ([]*Variable, map[string]*Variable) { return cur.bindVarsArr, cur.bindVarsMa
src/github.com/tgulacsi/goracle/oracle/cursor.go:283
↓ 1 callers
Method
getOkPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:114
↓ 1 callers
Method
getPrepareOkPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/prepared.go:143
↓ 1 callers
Method
getResSetHeadPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:171
↓ 1 callers
Method
getSystemVar
Gets the value of the given MySQL System Variable
src/code.google.com/p/go-mysql-driver/mysql/connection.go:243
↓ 1 callers
Method
getTextRowPacket
(pr *pktReader, res *Result)
src/github.com/ziutek/mymysql/native/result.go:220
↓ 1 callers
Function
getUrlHandler
(w http.ResponseWriter, req *http.Request)
src/github.com/jackc/pgx/examples/url_shortener/main.go:46
↓ 1 callers
Method
getValueInto
FIXME: proper Into, not just this dummy fetches value into the dest pointer
src/github.com/tgulacsi/goracle/oracle/variable.go:124
↓ 1 callers
Method
gname
()
src/github.com/lib/pq/conn.go:413
↓ 1 callers
Method
handleParams
Handles parameters set in DSN
src/code.google.com/p/go-mysql-driver/mysql/connection.go:53
↓ 1 callers
Function
hashTag
(tag []byte)
src/github.com/tgulacsi/goracle/oracle/cursor.go:1642
↓ 1 callers
Method
init
()
src/github.com/ziutek/mymysql/native/init.go:7
↓ 1 callers
Function
int64ToBytes
(n int64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:230
↓ 1 callers
Method
internalRead
Return the size of the LOB variable for internal comsumption.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:48
↓ 1 callers
Function
isVariable
Returns a boolean indicating if the object is a variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:132
↓ 1 callers
Method
itemDescription
Return a tuple describing the item at the given position.
src/github.com/tgulacsi/goracle/oracle/cursor.go:480
↓ 1 callers
Method
itemDescriptionHelper
Helper for Cursor_ItemDescription() used so that it is not necessary to constantly free the descriptor when an error takes place.
src/github.com/tgulacsi/goracle/oracle/cursor.go:376
↓ 1 callers
Function
lenDate
(d mysql.Date)
src/github.com/ziutek/mymysql/native/codecs.go:443
↓ 1 callers
Function
lenDuration
(d time.Duration)
src/github.com/ziutek/mymysql/native/codecs.go:325
← previous
next →
501–600 of 1,284, ranked by callers