Re: [Cppcms-users] MongoDB and Hypertable support
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-07-12 13:07:08
|
See, technically, if your queries results are tables and data-types are string, datetime, integer, floating point, blob you can develop your own backend for CppDB. And than do queries like: cppdb::session db("mongodb:some-parameter=somevalue"); cppdb::result r = db << "db.users.find({'last_name': 'Smith'})"; while(r.next()) { std::string first_name = r.get<std::string>("first_name"); } But I'm not sure it would be the best approach Still, if you want to take a look on: http://cppcms.com/sql/cppdb/backenddev.html Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: cpp...@li... >Sent: Thursday, July 12, 2012 3:25 PM >Subject: Re: [Cppcms-users] MongoDB and Hypertable support > >Then this means that I should start some new module like CppNoSQL. >How difficult it can be to adapt such a module to CppCMS? > >On Thu, Jul 12, 2012 at 5:50 PM, Artyom Beilis <art...@ya...> wrote: >> See, CppDB is an engine for relational databases - SQL, it is designed for >> them. >> >> So I don't really see how can you fit stuff like MongoDB to such database >> layer. >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >> To: cpp...@li... >> Sent: Thursday, July 12, 2012 2:08 PM >> Subject: [Cppcms-users] MongoDB and Hypertable support >> >> Hi, >> >> I want to add MongoDB and Hypertable (and possibly more noSQL DBs) >> support to CppDB. What do you think is the best approach to achieve >> this? >> >> -- >> Best regards, >> Shiv Shankar Dayal >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > > >-- >Best regards, >Shiv Shankar Dayal > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |