laravel/laravel — pull request #613 by awellis13 (2012-05-03 17:19:31+00:00)
Title: Add trim() to $sql in Connection::query()

For those of us who format their SQL in various ways, such as the following basic example, we need to have `trim()` applied to `$sql` in `Connection::query()`. Without this the `stripos` calls fail to find the select, insert, etc.

```
DB::query('
SELECT *
FROM table
');
```