Fixed indentation
Allow queries to be supplied as tables
Merge branch 'pull-request/db-from-query' into 4.0
Merge branch 'pull-request/toSql-with-bindings' into 4.0