Skip to content

Instantly share code, notes, and snippets.

@jphenow
Last active December 20, 2015 10:19
Show Gist options
  • Save jphenow/6114353 to your computer and use it in GitHub Desktop.
Save jphenow/6114353 to your computer and use it in GitHub Desktop.
Possible Heredocs
execute(<<-STR)
SELECT *
FROM *
STR
execute(<<-STR.gsub(/*/, ";DROP *;"), now: true)
SELECT *
FROM *
STR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment