Skip to content

Conversation

@yannvgn
Copy link
Collaborator

@yannvgn yannvgn commented Oct 1, 2018

feature: pass raw data/values to queries:

const tableName = 'books'
const query = sql`select * from ${sql.raw(tableName)}`
  • tests
  • docs

@yannvgn yannvgn requested a review from lucleray October 1, 2018 13:14
@codecov
Copy link

codecov bot commented Oct 1, 2018

Codecov Report

Merging #12 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #12   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           3      3           
  Lines          42     44    +2     
  Branches        2      2           
=====================================
+ Hits           42     44    +2
Impacted Files Coverage Δ
lib/utils.ts 100% <ø> (ø) ⬆️
lib/pg.ts 100% <100%> (ø) ⬆️
lib/sql.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17ada3c...5efe81f. Read the comment docs.

@lucleray lucleray merged commit 4aa29c7 into master Oct 1, 2018
@lucleray lucleray deleted the sql-raw branch October 1, 2018 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants