Already have a little problem here.
From looking at the example, it seems I have to use classes/structs to copy
the data into a map. Is this correct? Or, can I just use a simple function,
or something?
Thanks.
2008/8/14 Alex <xtzgzorex@stripped>
> Alright, I'll give that a shot! :) Thanks. (I'll write back when I'm done)
>
> 2008/8/13 Warren Young <mysqlpp@stripped>
>
>> Alex wrote:
>>
>> From looking at this:
>>>>
>>>
>>>
> http://www.tangentsoft.net/mysql++/doc/html/refman/classmysqlpp_1_1Query.html#6e66c6fe3b2fabebf2db862601b5ffbb--
>>> I would guess that I can't store it in a map - or anything else - with
>>> string'd element names? ( some_result["name"] for example )
>>>
>>
>> Oh, I forgot that we only support set and multiset, not map. So, the
>> second solution is the one you want: build your own map with
>> Query::for_each. See examples/for_each.cpp.
>>
>>
>> --
>> MySQL++ Mailing List
>> For list archives: http://lists.mysql.com/plusplus
>> To unsubscribe:
>> http://lists.mysql.com/plusplus?unsub=1
>>
>>
>
>
> --
> GamerzWoW - http://www.gamerzwow.net
>
--
GamerzWoW - http://www.gamerzwow.net