Created
July 27, 2015 14:12
-
-
Save AbdulR3hman/af1d5a6835374d9aa071 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assume we have the following SQL in our ruby; | |
"Select * from employee em where em.id = 1" | |
now, I want to keep my sql in a seperate file and do the following | |
sql.exec (employee, 3) and this would call the above sql with a toknized id and filters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment