MCPcopy Index your code
hub / github.com/brianc/node-postgres / _getRows

Method _getRows

packages/pg/lib/query.js:193–206  ·  view source on GitHub ↗
(connection, rows)

Source from the content-addressed store, hash-verified

191 }
192
193 _getRows(connection, rows) {
194 connection.execute({
195 portal: this.portal,
196 rows: rows,
197 })
198 // if we're not reading pages of rows send the sync command
199 // to indicate the pipeline is finished
200 if (!rows) {
201 connection.sync()
202 } else {
203 // otherwise flush the call out to read more rows
204 connection.flush()
205 }
206 }
207
208 // http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
209 prepare(connection) {

Callers 2

handlePortalSuspendedMethod · 0.95
prepareMethod · 0.95

Calls 3

executeMethod · 0.80
syncMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected