Alexander Mohorev
899b778994
Correct type declarations
2014-10-25 16:35:50 +03:00
Klimov Paul
15c8935db1
Fixed yii\mongodb\ActiveRecord unable to fetch 'hasMany' referred by array of \MongoId
2014-10-09 14:55:43 +03:00
Carsten Brandt
1b4d894c9d
created test for #5341
2014-10-03 23:16:58 +02:00
Qiang Xue
9c375d6538
Fixed test break.
2014-09-22 17:55:04 -04:00
Qiang Xue
d9f897ca56
Merge branch 'unlink-tests'
2014-09-22 16:37:34 -04:00
Carsten Brandt
1fe5b53f39
Merge pull request #4944 from yiisoft/redis-fixes
...
Fixed storing and loading nulls and booleans in Redis
2014-09-22 18:59:59 +02:00
Carsten Brandt
df22616c76
finished fix for redis null and boolean value storage
...
fixes #1311
2014-09-22 18:45:37 +02:00
Carsten Brandt
9ee76322d9
Added failing test cases for #3725
2014-09-16 23:50:22 +02:00
Qiang Xue
b9c97ff2aa
Fixes #4938 : When yii\db\ActiveQuery is used to build sub-queries, its WHERE clause is not correctly generated
2014-09-12 16:46:12 -04:00
Carsten Brandt
c4dc9470be
created a test case to verify #4682
2014-08-13 12:45:20 +02:00
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
2014-07-21 00:35:55 +02:00
Carsten Brandt
d5375e8c3b
added elasticsearch test case for array attribute relations
2014-07-20 23:57:51 +02:00
Carsten Brandt
48f6e380df
Merge PR #4038 branch 'consistent-after-save'
...
* consistent-after-save:
use an AfterSaveEvent class to be consistent
fixed test break and wrong parameter
changed updateAttributes to be more simple update
Ensure consistent behavior in ActiveRecord::afterSave()
Conflicts:
framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
Carsten Brandt
0899b8d474
changed updateAttributes to be more simple update
...
fixes #3233
2014-06-25 00:29:49 +02:00
Klimov Paul
3c5b98f7fe
Unit test for issue #4018 added
2014-06-24 17:47:08 +03:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Carsten Brandt
e9758fec29
fixed test break
2014-06-04 17:24:01 +02:00
Carsten Brandt
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
2a75cd19c0
Added missing relations to Redis/Elasticsearch test models
2014-06-03 14:24:11 +04:00
Alexander Makarov
9c564808e5
Added missing models for Redis tests
2014-06-03 14:02:41 +04:00
Alexander Makarov
d0aadffb91
Added missing test models for elasticsearch
2014-06-02 18:33:12 +04:00
NmDimas
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
2014-06-01 22:40:05 +03:00
Carsten Brandt
676b366928
adjusted elasticsearch extension to version 1.0 of ES
...
breaking changes.
2014-05-06 18:14:32 +02:00
Alexander Makarov
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
Carsten Brandt
c5ad45c771
fixed test break
2014-04-04 17:12:26 +02:00
Qiang Xue
54e08f3f01
fixed build break.
2014-04-03 11:57:49 -04:00
Qiang Xue
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes
2014-04-03 10:36:52 -04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Alexander Makarov
b66427f8c7
Fixes #2726 : ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema
2014-03-19 18:06:20 +04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
AlexGx
183819abfd
fix phpDoc method signature
2014-03-08 15:37:06 +02:00
AlexGx
32d0768919
style fixes with phpcs:yii2
2014-03-08 14:55:58 +02:00
Alexander Makarov
71835d977e
More short syntax for arrays
2014-03-07 02:03:23 +04:00
Qiang Xue
d3ff343e5e
try to fix test break.
2014-02-27 22:07:13 -05:00
Carsten Brandt
c21e01930e
added unit test for #2568
2014-02-27 15:13:51 +01:00
Carsten Brandt
683a46d9ee
test for deeply nested relation
...
close #2543
2014-02-25 15:03:54 +01:00
Carsten Brandt
3b40d44909
made createQuery() config param optional
2014-02-20 05:54:47 +01:00
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
2014-02-20 05:53:36 +01:00
Qiang Xue
c92a260a3d
Fixes #2415 : Added support for inverse relations
2014-02-18 19:43:05 -05:00
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
2014-02-07 13:26:00 +04:00
Alexander Makarov
76705b4319
Merge branch 'master'
...
Conflicts:
tests/unit/data/ar/elasticsearch/Customer.php
2014-01-22 03:06:21 +04:00
Klimov Paul
504fc76f5c
Unit test for yii\mongodb\file\ActiveRecord fixed
2014-01-21 21:39:22 +02:00
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
Alexander Kochetov
0ec5643ce3
Unit tests updated
2014-01-19 13:51:56 +04:00
Alexander Makarov
87d42e9f37
Fixed wrong namespace
2014-01-17 23:37:39 +04:00
Alexander Makarov
af385858c7
Fixed tests for elasticsearch, mongo, redis
2014-01-17 23:24:31 +04:00
Alexander Makarov
ed97632f53
Fixed scope method signatures
2014-01-17 23:01:13 +04:00
Alexander Makarov
0699eaadd5
Fixed test breaks
2014-01-17 22:33:10 +04:00
Carsten Brandt
f6530314e2
Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
...
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00