Allow sql where conditions

`__sql` key in where conditions implies raw sql.

Doing it this way required a lot less changes than adding something like `sqlConditions`.
If you have a better name idea, please suggest/change it.