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
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
11 years ago
Dirk Adler
0320670822
Changes mongodb build and condition, fixes #2868
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
8e11ad0360
refactored code to use Instance::ensure()
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
Paul Klimov
bc73a2481c
MongoDB log fixed to handle Mongo objects correctly
11 years ago
Paul Klimov
f56616394e
Note about embedded documents added to mongodb extension readme
11 years ago
Paul Klimov
866ba85010
yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format.
11 years ago
Paul Klimov
8d5536ac12
yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Alexander Mohorev
61cacdfc81
add findAndModify() method to the Collection class
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Tobias Munk
825a71c6df
replaced keyword "yii" with "yii2" in composer.json files ( fixes #2557 )
11 years ago
Carsten Brandt
505762d49c
updated docs about active relation
11 years ago
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
11 years ago
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
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
c65b171e98
removed useless option
11 years ago
Alexander Mohorev
8a6418a9c2
refactoring Session component
11 years ago
Alexander Mohorev
c56bf509c1
small typos
11 years ago
Alexander Mohorev
8f9c54a149
add method findOne() to the Collection class
11 years ago
Alexander Mohorev
75ea33ac64
mongodb method "open" not triggered event "after open connection"
11 years ago
Paul Klimov
08131477a2
yii\mongodb\Collection::mapReduce() fixed to handle 'inline' output correctly.
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
11 years ago
Mark
5e33a17b6a
fixed active fixtures classes
11 years ago
Carsten Brandt
5c26f01f84
fixed doc links
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
Qiang Xue
f6dd6fa2e9
Renamed `ActiveRecordInterface::createActiveRelation()` to `createRelation()`
11 years ago
Qiang Xue
f82ecad658
Added doc.
11 years ago
kate-kate
3986e11585
data file removed
11 years ago
kate-kate
d5d810dd86
local data variable and some code style fixation
11 years ago
kate-kate
0d35c269fe
using batchInsert
11 years ago
kate-kate
a4b6eeca7e
refactoring according to the new version
11 years ago
kate-kate
719a721ebe
active fixture for mongodb extension
11 years ago
Carsten Brandt
796284cba1
reworked fix for #1993
11 years ago
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
11 years ago
Paul Klimov
8ede55a0df
Documentation for "mongodb" extension improved.
11 years ago
Paul Klimov
ece5f0b8ad
Doc comments for MongoDB Session updated.
11 years ago
Paul Klimov
399e7f82f8
Doc comments for MongoDB Cache fixed.
11 years ago
Paul Klimov
5d3684fd7c
Unit test for MongoDB Cache advanced.
11 years ago
Paul Klimov
32887edf5a
MongoDB Cache class added as draft.
11 years ago
Paul Klimov
48be2bb7d1
MongoDB Session class added.
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago