mirror of https://github.com/jackc/pgx.git
Remove obsolete comment
parent
a0cef77510
commit
248754aa61
|
@ -1145,7 +1145,6 @@ type Batch struct {
|
|||
|
||||
// ExecParams appends an ExecParams command to the batch. See PgConn.ExecParams for parameter descriptions.
|
||||
func (batch *Batch) ExecParams(sql string, paramValues [][]byte, paramOIDs []uint32, paramFormats []int16, resultFormats []int16) {
|
||||
// TODO - refactor ExecParams and ExecPrepared - these lines only difference
|
||||
batch.buf = (&pgproto3.Parse{Query: sql, ParameterOIDs: paramOIDs}).Encode(batch.buf)
|
||||
batch.ExecPrepared("", paramValues, paramFormats, resultFormats)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue