Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (19 sloc) 0.952 kB

mongoDB datasource for CakePHP

Requirements

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

Sample Code

Model files need to have primaryKey and _schema properties. primaryKey property have to be set "_id". 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

Reference

Reference code, Thank you!

Nate Abele's lithium mongoDB datasource

Joél Perras' divan

Jump to Line
Something went wrong with that request. Please try again.