Skip to content

Commit 90b3df0

Browse files
committed
docs.
1 parent 60111c9 commit 90b3df0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ When we pass `values` as a single parameter or inside an array, it is verified t
403403
that supports function `formatDBType`, as either its own or inherited. And if the function exists,
404404
its return result overrides both the actual value and the formatting syntax for parameter `query`.
405405

406-
This allows use of your own custom types as formatting parameters for the queries, as well as
406+
This allows usage of your own custom types as formatting parameters for the queries, as well as
407407
overriding formatting for standard object types, such as `Date` and `Array`.
408408

409409
**Example: your own type formatting**

lib/formatting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,9 @@ var $as = {
655655
* - CSV override ends with `:csv` to format an array as a properly escaped comma-separated list of values.
656656
*
657657
* @param {string|value|Object} query
658-
* A query string or a value/object that implements _Custom Type Formatting_, to be formatted according to `values`.
658+
* A query string or a value/object that implements $[Custom Type Formatting], to be formatted according to `values`.
659659
*
660-
* **NOTE:** Support for _Custom Type Formatting_ was added in v5.2.7.
660+
* **NOTE:** Support for $[Custom Type Formatting] was added in v5.2.7.
661661
*
662662
* @param {array|object|value} [values]
663663
* Formatting parameter(s) / variable value(s).

0 commit comments

Comments
 (0)