node-sql-template-strings
node-sql-template-strings copied to clipboard
Improved append(...) and nested statements
This MR addresses all concerns and optimizations reised in #30 and #44
- SQLStatement can be used as value
- raw names can be passed via
'${'table_' + name}'with'or"transform -
.append(...)doesn't need a space at the beginning, it's handled automatically
Codecov Report
Merging #104 into master will not change coverage. The diff coverage is
100%.
@@ Coverage Diff @@
## master #104 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 36 62 +26
Branches 6 12 +6
=====================================
+ Hits 36 62 +26
| Impacted Files | Coverage Ξ | |
|---|---|---|
| index.js | 100% <100%> (ΓΈ) |
:arrow_up: |