Carsten Brandt
8a70d9fbd1
rename column schema typecast method
2014-06-26 00:11:04 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
2014-06-26 00:00:37 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
ce49416e32
Fixes #3752 : QueryBuilder::batchInsert() does not typecast input values
2014-06-09 08:12:08 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
d622442acf
improved debugger on handling unreadable files
...
issue #3494
2014-05-17 14:43:47 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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 .
2014-05-14 11:40:58 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1 .
2014-05-14 11:40:46 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
70b57766b1
Fixed test break.
2014-05-14 11:29:48 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
a46efe79c6
Fixes #3469 : Fixed the bug that QueryBuilder::getColumnType() may drop the provided column precision in certain cases
2014-05-14 10:28:41 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
a60d295253
Added support for using sub-queries when building a DB query with IN condition
2014-04-15 20:20:18 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
13c0931b23
Fixes #2880
2014-03-27 10:58:56 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
39667aa6b7
Fixed activequery select issue.
2014-03-26 15:51:10 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
bc378d1cae
properly quote table names for join().
2014-03-26 15:02:56 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8053082e0c
Fixes #2848 : Individual queries should be enclosed within parenthesis in a UNION query
2014-03-22 12:45:14 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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.
2014-03-14 22:48:20 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
AlexGx
c6183fc205
fix typo double ;, Each PHP statement must be on a line by itself
2014-03-04 05:59:17 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
d3d832a3bf
phpdoc fixes
2014-02-25 12:51:08 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3aa15b709f
CS fix.
2014-02-24 07:35:07 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Scott Tester
7ce4702426
Allow null values for fields in batchInsert
2014-02-24 07:18:56 +11:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
2014-02-11 23:23:02 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
1f42b72baa
Fixes #2346 : ActiveQuery used in building sub-query should not need to set FROM clause explicitly.
2014-02-06 10:39:27 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
e27c3872ed
doc improvements
2014-01-28 15:17:11 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
d9a85d091a
Fixes #2175 : QueryBuilder will now append UNION statements at the end of the primary SQL
2014-01-27 14:36:23 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ivan Pomortsev
a9286b899c
Update QueryBuilder.php
...
Change <code>array_reduce</code> with anonimous function variant to easy string collection from pieces of unions.
2014-01-23 18:24:54 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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.
2014-01-23 16:57:34 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ivan Pomortsev
5d3fd930d8
Update QueryBuilder.php
...
Delete some spaces from result string.
2014-01-23 09:05:41 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ivan Pomortsev
1ea895e22b
Update QueryBuilder.php
...
Fixed some errors – syntax with ";" after closure function and also moved building of unions queries into this function.
2014-01-23 08:45:29 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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.
2014-01-23 07:47:48 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
5b3fa9f5ba
Fixes #2091 : QueryBuilder::buildInCondition() fails to handle array not starting with index 0
2014-01-21 08:52:36 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
febce76397
fixed build break and fixed doc about exists/not exists.
2014-01-11 10:17:14 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
7d08a09620
Fixes #1809 : Added support for building "EXISTS" and "NOT EXISTS" query conditions
2014-01-11 08:35:43 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
55cc8813c7
Fixes issue #171
2013-05-07 19:31:35 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
684295fe0b
Fixes
2013-05-07 20:11:31 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
2013-05-07 19:57:27 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
d7df7053e0
=== array() => empty()
2013-05-07 19:51:29 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
15b9f97ca4
Fixed typo in query builder and reverted changes to DbCache.php
2013-04-23 16:48:14 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
906e402ba8
ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected.
2013-03-31 21:20:42 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
6a2bfae41c
use parameter binding for query builder.
2013-03-29 23:32:34 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
2013-03-06 10:51:33 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
2013-02-07 15:46:15 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
2013-02-01 17:18:49 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)