Skip to content

Commit

Permalink
Finish release v1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
canni committed Jan 28, 2011
1 parent 981ed2e commit e591d56
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion EMongoDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -695,13 +695,14 @@ public function update(array $attributes=null, $modify = false)
/**
* Atomic, in-place update method.
*
* @since v1.3.6
* @param EMongoModifier $modifier updating rules to apply
* @param EMongoCriteria $criteria condition to limit updating rules
* @return bool
*/
public function updateAll($modifier, $criteria=null) {
Yii::trace(get_class($this).'.updateAll()','ext.MongoDb.EMongoDocument');
if($modifier->canApply === true)
if($modifier->canApply === true)
{
$this->applyScopes($criteria);
if(version_compare(Mongo::VERSION, '1.0.5','>=') === true)
Expand Down
6 changes: 3 additions & 3 deletions EMongoModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
* For modifiers list {@see EMongoModifier::$modifiers}
*
* @author Philippe Gaultier <[email protected]>
* @since xxx
* @since v1.3.6
*/
class EMongoModifier extends CComponent
{
/**
* @since xxx
* @since v1.3.6
* @var array $modifiers supported modifiers
*/
public static $modifiers = array(
Expand Down Expand Up @@ -66,7 +66,7 @@ class EMongoModifier extends CComponent
* );
* </PRE>
* @param array $modifier basic definition of modifiers
* @since xxx
* @since v1.3.6
*/
public function __construct($modifier=null)
{
Expand Down
1 change: 1 addition & 0 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This is the 1.3.6 release
- Documentation corrects
- **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB**
- **Added fixtures manager, that can replace the Yii default one, and work with Mongo model**
- **Ability to do massive [partial updates of multiple documents][advanced.partial-batch-update]**

## The Key Feature List:

Expand Down
3 changes: 1 addition & 2 deletions doc/input/en/advanced.partial-batch-update.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
Title: Massive Partial Updates
ShortTitle: Massive Partial updates
Author: Philippe Gaultier <[email protected]>

---

Since the `v1.x.x` You can perform *partial updates* of multiple documents.
Since the `v1.3.6` You can perform *partial updates* of multiple documents.

~~~
[php]
Expand Down
1 change: 1 addition & 0 deletions doc/input/en/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features in 1.3.6
- Documentation corrects
- **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB**
- **Added fixtures manager, that can replace the Yii default one, and work with Mongo model**
- **Ability to do massive [partial updates of multiple documents][advanced.partial-batch-update]**

New features in 1.3.5

Expand Down

0 comments on commit e591d56

Please sign in to comment.