Merge pull request #838 from SonicHedgehog/master

Fixed typo
This commit is contained in:
Taylor Otwell 2012-06-20 09:38:55 -07:00
commit 24bbd66273
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ public function query($sql, $bindings = array())
return $statement->rowCount(); return $statement->rowCount();
} }
// For insert statements that use the "returning" clause, which is allowed // For insert statements that use the "returning" clause, which is allowed
// by databsae systems such as Postgres, we need to actually return the // by database systems such as Postgres, we need to actually return the
// real query result so the consumer can get the ID. // real query result so the consumer can get the ID.
elseif (stripos($sql, 'insert') === 0 and stripos($sql, 'returning') !== false) elseif (stripos($sql, 'insert') === 0 and stripos($sql, 'returning') !== false)
{ {