Fixed typo
This commit is contained in:
parent
c92578b217
commit
ec4556321d
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue