Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Carsten Brandt
|
cda3089623
|
Fixed batchInsert casting of double values according to locale (#14448)
fixes #6526
|
7 years ago |
Robert Korulczyk
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
7 years ago |
Alex
|
6db6a2ddbe
|
Fixes #13418: Fixed `QueryBuilder::batchInsert()` if $rows is `\Generator`
|
8 years ago |
Vladimir Reznichenko
|
a182ce57fc
|
Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) (#13606)
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
|
8 years ago |
Bob Olde Hampsink
|
0ea45c78a8
|
Fixes #13571: Fix `yii\db\mssql\QueryBuilder::checkIntegrity` for all tables
|
8 years ago |
Bob Olde Hampsink
|
30b7fc8dc1
|
Fixes #13577: `yii\db\QueryBuilder::truncateTable` should work consistent over all databases
|
8 years ago |
Bob Olde Hampsink
|
aeb6231d92
|
Fixes #13582: PK column in `yii\db\pgsql\resetSequence()` was not quoted properly
|
8 years ago |
voroks
|
25f08afc96
|
Fixes #8293: `yii\db\Query` can be passed to `insert` method in `yii\db\QueryBuilder`
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Robert Korulczyk
|
104712103b
|
Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812)
|
8 years ago |
Ricardo Pérez
|
33dfddd0c2
|
Fixes #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL
|
8 years ago |
Paul Klimov
|
6b607d078f
|
#11498: Fixed unable to saved serialized object into PostgreSQL binary column (#11499)
#11498: Fixed unable to saved serialized object into PostgreSQL binary column
|
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 |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Carsten Brandt
|
abc7dbbf0f
|
added missing `@since` annotations
|
9 years ago |
Carsten Brandt
|
8cfc89b21c
|
adjusted pgsql/QueryBuilder batchInsert to match parent implementation
this also fixes #8551
|
9 years ago |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
Carsten Brandt
|
9c4c984200
|
improved docs and changelog for #8903
|
9 years ago |
Aleksey Loban
|
db12282e59
|
\yii\db\pgsql\QueryBuilder add createIndex() for the creating specific indexes
close #8903
|
9 years ago |
Alexander Makarov
|
5870a74672
|
Added Schema::DOUBLE to represent ANSI SQL Double Precision
|
10 years ago |
Jan Waś
|
1e5f159f78
|
override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery
|
10 years ago |
Jan Waś
|
f58d096920
|
fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql
|
10 years ago |
Qiang Xue
|
9eedfd054e
|
Fixed test break.
|
10 years ago |
Qiang Xue
|
ab1f32ef76
|
Fixes #4492: Support PostgreSQL-specific syntax for `QueryBuilder::alterColumn()`
|
10 years ago |
Carsten Brandt
|
25bf486b7f
|
save some function calls on AR insert
|
10 years ago |
Carsten Brandt
|
92d65ab78b
|
fix issue with postgreSQL and batch inserting boolean values
fixes #4654
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Qiang Xue
|
43333d9cad
|
Implemented master balancing.
|
10 years ago |
Qiang Xue
|
e67d0b3c39
|
WIP
|
10 years ago |
Qiang Xue
|
ff50f15056
|
proper quoting of sequence name.
|
10 years ago |
Carsten Brandt
|
18190b7348
|
fixes #3473, allow precision in pgsql abstract timestamp
|
10 years ago |
Carsten Brandt
|
5c748ddb42
|
added case insensitve LIKE to PostgresQueryBuilder
fixes #3252
also improved unit tests for querybuilder buildLikeCondition
|
11 years ago |
Carsten Brandt
|
3c400dbca8
|
fixed file PHPdoc
issue #3026
|
11 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
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
cbad97c78d
|
change back the visibility of findTableNames to protected.
|
11 years ago |
Qiang Xue
|
fdca106ece
|
code style fix.
|
11 years ago |
Mark
|
16801b9b3e
|
codestyle fix
|
11 years ago |
Mark
|
6a9509ed8d
|
improved checkIntegrity method
|
11 years ago |
Mark
|
65b543f68f
|
fixed bug with forgotten param, fixed behavior for one table integrity
|
11 years ago |
Mark
|
e23f869c69
|
added postgresql features to reset seq/check integrity
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
chelishchev
|
8f8c705309
|
Just simple support PostgreSQL in QueryBuilder
|
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 |