32 Commits

Author SHA1 Message Date
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
aa5887fec7 added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572

close #8596
2015-05-29 01:37:47 +02:00
67799ad092 fix typos 2015-04-11 16:41:33 +02:00
edf400df96 add missing space 2015-04-11 02:25:26 +02:00
6e48ed05c7 allow calling Command::insert() without any columns 2015-04-11 02:20:13 +02:00
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
6b52b03523 Fixes #6049: yii\db\Connection::getSchema() for Oracle should return false when the table does not exist. Oracle does not support ON UPDATE clause. 2014-11-15 08:38:24 -05:00
3d25f76e59 Fix batchInsert bug in oci. default batchInsert sql is `` insert into tableName(col1, col2, col3...) value(col11, col12,col13.... ),(col21, col22,col23.... ); ` which is illegal in oracle db. Change it to ` insert into tableName(col1, col2, col3...) select 'col11', 'col12', 'col13' from dual union select 'col21', 'col22', 'col23' from dual union select 'col31', 'col32', 'col33' from dual; `` 2014-11-15 08:32:47 -05:00
39a358c269 oracle db doesn't support ON UPDATE in FOREIGN KEY. remove ON UPDATE section in method addForeignKey. 2014-11-15 08:32:47 -05:00
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
1f0d2ab7d9 Fixed Oracle DB type mapping. (Fixes #4) 2014-07-24 20:51:58 -04:00
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
d75f0c7288 removed @link tags from apidoc and replaced with markdown 2014-05-25 22:29:31 +02:00
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
d44e42ab9e Fixed oci querybuilder. 2014-03-27 11:01:00 -04:00
13c0931b23 Fixes #2880 2014-03-27 10:58:56 -04:00
39667aa6b7 Fixed activequery select issue. 2014-03-26 15:51:10 -04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
8053082e0c Fixes #2848: Individual queries should be enclosed within parenthesis in a UNION query 2014-03-22 12:45:14 -04:00
7f4c28231b Fixes #2826 2014-03-20 13:30:58 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
f59598bb8b Added support for building SQLs with sub-queries 2014-02-11 23:23:02 -05:00
8e11629a65 Fixes #2160: SphinxQL does not support OFFSET
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
2be0fd6e13 more union fix. 2014-01-27 14:50:41 -05:00
c3829a4fd0 Removed debug code 2014-01-12 23:39:42 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00