List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:September 7 2004 12:46pm
Subject:Re: Mass Insert?
View as plain text  
Earl Miles wrote:

> I'm trying to figure out how to do an insert with multiple VALUES 

I don't believe MySQL++ has this functionality.  I would suggest either 
overloading SQLQuery::insert() (in sql_query1.hh) to accept an STL 
container, or you can write your own SQL directly:

	Query q;
	q << "INSERT INTO " << table << "....."

If you patch sql_query1.hh, please send me the patch and I will evaluate 
it for inclusion into the library.
Thread
Mass Insert?Earl Miles3 Sep
  • Re: Mass Insert?Steffen Schumacher4 Sep
  • Re: Mass Insert?Warren Young7 Sep
    • Re: Mass Insert?Warren Young7 Sep