type github.com/Masterminds/squirrel.StmtCache
12 uses
github.com/Masterminds/squirrel (current package)
stmtcacher.go#L31: type StmtCache struct {
stmtcacher.go#L39: func (sc *StmtCache) Prepare(query string) (*sql.Stmt, error) {
stmtcacher.go#L55: func (sc *StmtCache) Exec(query string, args ...interface{}) (res sql.Result, err error) {
stmtcacher.go#L64: func (sc *StmtCache) Query(query string, args ...interface{}) (rows *sql.Rows, err error) {
stmtcacher.go#L73: func (sc *StmtCache) QueryRow(query string, args ...interface{}) RowScanner {
stmtcacher.go#L82: func (sc *StmtCache) Clear() (err error) {
stmtcacher_ctx.go#L30: func NewStmtCache(prep PreparerContext) *StmtCache {
stmtcacher_ctx.go#L31: return &StmtCache{prep: prep, cache: make(map[string]*sql.Stmt)}
stmtcacher_ctx.go#L43: func (sc *StmtCache) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
stmtcacher_ctx.go#L62: func (sc *StmtCache) ExecContext(ctx context.Context, query string, args ...interface{}) (res sql.Result, err error) {
stmtcacher_ctx.go#L71: func (sc *StmtCache) QueryContext(ctx context.Context, query string, args ...interface{}) (rows *sql.Rows, err error) {
stmtcacher_ctx.go#L80: func (sc *StmtCache) QueryRowContext(ctx context.Context, query string, args ...interface{}) RowScanner {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |