You’ll need to clear your CommandBox artifacts if you’re already using the module. Backward compatibility is maintained, however this version consistently demonstrates 50% or better reductions in query execution and database operation times, so it’s a worthwhile upgrade.
Demonstrates 52% reduction in query execution times and database operations from the previous version
Implements handlers for API documentation (/cmbongodb/docs) and Unit Tests (/cbmongodb/tests)
Fixes issue with near() GEOSpatial operations on Polygon objects
Re-factors Test Suite to Require the Framework Context
Adds an asJSON argument to find() and findAll() entity queries
Encapsulates all Collection Result queries to provide the following delivery methods: .asResult() - MongoIterable, .asCursor() - MongoIterator, .asArray(), asJSON()
My pleasure. I’ve updated a couple of projects to the new version and it’s much faster, especially when querying large collections. I did notice this morning that there was a typo in the cbjavaloader dependency in the box.json file, which was causing it not to nest the module on install, if it wasn’t already installed. I pushed a change up that fixes that issue.
On a related note, Luis and Brad, I noticed that my box.json entry didn’t save for some reason on Forgebox when I updated the module the other day. Forgebox did throw a couple of errors when I tried to save the description (maybe a length issue?) so it may just have gotten lost with one of those errors. Is it possible to have an option to pull that box.json from the repo instead of having to paste it in manually every time you update it?
Sure, count me in if you’d like me to give a presentation. I did one awhile back when I first created the module, but I’ve done a lot more work with Mongo and NoSQL since then, so I’d probably have more to add.
Please post the upcoming presentation video in Vimeo. I also found your “converting cfmongodb to a module” video is useful.
My current project is using “cbmongdb”. Any presentations regarding MongoDB would be perfect. Thanks!