Qiang Xue
9b1c2c8064
Fixes #1586 : `QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default
11 years ago
Carsten Brandt
795c74100d
reverted #1598 and added a test for it
11 years ago
Vincent
488918d03c
Refinement in comments
...
I checked this using XDebug, and the function actually returns null (which is something different than false). I assume it is the comment that should be changed, and not the code itself...
11 years ago
Carsten Brandt
b4612637ec
make count behave like in SQL
...
also fixed count behavior according to limit and offset.
fixes #1458
11 years ago
Carsten Brandt
b2d9166927
refactored scalar query functions to share common code
11 years ago
Carsten Brandt
124a73a598
make Query reuseable
...
fixes #1545
11 years ago
Qiang Xue
24621c3dd1
improved doc
11 years ago
Qiang Xue
79866ee3e0
Improved Query::select() doc.
11 years ago
Carsten Brandt
679da53390
polished Query API
11 years ago
Carsten Brandt
8250cfbb0f
reverted change of count() signature
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
b8e31d50bb
renamed AR trait classes
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Carsten Brandt
4653526262
moved common parts of db ActiveRelation and Query to traits
...
these parts can be reused in other ActiveRecord implementations
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Ilya Antipenko
7fd68199e5
Fix SORT_DESC comment in Query.php
11 years ago
Qiang Xue
0cbb05d7a2
Added Query::indexBy
12 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
12 years ago
Qiang Xue
c4a57a9f6c
Refactored Query and ActiveQuery.
...
Finished ActiveDataProvider.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Alexander Makarov
03cd47aed9
phpdoc typos
12 years ago
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
9958a5802e
DB cleanup
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
2188ece107
refactoring DB
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
e828cc6654
changed the default behavior of scenarios()
12 years ago
Qiang Xue
37c874f1a2
...
13 years ago
Qiang Xue
409c508f78
...
13 years ago
Qiang Xue
965fe5c4d2
...
13 years ago
Qiang Xue
cf10943cd3
...
13 years ago
Qiang Xue
6d6d8d9590
.
13 years ago
Qiang Xue
da4b7afe59
...
13 years ago
Qiang Xue
1978a4efca
...
13 years ago
Qiang Xue
1b7c00a044
...
13 years ago
Qiang Xue
a92acf65ce
...
13 years ago
Qiang Xue
95135f11ef
...
13 years ago
Qiang Xue
a00afed163
...
13 years ago
Qiang Xue
cdfcc5d3f2
...
13 years ago
Qiang Xue
a97f43b03e
...
13 years ago
Qiang Xue
08bcedf0b6
...
13 years ago