John Was
664958548f
fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests
10 years ago
John Was
4d1ca9ff17
Fixes #7831 : Add order when fetching database table names and constraints
10 years ago
John Was
29304a185a
Fixes #7833 : Support (materialized) views and foreign tables along normal tables when fetching table schema
10 years ago
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
10 years ago
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
10 years ago
Alexander Makarov
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
10 years ago
wenbin1989
2202ae6cb8
Fixes #6080 : Oracle DB schema did not load column types correctly
10 years ago
Qiang Xue
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.
10 years ago
wenbin1989
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; ```
10 years ago
wenbin1989
39a358c269
oracle db doesn't support `ON UPDATE` in FOREIGN KEY. remove `ON UPDATE` section in method `addForeignKey`.
10 years ago
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.
10 years ago
Qiang Xue
212c5ee3ef
Fixes #4254 : `SqlDataProvider` does not work with Oracle and SQL Server
10 years ago
mcd.php
20774165bc
Fixes #4644 : Added `\yii\db\Schema::createColumnSchema()` to be able to customize column schema used
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Qiang Xue
1f0d2ab7d9
Fixed Oracle DB type mapping. ( Fixes #4 )
10 years ago
Qiang Xue
91e0c5ae8a
Added Connection::useMaster() and refactored code.
10 years ago
Qiang Xue
e67d0b3c39
WIP
10 years ago
Qiang Xue
ff50f15056
proper quoting of sequence name.
10 years ago
Qiang Xue
b147e6516d
minor CS fixes [skip ci]
10 years ago
miramir
0322e427e7
fix unnecessary diff
10 years ago
Иван Багаев
93c567e7e1
Retriev quoteSimpleTableName
10 years ago
miramir
9c55cc48f8
Removing unnecessary methods
10 years ago
Иван Багаев
b96e45faf7
Remove test for asterisk in quoteSimpleTableName
10 years ago
Иван Багаев
d06685ff88
Asterisk in Oracle not need quote
...
If quote asterisk oracle say "Syntax error"
10 years ago
Carsten Brandt
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
10 years ago
Tóth Sándor
332f2a07ee
OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema
10 years ago
Carsten Brandt
8a70d9fbd1
rename column schema typecast method
10 years ago
Carsten Brandt
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
10 years ago
Tóth Sándor
3f27a4b74f
OCI createColumn fix
10 years ago
Carsten Brandt
d75f0c7288
removed `@link` tags from apidoc and replaced with markdown
11 years ago
Qiang Xue
f5dbd9a084
Fixes #3564 : Fixed the bug that primary key columns should not take default values from schema
11 years ago
Carsten Brandt
76d8e2b5b3
code style, fixes #3140
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Alexander Makarov
cb4488ae4c
Implemented Oracle column comment reading from another schema
11 years ago
Qiang Xue
d44e42ab9e
Fixed oci querybuilder.
11 years ago
Qiang Xue
13c0931b23
Fixes #2880
11 years ago
Qiang Xue
39667aa6b7
Fixed activequery select issue.
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8053082e0c
Fixes #2848 : Individual queries should be enclosed within parenthesis in a UNION query
11 years ago
Qiang Xue
7f4c28231b
Fixes #2826
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
12d4615039
Changed "and" to "&&"
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Qiang Xue
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
11 years ago
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
11 years ago
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
11 years ago
Qiang Xue
2be0fd6e13
more union fix.
11 years ago