Represents a json array that should be placed into a SQL query literally.

Constructor

Defined sql.js Source
  1. function (arr){
  2. if (!(this instanceof JsonArray)) {
  3. return new JsonArray(arr);
  4. }
  5. Array.call(this);
  6. var i = -1, l = arr.length;
  7. while (++i < l) {
  8. this.push(arr[i]);
  9. }
  10. }

Documentation generated using coddoc.