List:MySQL++« Previous MessageNext Message »
From:Emre Turkay Date:March 25 2008 10:47am
Subject:Insert Query
View as plain text  
Hi folks,

I've written an insert query generator utility. Works as follows:

{
     insert_query q("some_table");
     q["name"] = "John";
     q["location"] = "UK";
     // ...
     q.execute(connection);
}

There may be several problems, which can be improved later, but how about
the idea? Do you guys think it may be useful and can be included in the
distribution?

Thanks,

Emre Turkay

Attachment: [text/html]
Attachment: [text/html]
Attachment: [text/x-c++hdr] insert_query.hpp
Thread
Insert QueryEmre Turkay25 Mar 2008
  • Re: Insert QueryWarren Young25 Mar 2008
    • Re: Insert QueryEmre Turkay25 Mar 2008
      • Re: Insert QueryWarren Young25 Mar 2008