ucorina
|
cfc7d32afd
|
Update to query argument naming - so that queries that have the same variable name specified in the XML will not fail.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8658 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-26 14:40:46 +00:00 |
|
ucorina
|
620b18e532
|
Update to string array arguments - added format with SQLSRV_PHPTYPE_STRING.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8635 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-25 17:33:27 +00:00 |
|
ucorina
|
1a6ede2e06
|
Fixed counter query - it would always generate an unique constraint violation because default value was 0 for all arguments.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8634 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-25 16:48:01 +00:00 |
|
ucorina
|
39c2c004c2
|
Prepared statements - if argument is not given as array (eg. for IN clauses) even though it should be, convert it to an array.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8633 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-25 16:47:22 +00:00 |
|
ucorina
|
b3c75ac4db
|
Fixed a few MSSQL bugs - related to array query arguments and increment columns.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8632 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-25 15:35:43 +00:00 |
|
lickawtl
|
6edd5f03a7
|
fix pagination
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8625 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-22 11:52:02 +00:00 |
|
ucorina
|
7de48344cc
|
Fixed select bug - unless default value is explicitly set as empty string, ignore arguments whose value is empty string.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8624 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-22 11:50:08 +00:00 |
|
ucorina
|
8f04aa5d63
|
Update to condition tag - column name should also be accepted in the "var" attribute and not just "default" attribute.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8617 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-21 13:25:30 +00:00 |
|
ucorina
|
e7fe19db1f
|
Added support for selecting a subset of the columns specified in the XML query file.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8614 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-20 12:34:31 +00:00 |
|
ucorina
|
8b9468a165
|
Update to default value - set it both when value is null or empty string.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8613 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-20 09:54:07 +00:00 |
|
ucorina
|
98a85cdaa9
|
Fixed insert bug - nextSequnce was not properly retrieved.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8608 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-19 11:54:58 +00:00 |
|
ucorina
|
0c63c32b10
|
Fixed condition group bug - if there are more condition groups and the first doesn't get displayed, the pipe of the next is printed even though it shouldn't have been.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8607 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-18 15:58:46 +00:00 |
|
ucorina
|
ff679cc517
|
Fixed query argument bug - for in operation, if there was only one element, the brackets weren't added. Added unit test for this.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8605 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-18 15:17:49 +00:00 |
|
ucorina
|
5dc0b9c36c
|
Fixed output bug - XML requests were not rendered properly because a newline was added at the beginning of the reponse.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8604 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-18 14:31:10 +00:00 |
|
ucorina
|
19c0ba4964
|
Fixed failing test for ConditionArgument class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8603 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-18 12:36:39 +00:00 |
|
ucorina
|
bf1d72e478
|
Update to array condition arguments.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8602 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-18 12:25:27 +00:00 |
|
ucorina
|
9606e263e8
|
Added classes for testing db queries directly on a test database. Fixed a few insert bugs.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8600 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-14 17:00:16 +00:00 |
|
ucorina
|
54ef159878
|
Added support for addQuotes - escpaes special charcters in query arguments.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8585 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-08 15:10:42 +00:00 |
|
lickawtl
|
652cc1549a
|
fix a bug where empty argument were escaped
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8584 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-08 14:04:50 +00:00 |
|
ucorina
|
76019a4b2b
|
Started unit tests for condition and argument classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8577 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-07 14:34:56 +00:00 |
|
ucorina
|
7112d518c8
|
Added unit tests for Table, TableTag and TablesTag classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8566 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-05 19:52:27 +00:00 |
|
ucorina
|
d248d70773
|
Added subquery argument support to more types of queries.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8565 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-05 19:49:20 +00:00 |
|
ucorina
|
4b85afd9b3
|
Update to subquery alias.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8564 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-05 16:10:36 +00:00 |
|
lickawtl
|
e9dca90031
|
fix Argument and ConditionArgument type
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8563 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-05 15:53:52 +00:00 |
|
lickawtl
|
013ada255d
|
fix Argument and Condition argument type
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8562 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-05 08:15:27 +00:00 |
|
ucorina
|
909276e16b
|
Updates to unit tests for correlated subqueries.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8560 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-07-01 08:15:43 +00:00 |
|
ucorina
|
e313076cc8
|
Started unit tests for correlated subqueries - select, from, where.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8557 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-30 18:14:24 +00:00 |
|
ucorina
|
1353ade0c2
|
Added unit tests for correlated subqueries - select, from, where.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8556 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-30 15:36:03 +00:00 |
|
lickawtl
|
5d1eb1c21e
|
new DBClasses for SQLite3 and Firebird databases.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8555 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-30 15:01:45 +00:00 |
|
ucorina
|
01d0925dd5
|
merged 1.5.0 branch into 1.5.0-DB
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8547 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-29 15:36:09 +00:00 |
|
ucorina
|
4973c78fbc
|
Removed a var_dump statement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8546 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-29 13:04:39 +00:00 |
|
ucorina
|
c3fdbbf399
|
Update test folder structure.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8540 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-28 08:05:21 +00:00 |
|
ucorina
|
0a53ac3e9d
|
First version of uncorellated select subquery.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8539 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-27 17:44:56 +00:00 |
|
lickawtl
|
af9ced8c5c
|
start implementing SubQuery
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8538 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-27 13:45:52 +00:00 |
|
ucorina
|
763fc6d56b
|
DBMssql class - working version of XE with SQL Server.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8535 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-23 16:04:46 +00:00 |
|
lickawtl
|
33c0923009
|
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8525 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-21 12:20:11 +00:00 |
|
lickawtl
|
7f0c67bfae
|
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8524 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-21 11:56:00 +00:00 |
|
lickawtl
|
2c21bc07e9
|
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8523 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-21 11:28:08 +00:00 |
|
lickawtl
|
e13c62c479
|
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8522 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-21 11:27:10 +00:00 |
|
lickawtl
|
ed3fd79304
|
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8518 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-21 10:01:43 +00:00 |
|
ucorina
|
6f17aa5759
|
Updated query classes in order to support prepared statements - added support for parameter binding. Added unit tests for mssql select using new prepared statement syntax.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8511 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-20 14:03:27 +00:00 |
|
lickawtl
|
32fe8750e9
|
bug-fix pagination Limit
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8510 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-20 09:25:58 +00:00 |
|
lickawtl
|
4b3e591956
|
revert to revision 8456
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8464 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-08 16:24:04 +00:00 |
|
ucorina
|
d6a81c6ba9
|
Added unit tests for MSSQL SELECT syntax.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8459 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-07 19:03:12 +00:00 |
|
ucorina
|
b6a1088995
|
Updated DB classes for supporting prepared statements - SQL string can now be returned with '?' instead of argument values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8458 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-07 19:01:58 +00:00 |
|
ucorina
|
313bfca8e8
|
Updated the query parts that work with arguments (conditions, update and insert expressions) to work with QueryArgument objects instead of string values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8457 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-07 17:18:32 +00:00 |
|
lickawtl
|
e41c45433e
|
add some unit tests for CUBRID
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-07 16:21:55 +00:00 |
|
ucorina
|
d7cf3cb731
|
Removed extra methods from Firebird, Msssql and SqlLite db classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8455 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-07 16:17:36 +00:00 |
|
ucorina
|
57b91e1d3e
|
Postgres class - removed methods that are no longer needed. Updated to work with new classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8452 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-06 15:41:00 +00:00 |
|
ucorina
|
d071909cde
|
Added column type information inside QueryArgument objects.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8451 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
2011-06-06 09:24:31 +00:00 |
|