Closed fuCtor closed 9 years ago
Does this change fit your requirements?
https://github.com/sufleR/sql_query/commit/a7af8cf0175dea6795d712a4dcf5917ea146c493
Options hash may be empty. Not every query needs conditions.
I like idea for first argument as file name. with this change we can initialize SqlQuery with very similar way as we do with views
Example:
SqlQuery.new 'player/get_by_email', email: 'e@mail.dev'
closing with release 0.2.0
Maybe make, some thing like this:
Use: