Commit e85ca96e by Taylor Otwell

Merge pull request #614 from awellis13/feature/trim-sql-for-query

Add trim() to Connection::query()
parents caf0bb7c 100a59c9
......@@ -175,6 +175,8 @@ class Connection {
*/
public function query($sql, $bindings = array())
{
$sql = trim($sql);
list($statement, $result) = $this->execute($sql, $bindings);
// The result we return depends on the type of query executed against the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment