hello there,

i am currently implementing a c++ sql database interface for my server  
application, you might be interested in it.. or not.
I'll tell you where to get the code (when its ready), in the mean time i  
can show you how it would work:


std::string name; unsigned int age;
database::iterator it = table("Users").get( Attribute("age") >= 23 &&  
Attribute("name") == "Smith") -> ("name",name)("age",age);

that simple means, select all rows with age >= 23 and name equal Smith,  
into the vars name and age.

while(it.remaining())
        std::cout << name << " is " << age << " old.";

it can use any sql in the backend.
just as example...

--Ano

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to