Carsten Brandt
5a462dc5d2
added tests and documentation for #8824
9 years ago
Alexander Makarov
615a29f04e
More fixes for MSSQL tests
9 years ago
Edgard Lorraine Messias
7c9b7c77a7
Added tests for dropTable, truncateTable and renameTable
9 years ago
SilverFire - Dmitry Naumenko
58119c5b11
Fixed testCreateTable, testAlterTable now quotes table name
9 years ago
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
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
0d48f1041e
Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':')
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
John Was
94acb2e126
add unit tests to check lastInsertId
10 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
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 Mohorev
bb8550886e
PHP type casting
10 years ago
Carsten Brandt
cc1247f399
fixed HHVM test break
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Carsten Brandt
df6a9a08fe
fixed typo
10 years ago
Carsten Brandt
d4738b03a5
fixed test break
10 years ago
Carsten Brandt
cd5bdd90d2
fixed postgres tests
10 years ago
Alexander Makarov
b86f5a14f7
#2435 Tests for integrity exception
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
9ff8b0f903
Fixes #2571 : Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false;
...
Fixes #2683 : Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false.
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
8899aaeb5b
moved getPdoType() to Schema.
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
544e412af8
unit test cleanup
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
Qiang Xue
f2e57b2eec
Fixed test breaks.
11 years ago
Alexander Makarov
7cd9123c3b
Tests cleanup
...
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Qiang Xue
9958a5802e
DB cleanup
12 years ago
Qiang Xue
fe90d4dda0
implemented auto-quoting for DB commands.
12 years ago
Qiang Xue
d15378ef43
moved db tests.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
769a114d39
renamed groupBy and orderBy to be group and order.
13 years ago
Qiang Xue
2f37d09367
...
13 years ago
Qiang Xue
702476d886
...
13 years ago
Qiang Xue
c63c78385e
...
13 years ago
Qiang Xue
4ba05468a0
...
13 years ago
Qiang Xue
a9439e9038
...
13 years ago
Qiang Xue
d991f42cbd
Use namespace in unit tests.
...
Fixed BehaviorTest.php
13 years ago
Alexander Makarov
c3f1091179
fixed typo in tests
13 years ago
Qiang Xue
be87e1780c
w
13 years ago