50 Commits

Author SHA1 Message Date
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
164d3c83e9 Have I fixed these phpdocs? Let’s see… 2017-07-03 15:10:48 +03:00
118fc08af8 Fix dropping unique/indexes 2017-05-15 20:55:26 +03:00
73ac13e6d7 Implement retrieving dbms constraints 2017-05-15 20:55:25 +03:00
454f0a9301 Fixes #13807: Fixed yii\db\QueryBuilder to inherit subquery params when building a INSERT INTO ... SELECT query 2017-04-17 03:31:43 +03:00
10b59ee6e4 Merge branch 'master' into 13221_limit_offset_expression 2017-02-22 17:02:04 +03:00
37b8cbb2d0 Fixes #12758: Added the ability to use instances of \yii\db\Query class as values in the \yii\db\QueryBuilder::insert() method 2017-01-29 00:54:46 +03:00
25f08afc96 Fixes #8293: yii\db\Query can be passed to insert method in yii\db\QueryBuilder 2017-01-28 23:47:26 +03:00
5488fc6e28 fixes #13221
Make \yii\db\QueryTrait::limit and \yii\db\QueryTrait::offset methods works with \yii\db\Expression
2016-12-20 14:08:03 +07:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
b3081e53a5 Fixed bug in yii\db\mysql\QueryBuilder (#12428)
Bug in yii\db\mysql\QueryBuilder class on insert empty columns
2016-09-01 17:47:46 +03:00
ef0658726f Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
This reverts commit 144d78ebb46874cd229f5c13ac3ca7ce3d59f1f2.

fixes #11541
2016-08-08 13:36:08 +02:00
144d78ebb4 Revert "fixed mysql defaul integer display width on unsigned pk"
This reverts commit 85d89e489311e20c626bcb90129c0c86978fcee4 because it
is a breaking change. see #11541
2016-08-08 11:54:29 +02:00
85d89e4893 fixed mysql defaul integer display width on unsigned pk
fixes #11541
2016-08-08 10:47:34 +02:00
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
edd6e719bb added missing since annotations and removed duplicate line 2016-04-28 03:02:17 +02:00
0fe27b9d3b Refactored code in PR #9441 2016-04-19 17:48:25 +03:00
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
2f91889b70 Removed unsignedPrimaryKey() schema builder type; now, the unsigned() modifier works with primary key types e.g. pk()->unsigned() or bigpk()->unsigned(). 2016-02-26 17:48:03 -08:00
51b99320bd Sqlite specific schema builder class actually gets loaded now 2016-02-20 06:53:31 -08:00
eaeb926768 Adds char datatype to framework 2016-02-20 01:52:23 -08:00
ce6e92b736 add comment control methods 2015-08-14 12:27:21 +03:00
bad507c459 Fixes #9063: Workaround for MySQL losing table case when adding index 2015-07-17 08:41:39 +03:00
e0d2107e1b Mysql unique index creation fix. 2015-07-10 12:27:15 -03:00
82fbb568e0 Fix for 9056 2015-07-09 11:52:33 -03:00
abe1094ac9 fixed querybuilder phpdoc 2015-06-24 14:20:02 +02:00
aa5887fec7 added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572

close #8596
2015-05-29 01:37:47 +02:00
67799ad092 fix typos 2015-04-11 16:41:33 +02:00
edf400df96 add missing space 2015-04-11 02:25:26 +02:00
6e48ed05c7 allow calling Command::insert() without any columns 2015-04-11 02:20:13 +02:00
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
8e11629a65 Fixes #2160: SphinxQL does not support OFFSET
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
eade9dd115 message fix. 2014-01-16 20:39:06 -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
b3b8fadfcf minor adjustment of db exception. 2013-03-05 07:47:49 -05:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
a39638515f Added Command::batchInsert() 2013-02-01 08:42:43 -05:00
abd3d827a2 refactoring. 2013-01-18 10:37:22 -05:00
6ed01e9645 DB cleanup. 2013-01-18 08:35:09 -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
fe90d4dda0 implemented auto-quoting for DB commands. 2013-01-06 22:41:20 -05:00
8517ee9e50 reorganized DB classes. 2013-01-05 16:46:53 -05:00