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 6c477a4 commit a3ca847
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 ? a.map((b, i) => b + (args[i] || '')).join('') : a[0];
a = a.map((b, i) => b + (i &lt; args.length ? args[i] : '')).join('');
}
const [schema, table] = a.split('.');
return table === undefined ? {table: schema} : {schema, table};
Expand Down

0 comments on commit a3ca847

Please sign in to comment.