Atul_Vaidya wrote:
> Hi,
>     How to store a multimap in SQlite database ?
> My requirement is that i want to store a multimap<int,long> in a column of
> the SQlite table
> Regards,
> Atul

i don't use stl but i also work with more complex structures.
the best approach to save them in database is  encode it to text or binary
field. in binary field its simpler to do and it saves space. working with text
is sometimes simpler in database operations, but you have to use some additional
encoding (base64, bintohex, uuencode/uudecode, whatever you want) to make sure
that stored text is pure ASCII and content won't be damaged
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to