Skip to content

Commit

Permalink
docs update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Apr 8, 2015
1 parent 4bcdc03 commit fd8be40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function query(query, values, qrm);
Starting with version 0.9.2, the library supports [Postgres Array Types](http://www.postgresql.org/docs/9.4/static/arrays.html).
When an array or object value is of type array, it is treated as a Postgres array type, converted into the format
of `{{1,2,3},{4,5,6}}`. And type conversion namespace were extended with method `as.array()`.
of `{{1,2,3},{4,5,6}}`. Namespace for type conversion has been extended with method `as.array()`.
In order to eliminate the chances of unexpected query results and make code more robust, each request supports
parameter `qrm` (Query Result Mask), via type `queryResult`:
Expand Down Expand Up @@ -464,7 +464,7 @@ pgp.as.text(value); // converts value into PostgreSQL text presentation,
pgp.as.date(value); // converts value into PostgreSQL date/time presentation,
// wrapped in quotes;

pgp.as.array(array); // converts array into [PostgreSQL Array Type](http://www.postgresql.org/docs/9.4/static/arrays.html) string,
pgp.as.array(array); // converts array into PostgreSQL Array Type string,
// wrapped in quotes;

pgp.as.csv(array); // returns a CSV string with values formatted according
Expand Down

0 comments on commit fd8be40

Please sign in to comment.