We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cfa46d commit 444dd04Copy full SHA for 444dd04
src/QueryBuilder.php
@@ -995,11 +995,9 @@ public function prepare($sql = null)
995
$sql = $this->{'prepare' . $this->_method}();
996
}
997
998
- $sql = empty($this->bindings)
+ return empty($this->bindings)
999
|| strpos($sql, '%') === false
1000
? $sql : Connection::prepare($sql, $this->bindings);
1001
-
1002
- return str_replace("''",'NULL', $sql);
1003
1004
1005
0 commit comments