Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Devel #23

Closed
wants to merge 40 commits into from
Closed

Devel #23

wants to merge 40 commits into from

Conversation

pgaultier
Copy link
Collaborator

Added massive atomic updating system through mongo operators :

$mod = new EMongoModifier(array('userActive'=>array('inc'=>1)));
$mod->addModifier('userStatus','set','banned');

$criteria = new EMongoCriteria();
$criteria->addCond('userActive','==', 3);

$status = Users::model()->updateAll($mod, $criteria);

Nagy Attila Gabor and others added 30 commits January 6, 2011 01:20
Partially loaded documents will be tracked, and on save only those attributes
will be saved that have been loaded.

This is an early prototype. It works with the select() method of the criteria
and does not support EMongoCursor. Partial loading only works for the
attributes of the main document and not for embedded documents.
Because we're in symlinked dir, the app path is few dir upper
So we can check something
@canni
Copy link
Owner

canni commented Jan 24, 2011

Very nice feature! Big thanks :)

@canni
Copy link
Owner

canni commented Jan 26, 2011

Already merged.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants