- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for QueryRowContext (0.1 sec)
-
tests/connpool_test.go
c.conn.got = append(c.conn.got, query) return c.Tx.QueryContext(ctx, query, args...) } func (c *wrapperTx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row { c.conn.got = append(c.conn.got, query) return c.Tx.QueryRowContext(ctx, query, args...) } type wrapperConnPool struct { db *sql.DB got []string expect []string }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
prepare_stmt.go
go stmt.Close() delete(db.Stmts, query) } } return rows, err } func (db *PreparedStmtDB) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row { stmt, err := db.prepare(ctx, db.ConnPool, false, query) if err == nil { return stmt.QueryRowContext(ctx, args...) } return &sql.Row{} } func (db *PreparedStmtDB) Ping() error { conn, err := db.GetDBConn()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 6.6K bytes - Viewed (0) -
callbacks/row.go
db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) } else { db.Statement.Dest = db.Statement.ConnPool.QueryRowContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) } db.RowsAffected = -1 }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 05:40:41 UTC 2023 - 581 bytes - Viewed (0) -
interfaces.go
ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row } // SavePointerDialectorInterface save pointer interface type SavePointerDialectorInterface interface { SavePoint(tx *DB, name string) error
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Aug 19 13:33:31 UTC 2023 - 2.2K bytes - Viewed (0) -
api/go1.8.txt
pkg database/sql, method (*DB) PrepareContext(context.Context, string) (*Stmt, error) pkg database/sql, method (*DB) QueryContext(context.Context, string, ...interface{}) (*Rows, error) pkg database/sql, method (*DB) QueryRowContext(context.Context, string, ...interface{}) *Row pkg database/sql, method (*Rows) ColumnTypes() ([]*ColumnType, error) pkg database/sql, method (*Rows) NextResultSet() bool
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
api/go1.9.txt
pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error) pkg database/sql, method (*Conn) QueryContext(context.Context, string, ...interface{}) (*Rows, error) pkg database/sql, method (*Conn) QueryRowContext(context.Context, string, ...interface{}) *Row pkg database/sql, method (*DB) Conn(context.Context) (*Conn, error) pkg database/sql, type Conn struct pkg database/sql, type Out struct
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0)