Skip to content

Instantly share code, notes, and snippets.

@davidpadbury
Created February 4, 2016 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidpadbury/e24cff3bb3774b1d5453 to your computer and use it in GitHub Desktop.
Save davidpadbury/e24cff3bb3774b1d5453 to your computer and use it in GitHub Desktop.
function sql (executor) {
return (strings, ...values) => executor.raw(strings.join('?'), values)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment