laravel/laravel — pull request #614 by awellis13 (2012-05-03 17:20:38+00:00)
Title: Add trim() to 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
');
```