Commit Graph

36 Commits

Author SHA1 Message Date
Alex
6db6a2ddbe Fixes #13418: Fixed QueryBuilder::batchInsert() if $rows is \Generator 2017-02-24 00:28:27 +03:00
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
2017-02-22 17:07:52 +03:00
Bob Olde Hampsink
0ea45c78a8 Fixes #13571: Fix yii\db\mssql\QueryBuilder::checkIntegrity for all tables 2017-02-22 16:57:32 +03:00
Bob Olde Hampsink
30b7fc8dc1 Fixes #13577: yii\db\QueryBuilder::truncateTable should work consistent over all databases 2017-02-20 23:38:50 +03:00
Bob Olde Hampsink
aeb6231d92 Fixes #13582: PK column in yii\db\pgsql\resetSequence() was not quoted properly 2017-02-19 17:35:59 +03:00
voroks
25f08afc96 Fixes #8293: yii\db\Query can be passed to insert method in yii\db\QueryBuilder 2017-01-28 23:47:26 +03:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Robert Korulczyk
104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 2016-06-25 15:51:09 +03:00
Ricardo Pérez
33dfddd0c2 Fixes #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL 2016-06-19 15:33:00 +03:00
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
2016-05-06 11:04:27 +02:00
Chris Harris
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
Chris Harris
51b99320bd Sqlite specific schema builder class actually gets loaded now 2016-02-20 06:53:31 -08:00
Chris Harris
eaeb926768 Adds char datatype to framework 2016-02-20 01:52:23 -08:00
Alexander Makarov
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
Carsten Brandt
abc7dbbf0f added missing @since annotations 2015-08-04 12:40:12 +02:00
Carsten Brandt
8cfc89b21c adjusted pgsql/QueryBuilder batchInsert to match parent implementation
this also fixes #8551
2015-08-02 23:20:52 +02:00
Carsten Brandt
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
Carsten Brandt
9c4c984200 improved docs and changelog for #8903 2015-07-02 15:20:32 +02:00
Aleksey Loban
db12282e59 \yii\db\pgsql\QueryBuilder add createIndex() for the creating specific indexes
close #8903
2015-07-02 15:05:33 +02:00
Alexander Makarov
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
Jan Waś
1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 2015-01-31 22:20:41 -05:00
Jan Waś
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
Qiang Xue
9eedfd054e Fixed test break. 2014-11-16 12:31:02 -05:00
Qiang Xue
ab1f32ef76 Fixes #4492: Support PostgreSQL-specific syntax for QueryBuilder::alterColumn() 2014-11-16 10:47:46 -05:00
Carsten Brandt
25bf486b7f save some function calls on AR insert 2014-08-12 18:13:49 +02:00
Carsten Brandt
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Qiang Xue
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00
Qiang Xue
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
Qiang Xue
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00
Carsten Brandt
18190b7348 fixes #3473, allow precision in pgsql abstract timestamp 2014-05-25 19:20:57 +02:00
Carsten Brandt
5c748ddb42 added case insensitve LIKE to PostgresQueryBuilder
fixes #3252

also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00