Carsten Brandt
c4dc9470be
created a test case to verify #4682
10 years ago
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
10 years ago
Carsten Brandt
d5375e8c3b
added elasticsearch test case for array attribute relations
10 years ago
Carsten Brandt
0899b8d474
changed updateAttributes to be more simple update
...
fixes #3233
10 years ago
Klimov Paul
3c5b98f7fe
Unit test for issue #4018 added
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Carsten Brandt
e9758fec29
fixed test break
10 years ago
Carsten Brandt
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
10 years ago
Alexander Makarov
2a75cd19c0
Added missing relations to Redis/Elasticsearch test models
10 years ago
Alexander Makarov
9c564808e5
Added missing models for Redis tests
10 years ago
Alexander Makarov
d0aadffb91
Added missing test models for elasticsearch
10 years ago
NmDimas
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
10 years ago
Carsten Brandt
676b366928
adjusted elasticsearch extension to version 1.0 of ES
...
breaking changes.
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Carsten Brandt
c5ad45c771
fixed test break
11 years ago
Qiang Xue
54e08f3f01
fixed build break.
11 years ago
Qiang Xue
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and `ActiveRecord::createQuery()` to simplify customizing ActiveQuery classes
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Alexander Makarov
b66427f8c7
Fixes #2726 : ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
183819abfd
fix phpDoc method signature
11 years ago
AlexGx
32d0768919
style fixes with phpcs:yii2
11 years ago
Alexander Makarov
71835d977e
More short syntax for arrays
11 years ago
Alexander Mohorev
6e7edfdf5b
short array syntax
11 years ago
Qiang Xue
d3ff343e5e
try to fix test break.
11 years ago
Carsten Brandt
c21e01930e
added unit test for #2568
11 years ago
Carsten Brandt
683a46d9ee
test for deeply nested relation
...
close #2543
11 years ago
Carsten Brandt
3b40d44909
made createQuery() config param optional
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
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Klimov Paul
504fc76f5c
Unit test for yii\mongodb\file\ActiveRecord fixed
11 years ago
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
11 years ago
Alexander Kochetov
0ec5643ce3
Unit tests updated
11 years ago
Alexander Makarov
87d42e9f37
Fixed wrong namespace
11 years ago
Alexander Makarov
af385858c7
Fixed tests for elasticsearch, mongo, redis
11 years ago
Alexander Makarov
ed97632f53
Fixed scope method signatures
11 years ago
Alexander Makarov
0699eaadd5
Fixed test breaks
11 years ago
Carsten Brandt
7e961eee85
fixed test break
11 years ago
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
11 years ago
Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
11 years ago
Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
11 years ago
Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Paul Klimov
9b5f3fab99
Extension "mongo" renamed into "mongodb"
11 years ago
Klimov Paul
ca608a81a4
Mongo file Active Record updated.
11 years ago
Paul Klimov
750c6275c0
Sphinx test AR classes moved to 'data/ar/sphinx'.
11 years ago
Klimov Paul
1129d820ed
Mongo Active Relation unit test fixed.
11 years ago
Paul Klimov
3fd6d95aff
Unit test for Mongo Active Relation added.
11 years ago
Paul Klimov
9c7d2b23c2
Mongo Active Record and Active Query fixed.
11 years ago