2 messages in com.mysql.lists.plusplusRe: populating the result object
FromSent OnAttachments
Vinay Sambamurthy14 May 2004 07:35 
Sinisa Milivojevic14 May 2004 09:27 
Subject:Re: populating the result object
From:Sinisa Milivojevic (sin@mysql.com)
Date:05/14/2004 09:27:46 AM
List:com.mysql.lists.plusplus

Vinay Sambamurthy wrote:

Hi, I am new to mySql++. I had a doubt regarding the result object. I see that it supports functions to retreive values from the result object. I needed to populate a result object given a set of strings. The examples I found on the internet suggested using a query object to create a connection, create a table, do an insert command on the query and then say Result res = query.store(); But I do not want to construct a table. I want to populate the result object (in the form of rows and columns) given a set of strings. How should i do it? Any suggestions would be very helpful.

I truly do not understand what are you trying to do.

If you want to make a table in memory, use standard STL array of strings ..

Sincerely,