Skip to content

Instantly share code, notes, and snippets.

@rightfold
Created February 3, 2015 09:26
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 rightfold/7622d00146ed3e9237ad to your computer and use it in GitHub Desktop.
Save rightfold/7622d00146ed3e9237ad to your computer and use it in GitHub Desktop.

code:

sql"select c from t where d = $x and e = ${y + z}"

is the same as:

sql("select c from t where d = ", x, " and e = ", y + z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment