Skip to content
Patrik Simek edited this page Sep 28, 2016 · 1 revision

Prepared Statement

  • execute method now returns 3 arguments instead of 2.

    ps.execute(values, function(err, recordset, affected) { });

    When streaming, done event now returns 2 arguments instead of 1.

    request.on('done', function(returnValue, affected) { });

Request

  • execute method now returns 4 arguments instead of 3.

    ps.execute(values, function(err, recordset, returnValue, affected) { });

    When streaming, done event now returns 2 arguments instead of 1.

    request.on('done', function(returnValue, affected) { });
  • query method now returns 3 arguments instead of 2.

    ps.execute(values, function(err, recordset, affected) { });

    When streaming, done event now returns 1 argument.

    request.on('done', function(affected) { });
Clone this wiki locally