Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jackc/pgx
/ Prepare
Method
Prepare
stdlib/sql_test.go:140–140 ·
view source on GitHub ↗
(query string)
Source
from the content-addressed store, hash-verified
138
139
type
preparer
interface
{
140
Prepare(query string) (*sql.Stmt, error)
141
}
142
143
func
prepareStmt(t *testing.T, p preparer, sql string) *sql.Stmt {
Callers
5
PrepareContext
Method · 0.65
prepareStmt
Function · 0.65
TestStmtExecContextSuccess
Function · 0.65
TestStmtExecContextCancel
Function · 0.65
TestStmtQueryContextSuccess
Function · 0.65
Implementers
6
Conn
conn.go
dbTx
tx.go
dbSimulatedNestedTx
tx.go
Conn
stdlib/sql.go
Tx
pgxpool/tx.go
PgConn
pgconn/pgconn.go
Calls
no outgoing calls
Tested by
4
prepareStmt
Function · 0.52
TestStmtExecContextSuccess
Function · 0.52
TestStmtExecContextCancel
Function · 0.52
TestStmtQueryContextSuccess
Function · 0.52