mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix inconsistent handling of empty string in INSERT/UPDATE queries
This commit is contained in:
parent
54375d16ad
commit
945c09059a
4 changed files with 43 additions and 6 deletions
14
common/framework/parsers/dbquery/nullvalue.php
Normal file
14
common/framework/parsers/dbquery/nullvalue.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Rhymix\Framework\Parsers\DBQuery;
|
||||
|
||||
/**
|
||||
* Null value class.
|
||||
*/
|
||||
class NullValue
|
||||
{
|
||||
public function __toString(): string
|
||||
{
|
||||
return 'NULL';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue