type database/sql.Stmt
33 uses
database/sql (current package)
sql.go#L1552: func (db *DB) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L1553: var stmt *Stmt
sql.go#L1577: func (db *DB) Prepare(query string) (*Stmt, error) {
sql.go#L1581: func (db *DB) prepare(ctx context.Context, query string, strategy connReuseStrategy) (*Stmt, error) {
sql.go#L1598: func (db *DB) prepareDC(ctx context.Context, dc *driverConn, release func(error), cg stmtConnGrabber, query string) (*Stmt, error) {
sql.go#L1610: stmt := &Stmt{
sql.go#L2035: func (c *Conn) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L2174: v []*Stmt
sql.go#L2349: func (tx *Tx) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L2374: func (tx *Tx) Prepare(query string) (*Stmt, error) {
sql.go#L2393: func (tx *Tx) StmtContext(ctx context.Context, stmt *Stmt) *Stmt {
sql.go#L2396: return &Stmt{stickyErr: err}
sql.go#L2401: return &Stmt{stickyErr: errors.New("sql: Tx.Stmt: statement from different database used")}
sql.go#L2404: var parentStmt *Stmt
sql.go#L2418: return &Stmt{stickyErr: err}
sql.go#L2439: return &Stmt{stickyErr: err}
sql.go#L2446: txs := &Stmt{
sql.go#L2480: func (tx *Tx) Stmt(stmt *Stmt) *Stmt {
sql.go#L2578: type Stmt struct {
sql.go#L2600: parentStmt *Stmt
sql.go#L2618: func (s *Stmt) ExecContext(ctx context.Context, args ...any) (Result, error) {
sql.go#L2650: func (s *Stmt) Exec(args ...any) (Result, error) {
sql.go#L2674: func (s *Stmt) removeClosedStmtLocked() {
sql.go#L2699: func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *driverConn, releaseConn func(error), ds *driverStmt, err error) {
sql.go#L2752: func (s *Stmt) prepareOnConnLocked(ctx context.Context, dc *driverConn) (*driverStmt, error) {
sql.go#L2766: func (s *Stmt) QueryContext(ctx context.Context, args ...any) (*Rows, error) {
sql.go#L2824: func (s *Stmt) Query(args ...any) (*Rows, error) {
sql.go#L2844: func (s *Stmt) QueryRowContext(ctx context.Context, args ...any) *Row {
sql.go#L2866: func (s *Stmt) QueryRow(args ...any) *Row {
sql.go#L2871: func (s *Stmt) Close() error {
sql.go#L2901: func (s *Stmt) finalClose() error {