mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Implement INSERT and UPDATE queries using new parser
This commit is contained in:
parent
03279788da
commit
7f8312ee1a
3 changed files with 67 additions and 5 deletions
|
|
@ -113,7 +113,7 @@ class DBQueryParser
|
|||
{
|
||||
$column = new DBQuery\ColumnWrite;
|
||||
$column->name = trim($tag['name']);
|
||||
$column->name = trim($tag['operation']) ?: 'equal';
|
||||
$column->operation = trim($tag['operation']) ?: 'equal';
|
||||
$column->var = trim($tag['var']) ?: null;
|
||||
$column->default = trim($tag['default']) ?: null;
|
||||
$column->not_null = trim($tag['notnull'] ?: $tag['not-null']) !== '' ? true : false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue