Qiang Xue
84b20d57e4
Fixes #7055 : composite IN condition was not generated correctly for certain DBMS
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
Carsten Brandt
cc8ffe364e
added support for yii\db\Expression to querybuilder BETWEEN and LIKE
...
fixes #6164
10 years ago
Qiang Xue
5bdf36d9c8
Fixes #5780 : `QueryBuilder::batchInsert()` may cause "undefined index" error
10 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Qiang Xue
5829020eff
Fixes #5223 : Query builder now supports selecting sub-queries as columns
10 years ago
Carsten Brandt
292a9ff55b
Add support for yii\db\Expression to QueryBuiler simple conditions
...
fixes #5601
10 years ago
Qiang Xue
566ed3c594
Fixes #5147 : null is not handled correctly for arbitrary operator in SQL.
10 years ago
Qiang Xue
b9c97ff2aa
Fixes #4938 : When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated
10 years ago
Qiang Xue
212c5ee3ef
Fixes #4254 : `SqlDataProvider` does not work with Oracle and SQL Server
10 years ago
Arthur Khachaturov
7deb26f6c8
Fix PHPDoc
10 years ago
Carsten Brandt
25bf486b7f
save some function calls on AR insert
10 years ago
Alexander Makarov
2a8ca600c5
Simplified parameter check for buildSimpleCondition()
10 years ago
Alexander Makarov
b656137541
Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension
10 years ago
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with `yii\db\Query::->where()` operand format
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Carsten Brandt
8a70d9fbd1
rename column schema typecast method
10 years ago
Carsten Brandt
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
10 years ago
Qiang Xue
ce49416e32
Fixes #3752 : `QueryBuilder::batchInsert()` does not typecast input values
10 years ago
Carsten Brandt
d622442acf
improved debugger on handling unreadable files
...
issue #3494
11 years ago
Qiang Xue
f648d0b1ac
Revert "Fixes #3469 : Fixed the bug that `QueryBuilder::getColumnType()` may drop the provided column precision in certain cases"
...
This reverts commit a46efe79c6
.
11 years ago
Qiang Xue
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1
.
11 years ago
Qiang Xue
70b57766b1
Fixed test break.
11 years ago
Qiang Xue
a46efe79c6
Fixes #3469 : Fixed the bug that `QueryBuilder::getColumnType()` may drop the provided column precision in certain cases
11 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
91965fd391
phpdoc formatting issues
11 years ago
Qiang Xue
a60d295253
Added support for using sub-queries when building a DB query with `IN` condition
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Qiang Xue
13c0931b23
Fixes #2880
11 years ago
Qiang Xue
39667aa6b7
Fixed activequery select issue.
11 years ago
Qiang Xue
bc378d1cae
properly quote table names for join().
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8053082e0c
Fixes #2848 : Individual queries should be enclosed within parenthesis in a UNION query
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
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.
11 years ago
AlexGx
c6183fc205
fix typo double `;`, `Each PHP statement must be on a line by itself`
11 years ago
Carsten Brandt
d3d832a3bf
phpdoc fixes
11 years ago
Qiang Xue
3aa15b709f
CS fix.
11 years ago
Scott Tester
7ce4702426
Allow null values for fields in batchInsert
11 years ago
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
11 years ago
Qiang Xue
1f42b72baa
Fixes #2346 : ActiveQuery used in building sub-query should not need to set FROM clause explicitly.
11 years ago
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
11 years ago
Carsten Brandt
e27c3872ed
doc improvements
11 years ago
Qiang Xue
d9a85d091a
Fixes #2175 : QueryBuilder will now append UNION statements at the end of the primary SQL
11 years ago
Ivan Pomortsev
a9286b899c
Update QueryBuilder.php
...
Change <code>array_reduce</code> with anonimous function variant to easy string collection from pieces of unions.
11 years ago
Ivan Pomortsev
7da3449d09
Update QueryBuilder.php
...
Change buildUnion method to be ready to accept parameters in <code>['all' => $all, 'query' => $query]</code> format for division to "UNION" and "UNION ALL" constructions.
11 years ago