Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
MongoDB database driver for CakePHP
PHP CSS

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
models/datasources
samples
tests/cases/datasources
.gitignore
README.markdown

README.markdown

mongoDB datasource for CakePHP

Requirements

PHP5, pecl mongo (http://php.net/mongo)

Sample Code

Model files need to have mongoSchema property. A primaryKey is "_id", it's automatically set in MongoDatasource. Before you start, please check a model sample.

There are some sample controller actions: find,save,delete,deleteAll,updateAll

Author

Yasushi Ichikawa (ichikaway)

(http://twitter.com/ichikaway)

(http://cake.eizoku.com/blog/)

Contributors

Predominant : Cleanup code, add documentation

Jrbasso : Cleanup code

tkyk : Fix bug, Add some function.

Reference

Reference code, Thank you!

Nate Abele's lithium mongoDB datasource

Joél Perras' divan

Something went wrong with that request. Please try again.