Klimov Paul
f37a6fdacb
Docs about MongoDB gii generator usage added
10 years ago
Klimov Paul
5c9c0829de
Gii generator for MongoDB Active Record created.
10 years ago
Carsten Brandt
3e4ec22004
update changelog
...
[ci skip]
10 years ago
Carsten Brandt
b7e493fca0
Tabs to spaces to be consistent
...
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
11 years ago
Alexander Makarov
edc92a86df
Added missing changelog line for mongodb fix
11 years ago
Alexander Makarov
3af22ece0a
Fixed mongodb to use non-deprecated method of determining if there's an active connection
11 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Alexander Makarov
c7c708d454
Removed unused imports
11 years ago
Qiang Xue
f4c38faf74
prepare for next release.
11 years ago
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Carsten Brandt
44dbb2235a
cleanup docs
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
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