Sergey Makinen
118fc08af8
Fix dropping unique/indexes
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Sergey Makinen
454f0a9301
Fixes #13807 : Fixed `yii\db\QueryBuilder` to inherit subquery params when building a `INSERT INTO ... SELECT` query
8 years ago
PowerGamer1
37b8cbb2d0
Fixes #12758 : Added the ability to use instances of `\yii\db\Query` class as values in the `\yii\db\QueryBuilder::insert()` method
8 years ago
voroks
25f08afc96
Fixes #8293 : `yii\db\Query` can be passed to `insert` method in `yii\db\QueryBuilder`
8 years ago
p.chapl
5488fc6e28
fixes #13221
...
Make \yii\db\QueryTrait::limit and \yii\db\QueryTrait::offset methods works with \yii\db\Expression
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
DrmagicE
b3081e53a5
Fixed bug in yii\db\mysql\QueryBuilder ( #12428 )
...
Bug in yii\db\mysql\QueryBuilder class on insert empty columns
8 years ago
Carsten Brandt
ef0658726f
Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
...
This reverts commit 144d78ebb4
.
fixes #11541
8 years ago
Carsten Brandt
144d78ebb4
Revert "fixed mysql defaul integer display width on unsigned pk"
...
This reverts commit 85d89e4893
because it
is a breaking change. see #11541
8 years ago
Carsten Brandt
85d89e4893
fixed mysql defaul integer display width on unsigned pk
...
fixes #11541
8 years ago
Carsten Brandt
731769241b
release version 2.0.8
9 years ago
Carsten Brandt
edd6e719bb
added missing since annotations and removed duplicate line
9 years ago
SilverFire - Dmitry Naumenko
0fe27b9d3b
Refactored code in PR #9441
9 years ago
Chris Harris
2f91889b70
Removed `unsignedPrimaryKey()` schema builder type; now, the `unsigned()` modifier works with primary key types e.g. `pk()->unsigned()` or `bigpk()->unsigned()`.
9 years ago
Chris Harris
51b99320bd
Sqlite specific schema builder class actually gets loaded now
9 years ago
Chris Harris
eaeb926768
Adds `char` datatype to framework
9 years ago
Matvey Vasenin
ce6e92b736
add comment control methods
9 years ago
Sebastian Thierer
e0d2107e1b
Mysql unique index creation fix.
9 years ago
Sebastian Thierer
82fbb568e0
Fix for 9056
9 years ago
Carsten Brandt
abe1094ac9
fixed querybuilder phpdoc
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
67799ad092
fix typos
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
Alexander Makarov
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
11 years ago
Qiang Xue
eade9dd115
message fix.
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
6920da4a80
fixed limit/offset for sqlite,mysql and cubrid
...
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
11 years ago
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
43d15155c6
cleanup db `use` statements
11 years ago
Alexander Makarov
4a9efc9e75
Corrected schema used for MySQL
11 years ago
Alexander Makarov
523a63f576
Added TYPE_BIGPK to Schema
11 years ago
Qiang Xue
6fe152da7e
Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
11 years ago
Carsten Brandt
0bf2daddd5
changed querybuilder typemap to lower case
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
11 years ago
Qiang Xue
1f5d77790f
Fixed test breaks.
11 years ago
Qiang Xue
20bde29f58
Added typecasting for SQL insertion and update.
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
Qiang Xue
4efeedd314
Minor coding style fix.
11 years ago
gevik
c338d4b76b
Updated code styling and added braces.
11 years ago
gevik
f667b5785b
- Added drop/add primary key methods to Command.php
...
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
11 years ago