[C++ classes -> MongoDB documents] Are there any ODMs/ORMs for C++ with MongoDB?
433 views
Skip to first unread message
Alec Taylor
unread,
Apr 4, 2014, 2:53:26 AM4/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Are there any ODMs/ORMs for C++ with MongoDB?
Currently I only use MongoDB in Python; using the MongoEngine.
Just wondering if there is something similar for C++; and if not, how one would go about writing it.
Thanks for all information,
Alec Taylor
Charlie Page
unread,
Apr 9, 2014, 3:31:38 PM4/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Hi Alec,
There is a C++ ODM here: https://github.com/saalweachter/MongoXX. I haven't ever used it, so YMMV. With most ODM usage the trade off is efficiency, which for a lot of languages might not matter, but if you've chosen C++ performance is probably one of the driving reasons so if you do run into performance issues make sure it isn't the ODM.
- C
Alec Taylor
unread,
May 15, 2014, 3:12:41 AM5/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Great, thanks: that's what I was after.
Let's just hope it still works (3 years out of maintenance)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Hi Alec,
I am in the exact situation, switching my development from mongoengine to c++, looking for an ODM. What was your experience with the ODM Charlie Page suggested?