Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Nov 18, 2020
1 parent 2ad346b commit 4687db7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/database.js
Expand Up @@ -961,7 +961,7 @@ function Database(cn, dc, config) {
* @param {string} funcName
* Name of the function to be executed.
* When it is not same-case, or contains extended symbols, it is double-quoted, as per the `:alias` filter,
* which also supports `.` to auto-split into multiple SQL names.
* which also supports `.`, to auto-split into a composite name.
*
* @param {array|value|function} [values]
* Parameters for the function - one value | array of values | function returning value(s).
Expand Down Expand Up @@ -991,7 +991,7 @@ function Database(cn, dc, config) {
* @param {string} procName
* Name of the stored procedure to be executed.
* When it is not same-case, or contains extended symbols, it is double-quoted, as per the `:alias` filter,
* which also supports `.` to auto-split into multiple SQL names.
* which also supports `.`, to auto-split into a composite SQL name.
*
* @param {array|value|function} [values]
* Parameters for the procedure - one value | array of values | function returning value(s).
Expand Down
4 changes: 2 additions & 2 deletions lib/formatting.js
Expand Up @@ -501,14 +501,14 @@ const $as = {
* @description
* Simpler (non-verbose) version of method {@link formatting.name name}, to handle only a regular string-identifier
* that's mostly used as an SQL alias, i.e. it doesn't support `*` or an array/object of names, which in the context of
* an SQL alias would be incorrect. However, it supports `.` as name-separator, for simpler escaping composite names.
* an SQL alias would be incorrect. However, it supports `.` as name-separator, for simpler escaping of composite names.
*
* The surrounding double quotes are not added when the alias uses a simple syntax:
* - it is a same-case single word, without spaces
* - it can contain underscores, and can even start with them
* - it can contain digits and `$`, but cannot start with those
*
* The method will automatically split the string based on `.`, to support composite SQL names.
* The method will automatically split the string with `.`, to support composite SQL names.
*
* When formatting a query, a variable makes use of this method via modifier `:alias`. See method {@link formatting.format format}.
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -46,7 +46,7 @@
"spex": "3.0.2"
},
"devDependencies": {
"@types/node": "14.14.7",
"@types/node": "14.14.8",
"bluebird": "3.7.2",
"coveralls": "3.1.0",
"eslint": "7.13.0",
Expand Down

0 comments on commit 4687db7

Please sign in to comment.