Alexander Makarov
02622b6fe4
phpdoc fixes and additions
10 years ago
Klimov Paul
15c8935db1
Fixed `yii\mongodb\ActiveRecord` unable to fetch 'hasMany' referred by array of `\MongoId`
10 years ago
Alexander Makarov
cba52e3c5e
Fixes #5382 : renamed "pivot table" to "junction table" since it's correct term to use
10 years ago
Carsten Brandt
222f9ddfad
added missing documentation about the NOT operator in Query
...
fixes #5147
10 years ago
Qiang Xue
aa8c013ebf
Fixes #3197 : Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results
10 years ago
Carsten Brandt
f5f9364785
fixed test break
...
how did that manage to pass before...?
10 years ago
Carsten Brandt
d036d2f5bf
add support for array valued attr relations to unlink and link
10 years ago
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
10 years ago
Klimov Paul
1a07485e27
Added support for relation by array attributes
...
fixes #1249
10 years ago
Alexander Makarov
593b478f2b
Added extra callable typehints
10 years ago
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets `asArray`, it is not respected by the `via` relational query
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Carsten Brandt
2b593da08f
phpdoc issue
...
[ci skip]
11 years ago
Carsten Brandt
76d8e2b5b3
code style, fixes #3140
11 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Thiago Talma
544243d517
Update ActiveRelationTrait.php
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Qiang Xue
78136d4278
Fixes #2880 : filterByModels() should prefix key columns in a join query.
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
34cfb356e9
Fixes #2713 : using relations defined in behavior may throw exception in lazy loading.
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
Carsten Brandt
33d6acba25
Improved behavior support, fixes #2550
...
call hasMethod() instead of using method_exists
11 years ago
Jacob Morrison
614bffb01a
Fixed issue with preventing from clearing events and behaviors on clone
11 years ago
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
11 years ago
Qiang Xue
c92a260a3d
Fixes #2415 : Added support for inverse relations
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Qiang Xue
b0568612bf
Fixes #1402 : AR eager loading has problem when asArray() is used together with viaTable().
11 years ago
Klimov Paul
cddb878360
ActiveRelationTrait::getModelKey() updated to work with non scalar keys.
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Qiang Xue
0b43aa4f81
Fixes #1310 : ActiveRelation does not preserve order of items on find via() and viaTable()
11 years ago
Qiang Xue
a2fe128455
refactored query and relation.
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
11 years ago
Carsten Brandt
8250cfbb0f
reverted change of count() signature
11 years ago
Carsten Brandt
51faa62eca
updated interface and trait php-doc in yii\ar
...
[ci skip]
11 years ago
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
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
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
c2a3aa3d99
Fixes #885 : removed NULLs from filtering by models.
11 years ago
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Luciano Baraglia
369a5b7b94
Code style ultra-minimum-fix [skip ci]
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Anderson Müller
78b6607c11
Fixes doc block in findWith method of ActiveRelation
12 years ago