[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
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
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
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 received this message because you are subscribed to the Google Groups
> "mongodb-user"
> group.
>
> For other MongoDB technical support options, see:
> http://www.mongodb.org/about/support/.
> ---
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mongodb-user...@googlegroups.com.
> To post to this group, send email to mongod...@googlegroups.com.
> Visit this group at http://groups.google.com/group/mongodb-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mongodb-user/121cdf0a-d6be-4f35-837a-9136b0d5cea2%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Arman Arkilic

unread,
Jan 12, 2015, 11:52:58 AM1/12/15
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?

Thanks,
Arman
Reply all
Reply to author
Forward
0 new messages