47 Commits

Author SHA1 Message Date
2202ae6cb8 Fixes #6080: Oracle DB schema did not load column types correctly 2014-12-16 23:21:11 -05: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
b733a18904 fix oci bugs: \yii\db\oci\Schema::findColumns($table) return true when table doesn't exist When table doesn't exist, query in method findColumns return empty array instead of throw a exception. 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
20774165bc Fixes #4644: Added \yii\db\Schema::createColumnSchema() to be able to customize column schema used 2014-08-12 00:01:27 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
1f31f27787 phpdoc 2014-07-29 22:19:14 +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
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00
b147e6516d minor CS fixes [skip ci] 2014-07-10 11:59:27 -04:00
0322e427e7 fix unnecessary diff 2014-07-07 21:24:21 +06:00
93c567e7e1 Retriev quoteSimpleTableName 2014-07-07 20:54:31 +06:00
9c55cc48f8 Removing unnecessary methods 2014-07-07 11:38:05 +06:00
b96e45faf7 Remove test for asterisk in quoteSimpleTableName 2014-07-05 22:07:46 +06:00
d06685ff88 Asterisk in Oracle not need quote
If quote asterisk oracle say "Syntax error"
2014-07-05 12:28:54 +06:00
27943ce735 Merge pull request #4063 from yiisoft/typecast-split
split typecast method into two
2014-06-27 02:14:31 +02:00
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00
332f2a07ee OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema 2014-06-26 15:49:47 +02:00
8a70d9fbd1 rename column schema typecast method 2014-06-26 00:11:04 +02:00
6a48f68955 split typecast method into two
one method for fetching data and one for sending to db.

fixes #2287
2014-06-26 00:00:37 +02:00
3f27a4b74f OCI createColumn fix 2014-06-23 14:59:56 +02:00
d75f0c7288 removed @link tags from apidoc and replaced with markdown 2014-05-25 22:29:31 +02:00
f5dbd9a084 Fixes #3564: Fixed the bug that primary key columns should not take default values from schema 2014-05-23 10:35:20 -04: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
cb4488ae4c Implemented Oracle column comment reading from another schema 2014-03-30 19:41:47 +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
12d4615039 Changed "and" to "&&" 2014-03-04 22:28:52 +04:00
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
bea9e3fc06 Fixes #1645: Added support for nested DB transactions 2014-02-15 22:16:09 -05: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
9b723baa76 Added TableSchema::fullName property 2014-01-16 15:51:14 -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