Function Dpq2Connection.execStatementRbR

Row-by-row version of execStatement

void execStatementRbR (
  string sqlCommand,
  void delegate(immutable(Row)) answerRowProcessDg,
  ValueFormat resultFormat = ValueFormat.BINARY
);

void execStatementRbR (
  scope ref const(QueryParams) params,
  void delegate(immutable(Row)) answerRowProcessDg
);

Delegate called for each received row.

More info: https://www.postgresql.org/docs/current/libpq-single-row-mode.html