| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Emre Turkay | Date: | March 25 2008 9: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 Query | Emre Turkay | 25 Mar |
| • Re: Insert Query | Warren Young | 25 Mar |
| • Re: Insert Query | Emre Turkay | 25 Mar |
| • Re: Insert Query | Warren Young | 25 Mar |
