mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +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/emptystring.php
Normal file
14
common/framework/parsers/dbquery/emptystring.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Rhymix\Framework\Parsers\DBQuery;
|
||||
|
||||
/**
|
||||
* Empty string class.
|
||||
*/
|
||||
class EmptyString
|
||||
{
|
||||
public function __toString(): string
|
||||
{
|
||||
return "''";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue