Paul Klimov
a57aeb2aff
Doc comments at `yii\mongodb\*` fixed
10 years ago
Klimov Paul
df023545c9
Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty
10 years ago
Alexander Makarov
9b1ab7cd36
Fixes #4708
10 years ago
Carsten Brandt
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
10 years ago
Qiang Xue
e8c6bb516f
Fixes #4048 : Added `init` event to `ActiveQuery` classes
10 years ago
Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
10 years ago
Vladimir Zbrailov
f9febd0087
unify changedAttributes of afterSave in extensions
10 years ago
Carsten Brandt
2cab70b064
Ensure consistent behavior in ActiveRecord::afterSave()
...
fixes #4012
10 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Carsten Brandt
44dbb2235a
cleanup docs
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
Carsten Brandt
c73cfe147f
Fixed inconsistencies with setting old attributes and pks
...
issue #2892
11 years ago
Carsten Brandt
f4395206b7
reset dirty attributes after `afterSave`
...
so information about changed values is available in `afterSave`-event.
fixes #2892
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Carsten Brandt
505762d49c
updated docs about active relation
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
Alexander Mohorev
c56bf509c1
small typos
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Qiang Xue
f6dd6fa2e9
Renamed `ActiveRecordInterface::createActiveRelation()` to `createRelation()`
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Paul Klimov
9b5f3fab99
Extension "mongo" renamed into "mongodb"
11 years ago
Paul Klimov
380d1d02fb
Method "\yii\mogo\ActiveRecord::equals()" fixed.
11 years ago
Klimov Paul
ca608a81a4
Mongo file Active Record updated.
11 years ago
Klimov Paul
aa3a6dbe74
Doc comments at Mongo updated.
11 years ago
Klimov Paul
deffc7f2de
Mongo Active Record reworked to extend BaseActiveRecord.
11 years ago
Klimov Paul
27a1c63e26
Mongo "_id" processing advanced.
11 years ago
Paul Klimov
a39b2d3799
Default options setup added to Mongo Collection operations.
11 years ago
Paul Klimov
9c7d2b23c2
Mongo Active Record and Active Query fixed.
11 years ago
Klimov Paul
37664fff9b
Mongo Active Record created as draft.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Carsten Brandt
324e10694d
updated sphinx active record with changes from DB AR
11 years ago
Carsten Brandt
8be4f3778a
updated properties of extensions
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
Carsten Brandt
e15860c3fa
more on elasticsearch Query interface added facet search
11 years ago
Carsten Brandt
c6347d6d01
polished elasticsearch AR api, added mget and fixed AR::equals()
11 years ago
Qiang Xue
a07facf434
Refactored hasMany and hasOne so that they support cross-DBMS relationship.
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
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
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Carsten Brandt
0bc8cbf158
php-doc
...
[ci skip]
11 years ago
Carsten Brandt
c4468ac315
forgot to remove strtolower from __get and __unset
11 years ago