Skip to content

Commit

Permalink
docs update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed May 16, 2015
1 parent 5a337e0 commit 0bb9cae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ When a value/property inside array/object is of type `object` (except for `null`
serialized into JSON, the same as calling method `as.json()`, except the latter would convert anything to JSON.

Raw text values can be injected by using variable name appended with symbol `^`:
`$1^, $2^, etc...`, `${varName^}` or `$(varName)`.
`$1^, $2^, etc...`, `${varName^}` or `$(varName^)`.
Raw text is injected without any pre-processing, which means:
* No replacing each single-quote symbol `'` with two;
* No wrapping text into single quotes.
Expand Down Expand Up @@ -558,8 +558,7 @@ of letters, digits, underscores and `$`;
It is important to know that while property values `null` and `undefined` are both formatted as `null`,
an error is thrown when the property doesn't exist at all.

Version 1.2.0 of the library extended the syntax to also support `$(propName)`, for better
compliance with ES6.
Version 1.2.0 of the library added support for `$(propName)` syntax, for better compliance with ES6.

## Functions and Procedures
In PostgreSQL stored procedures are just functions that usually do not return anything.
Expand Down

0 comments on commit 0bb9cae

Please sign in to comment.