Carsten Brandt
2872365000
added test case for #8918
9 years ago
Carsten Brandt
0858d0a834
added test for querybuilder select
...
close #8895
9 years ago
Carsten Brandt
d0c6cb7700
abort removing duplicate records when pk is not in result set
...
in this cases it does not make sense to remove duplicates as the result is not on record level anymore.
This could be the case after GROUP BY has been applied.
fixes #8772
9 years ago
Carsten Brandt
879911810f
added test for createTable and alterTable
...
test for issue #8627
close #8628
9 years ago
Klimov Paul
72f9e63e10
Table schema auto refreshing on DDL added to `yii\db\Command`
9 years ago
Klimov Paul
fb0062114e
Method `yii\db\Schema::refreshTableSchema()` added
9 years ago
Klimov Paul
0d48f1041e
Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':')
9 years ago
Klimov Paul
a849e815df
Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set
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
Klimov Paul
51a442d6c8
Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save
9 years ago
John Was
a63fc2ff59
properly quote sequence name in Schema::getLastInsertId()
...
fixes #8483
close #8515
9 years ago
John Was
94acb2e126
add unit tests to check lastInsertId
10 years ago
John Was
01345874a3
add working QueryBuilder test for Oracle
10 years ago
Klimov Paul
6d96d3cbee
Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set
10 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago