vbelogai
672510d521
Update Schema.php
...
insert: added $columnSchemas initialization; added size parameter to pdoStatement->bindParam
10 years ago
Carsten Brandt
21f51400ef
added information about quoting to batch insert
10 years ago
Qiang Xue
e6b09bb82f
Fixes #7888 doc fix [skip ci]
10 years ago
Carsten Brandt
b0be36668e
slight refactoring for #8179
10 years ago
Thiago Talma
4970fb1e95
if...else
10 years ago
Thiago Talma
4bb9ec8906
new param
10 years ago
Thiago Talma
815ca6b444
Compare it equals
10 years ago
Klimov Paul
faf7bb73fa
redundant call chain removed
10 years ago
Klimov Paul
4503cae876
code style fix
10 years ago
Klimov Paul
c0fc4596e2
Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to string convertable object attribute, like `\MongoId`
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
Klimov Paul
1c1cfd5e2d
`yii\db\BaseActiveRecord::getAttributeLabel()` refactored to be recursive
10 years ago
Klimov Paul
f617618172
`yii\db\BaseActiveRecord::getAttributeHint()` added
10 years ago
Carsten Brandt
5635a97fa2
Update BaseActiveRecord.php
...
more explicit code for #8149
10 years ago
Klimov Paul
6d96d3cbee
Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set
10 years ago
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Carsten Brandt
1cfc40d6e5
link to the guide on quoting from query phpdoc
...
fixes #8141
10 years ago
Klimov Paul
a0b8f74d2e
`yii\db\Schema::insert()` primary key value composition fixed
10 years ago
Klimov Paul
6751a80ea0
`yii\db\Schema::insert()` now returns primary key value for empty sequence
10 years ago
Carsten Brandt
f99f333218
added note to docs about #8085
10 years ago
Klimov Paul
b8081b59b3
Fixed `yii\db\Query::count()` fails for query containing 'having' without 'group by'
10 years ago
Klimov Paul
767276362d
Redundant typecast at `yii\db\Schema::insert()` removed
10 years ago
Klimov Paul
b05ea3d69e
PK typecast at `yii\db\ActiveRecord` restored
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
Carsten Brandt
ba0fd22c66
Update ColumnSchema.php
...
added comment
10 years ago
Jan Waś
698bfddeed
Fixes #7847 : `yii\db\ColumnSchema` was typecasting numerics to strings with incorrect decimal separator for some locales
10 years ago
Carsten Brandt
5306cac4b9
added support for subqueries to simple conditions
...
fixes #8027
10 years ago
John Was
67799ad092
fix typos
10 years ago
Qiang Xue
fdb730a12a
syntax fix [skip ci]
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
Qiang Xue
aead65f2d2
Fixes #7515 : Added support to use `indexBy()` together with `column()` in query builder
10 years ago
Jan Waś
ced423b601
Fixes #8012 : Fixed fetching multiple relations between two tables for pgsql
10 years ago
John Was
901d640b55
Fixes #7973 : Added `Schema::getSchemaNames` method
10 years ago
Alexander Makarov
9f8ca6b3db
Removed join according to https://github.com/yiisoft/yii2/issues/7958#issuecomment-88872600
10 years ago
Jan Was
356d1b98a7
fix fetching pgsql indexes for older server versions
10 years ago
Jan Was
ec7bbe1914
fix fetching pgsql constraints for older server versions
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
Carsten Brandt
817bd4279a
fixed AR phpdoc
...
fixes #7787
10 years ago
Qiang Xue
99a612e1a6
Finished AR guide [skip ci]
10 years ago
Qiang Xue
bd20b30b89
AR guide WIP [skip ci]
10 years ago
Carsten Brandt
2aace3714c
minor adjustments
10 years ago
Alexander Kochetov
29f5dc37a5
Correct phpDoc for return in several cases
...
close #6733
10 years ago
Qiang Xue
5a63ae324e
Fixes #7211 : Query caching should properly deal with the case when query result is false
10 years ago