Alexander Mohorev
2134c72bb0
Undefined class Expression
9 years ago
prog5
1f8aafd36b
#8573 fix
9 years ago
Carsten Brandt
aa5887fec7
added missing use statement to fix #8572
...
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572
close #8596
9 years ago
vbelogai
672510d521
Update Schema.php
...
insert: added $columnSchemas initialization; added size parameter to pdoStatement->bindParam
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
Klimov Paul
60aa5f3eb9
Redundant checks at `yii\db\oci\Schema::insert()` and `yii\db\pgsql\Schema::insert()` removed
10 years ago
Paul Klimov
31ef4c4504
Command execution at `yii\db\oci\Schema::insert()` fixed
10 years ago
Paul Klimov
4e8ee7b001
Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression
10 years ago
John Was
67799ad092
fix typos
10 years ago
Jan Waś
edf400df96
add missing space
10 years ago
Jan Waś
6e48ed05c7
allow calling Command::insert() without any columns
10 years ago
John Was
901d640b55
Fixes #7973 : Added `Schema::getSchemaNames` method
10 years ago
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
10 years ago
Qiang Xue
f5dbd9a084
Fixes #3564 : Fixed the bug that primary key columns should not take default values from schema
10 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