Commit Graph

40 Commits

Author SHA1 Message Date
vbelogai
672510d521 Update Schema.php
insert: added $columnSchemas initialization; added size parameter to pdoStatement->bindParam
2015-04-28 15:46:10 +03:00
Carsten Brandt
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00
Klimov Paul
60aa5f3eb9 Redundant checks at yii\db\oci\Schema::insert() and yii\db\pgsql\Schema::insert() removed 2015-04-14 11:59:58 +03:00
Paul Klimov
31ef4c4504 Command execution at yii\db\oci\Schema::insert() fixed 2015-04-13 17:49:14 +03:00
Paul Klimov
4e8ee7b001 Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression 2015-04-13 17:11:00 +03:00
John Was
901d640b55 Fixes #7973: Added Schema::getSchemaNames method 2015-04-03 01:03:49 +03:00
John Was
664958548f fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests 2015-03-30 23:51:53 +02:00
John Was
4d1ca9ff17 Fixes #7831: Add order when fetching database table names and constraints 2015-03-30 22:18:56 +03:00
John Was
29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 2015-03-30 19:01:12 +03:00
Jan Was
48255a446d Fixes #7867: Fixes findUniqueIndexes not to perform any processing on unique index on function for pgsql, Implemented findUniqueIndexes for oci and mssql 2015-03-30 18:01:30 +03:00
John Was
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
wenbin1989
2202ae6cb8 Fixes #6080: Oracle DB schema did not load column types correctly 2014-12-16 23:21:11 -05:00
wenbin1989
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
mcd.php
20774165bc Fixes #4644: Added \yii\db\Schema::createColumnSchema() to be able to customize column schema used 2014-08-12 00:01:27 +04:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Qiang Xue
1f0d2ab7d9 Fixed Oracle DB type mapping. (Fixes #4) 2014-07-24 20:51:58 -04:00
Qiang Xue
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
Qiang Xue
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
Qiang Xue
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00
Qiang Xue
b147e6516d minor CS fixes [skip ci] 2014-07-10 11:59:27 -04:00
miramir
0322e427e7 fix unnecessary diff 2014-07-07 21:24:21 +06:00
Иван Багаев
93c567e7e1 Retriev quoteSimpleTableName 2014-07-07 20:54:31 +06:00
miramir
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
Carsten Brandt
27943ce735 Merge pull request #4063 from yiisoft/typecast-split
split typecast method into two
2014-06-27 02:14:31 +02:00
Carsten Brandt
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00
Tóth Sándor
332f2a07ee OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema 2014-06-26 15:49:47 +02:00
Carsten Brandt
8a70d9fbd1 rename column schema typecast method 2014-06-26 00:11:04 +02:00
Carsten Brandt
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
Tóth Sándor
3f27a4b74f OCI createColumn fix 2014-06-23 14:59:56 +02:00
Qiang Xue
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
Alexander Makarov
cb4488ae4c Implemented Oracle column comment reading from another schema 2014-03-30 19:41:47 +04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Alexander Makarov
12d4615039 Changed "and" to "&&" 2014-03-04 22:28:52 +04:00
Qiang Xue
bea9e3fc06 Fixes #1645: Added support for nested DB transactions 2014-02-15 22:16:09 -05:00
Qiang Xue
9b723baa76 Added TableSchema::fullName property 2014-01-16 15:51:14 -05:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00