ucorina
2e122219f1
DBCubrid class: removed duplicate fetch code from pagination, updates to update, delete, insert queries.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8442 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 17:36:31 +00:00
lickawtl
251555245d
Change DBParser.class.php to support left and right escape char. This change is required for unit tests.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8441 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 15:34:11 +00:00
ucorina
0cd318fcf5
Removed legacy methods from DB and DBCubrid classes.
...
Added Query object to hold together query parts.
Updated structure of query cache file to return Query object.
Added support for array query arguments - used in the IN clause.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8438 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:06:08 +00:00
lickawtl
23e991bec0
Bug fixes:
...
DBCubrid.class.php - remove "WHERE" clause when all conditions are empty
queryargument/QueryArgument.class.php and queryargument/validator/QueryArgumentValidator.class.php - this is for backwords compatibility - there are many xml files that have variable names (var) given with "."
table/TableTag.class.php - autocomplete default table name alias with table name.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8426 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 12:51:13 +00:00
mosmartin
68f068cf88
fix query "limit" tag in other cases than page select
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8409 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-30 13:20:28 +00:00
mosmartin
0b78e26357
Fix condition/ConditionGroup.class.php when all conditions have no value.
...
Add page navigation mechanism.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8399 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 11:39:45 +00:00
mosmartin
750733936b
add "limit" navigation control to xml query and db classes
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8395 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-25 11:32:54 +00:00
mosmartin
4d2d18b53b
Fixed condition group bug.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8394 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 14:45:00 +00:00
mosmartin
c40ccf777f
Fixed condition tag bug.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8393 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:28:18 +00:00
mosmartin
52c3d503bc
Changed code to use dbParser as singleton - instead of passing it in the constructor every time.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8392 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:01:00 +00:00
mosmartin
abba8761cc
fixed an issue when default argument name is column name
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8391 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:42:16 +00:00
mosmartin
a8bed44a83
Cleaned up some classes that weren't needed. Removed calls to getValidatorString from tags, since the argument escaping is now done directly in the QueryParser class.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8390 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:18:19 +00:00
mosmartin
d3067703a4
Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 12:24:50 +00:00
mosmartin
520300fad1
Updated WHERE clause to ignore expressions when the argument value is not set.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8386 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 09:25:59 +00:00
mosmartin
0f61e5d499
Included some missing classes.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8383 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 15:31:47 +00:00
mosmartin
2a35558b4e
Update new xml query classes with xe 1.5
...
with improved query argument support and update and delete queries
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8379 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:17:46 +00:00
mosmartin
7dbe0626b6
Update new xml query classes with xe 1.5
...
with improved query argument support and update and delete queries
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:06:56 +00:00