38 Commits

Author SHA1 Message Date
25bf486b7f save some function calls on AR insert 2014-08-12 18:13:49 +02:00
20774165bc Fixes #4644: Added \yii\db\Schema::createColumnSchema() to be able to customize column schema used 2014-08-12 00:01:27 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
27943ce735 Merge pull request #4063 from yiisoft/typecast-split
split typecast method into two
2014-06-27 02:14:31 +02:00
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00
574f67feff fixed test break 2014-06-26 01:35:56 +02:00
8a70d9fbd1 rename column schema typecast method 2014-06-26 00:11:04 +02:00
6a48f68955 split typecast method into two
one method for fetching data and one for sending to db.

fixes #2287
2014-06-26 00:00:37 +02:00
b04e23f8b7 use native suppport for batch insert in SQLite >= 3.7.11
fixes #3559
2014-06-25 21:18:36 +02:00
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
bbbe2a3e4b Added support for transaction isolation levels
fixes #3220
2014-06-23 19:47:56 +02:00
ce49416e32 Fixes #3752: QueryBuilder::batchInsert() does not typecast input values 2014-06-09 08:12:08 -04:00
5174ea6dfb SQLite support for disable integrity check
This is a porting from yii framework version 1.
I need it to run functional tests with fixtures.
2014-05-24 14:19:11 +02:00
f5dbd9a084 Fixes #3564: Fixed the bug that primary key columns should not take default values from schema 2014-05-23 10:35:20 -04:00
91965fd391 phpdoc formatting issues 2014-04-23 02:55:17 +02:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
c24ae25be2 Fixed getting default values from schema for SQLite 2014-03-20 13:54:13 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
5a61ee91be Fixed test break. 2014-03-14 23:06:09 -04:00
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.
2014-03-14 22:48:20 -04:00
1af04e1e1b Fixes #2661: Added boolean column type support for SQLite 2014-03-07 22:38:30 -05:00
b21fd298c5 Fixed minor coding style issues 2014-02-01 01:18:38 +04:00
8e11629a65 Fixes #2160: SphinxQL does not support OFFSET
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
9b723baa76 Added TableSchema::fullName property 2014-01-16 15:51:14 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
abd3d827a2 refactoring. 2013-01-18 10:37:22 -05:00
7f6a5568b4 Cleaned up SQLite support. 2013-01-18 09:40:00 -05:00
ebecc09839 DB refactoring. 2013-01-17 16:15:12 -05:00
e150b7fae7 renamed Driver to Schema. 2013-01-15 20:16:27 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
8517ee9e50 reorganized DB classes. 2013-01-05 16:46:53 -05:00