Fix inconsistent handling of empty string in INSERT/UPDATE queries

This commit is contained in:
Kijin Sung 2020-07-02 16:04:05 +09:00
parent 54375d16ad
commit 945c09059a
4 changed files with 43 additions and 6 deletions

View file

@ -0,0 +1,14 @@
<?php
namespace Rhymix\Framework\Parsers\DBQuery;
/**
* Null value class.
*/
class NullValue
{
public function __toString(): string
{
return 'NULL';
}
}