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
Ivan Pomortsev
5d3fd930d8
Update QueryBuilder.php
...
Delete some spaces from result string.
11 years ago
Ivan Pomortsev
1ea895e22b
Update QueryBuilder.php
...
Fixed some errors – syntax with ";" after closure function and also moved building of unions queries into this function.
11 years ago
Ivan Pomortsev
12cbaf90b5
Update QueryBuilder.php
...
Change using of implode to convert array of queries to union to array_reduce. Result of this changing is that code feel difference between two selects that connects with UNION and two selects that connects with UNION ALL.
11 years ago
Qiang Xue
5b3fa9f5ba
Fixes #2091 : `QueryBuilder::buildInCondition()` fails to handle array not starting with index 0
11 years ago
Qiang Xue
febce76397
fixed build break and fixed doc about exists/not exists.
11 years ago
Qiang Xue
7d08a09620
Fixes #1809 : Added support for building "EXISTS" and "NOT EXISTS" query conditions
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
9b1c2c8064
Fixes #1586 : `QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default
11 years ago
Carsten Brandt
454174a688
added NOT operator for db, elasticsearch, redis
...
issue #1523
11 years ago
Panagiotis Moustafellos
21014b4064
swapped docs and Exception to type InvalidParamException
11 years ago
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
11 years ago
Carsten Brandt
58b1538b39
refactored elasticsearch Querybuilder build conditions
11 years ago
Carsten Brandt
e15860c3fa
more on elasticsearch Query interface added facet search
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
Carsten Brandt
415144489e
made querybuilder condition methods public
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
43d392d8d2
porting the fix from https://github.com/yiisoft/yii/pull/2894
11 years ago
Alexander Makarov
523a63f576
Added TYPE_BIGPK to Schema
11 years ago
Qiang Xue
2e01c06a4b
Fixes #865 .
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
4d84e09479
typo in query builder, fixes #832
11 years ago