Created by: Ralle
Hey, I have made some improvements to your awesome product.
diff --git a/lib/BaseMongoRecord.php b/lib/BaseMongoRecord.php index 9de5b73..b745205 100644 --- a/lib/BaseMongoRecord.php +++ b/lib/BaseMongoRecord.php @@ -224,5 +224,20 @@ abstract class BaseMongoRecord $className = get_called_class(); $className::$findTimeout = $timeout; }
- public static function ensureIndex(array $keys, array $options = array())
- {
-
return self::getCollection()->ensureIndex($keys, $options);
- }
- public static function deleteIndex($keys)
- {
-
return self::getCollection()->deleteIndex($keys);
- }
- public function getAttributes()
- {
-
return $this->attributes;
- } }