github.com/jackc/pgconn.StatementDescription.ParamOIDs (field)
15 uses
github.com/jackc/pgconn (current package)
pgconn.go#L733: ParamOIDs []uint32
pgconn.go#L780: psd.ParamOIDs = make([]uint32, len(msg.ParameterOIDs))
pgconn.go#L781: copy(psd.ParamOIDs, msg.ParameterOIDs)
github.com/jackc/pgx/v4
conn.go#L488: if len(sd.ParamOIDs) != len(arguments) {
conn.go#L489: return fmt.Errorf("expected %d arguments, got %d", len(sd.ParamOIDs), len(arguments))
conn.go#L500: err = c.eqb.AppendParam(c.connInfo, sd.ParamOIDs[i], args[i])
conn.go#L519: result := c.pgConn.ExecParams(ctx, sd.SQL, c.eqb.paramValues, sd.ParamOIDs, c.eqb.paramFormats, c.eqb.resultFormats).Read()
conn.go#L631: if len(sd.ParamOIDs) != len(args) {
conn.go#L632: rows.fatal(fmt.Errorf("expected %d arguments, got %d", len(sd.ParamOIDs), len(args)))
conn.go#L645: err = c.eqb.AppendParam(c.connInfo, sd.ParamOIDs[i], args[i])
conn.go#L668: rows.resultReader = c.pgConn.ExecParams(ctx, sql, c.eqb.paramValues, sd.ParamOIDs, c.eqb.paramFormats, resultFormats)
conn.go#L793: if len(sd.ParamOIDs) != len(bi.arguments) {
conn.go#L803: err = c.eqb.AppendParam(c.connInfo, sd.ParamOIDs[i], args[i])
conn.go#L814: batch.ExecParams(bi.query, c.eqb.paramValues, sd.ParamOIDs, c.eqb.paramFormats, c.eqb.resultFormats)
github.com/jackc/pgx/v4/stdlib
sql.go#L407: return len(s.sd.ParamOIDs)
 |
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. |