> Subject: [Cppcms-users] dbixx::result && dbixx::row
>
> Hello, is it possible to make dbixx:: result and row serializable? It would
>let
> us to store db queries results in cache.
>
>
This is bad place to do serialization. As dbixx::result are tied to specific DB
connection
and not generally useful outside this scope.
You need to fetch an object from the database you need using "row" and then
serialize the
object rather then serializing the row itself.
See for example:
Wikipp's options class:
http://cppcms.svn.sourceforge.net/viewvc/cppcms/wikipp/branches/for_cppcms_v100/options.cpp?revision=1255&view=markup
Function voidoptions::load(), lines 73-90
Artyom
Mistake.
Actually these members are for low level access to libdbi for functions missing
in dbixx.
And generally should not be used.
Artyom
----- Original Message ----
> Hello,
>
> Why dbixx::result doesn't have "dbi_result get_dbi_result() member
> function ?
>
> Jean-Michel
>
>
>