Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed May 25, 2024
1 parent 9e4143c commit 6c477a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers_table-name.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-pg
*/
function _TN(a, ...args) {
if (Array.isArray(a) &amp;&amp; a.raw) {
a = args.length ? args.map((b, i) => a[i] + b).join('') : a[0];
a = args.length ? a.map((b, i) => b + (args[i] || '')).join('') : a[0];
}
const [schema, table] = a.split('.');
return table === undefined ? {table: schema} : {schema, table};
Expand Down

0 comments on commit 6c477a4

Please sign in to comment.