Skip to content

Commit 40fa262

Browse files
authored
Update BaseBuilder.php
set should accept NULL UPDATE x SET a = NULL ...
1 parent 80cc334 commit 40fa262

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ protected function _limit(string $sql): string
13561356
*
13571357
* @return BaseBuilder
13581358
*/
1359-
public function set($key, string $value = '', bool $escape = null)
1359+
public function set($key, ?string $value = '', bool $escape = null)
13601360
{
13611361
$key = $this->objectToArray($key);
13621362

0 commit comments

Comments
 (0)