Re: [Cppcms-users] getting dbixx::session::escaped_query string
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2010-11-02 07:42:44
|
>
> Can't dbixx::session::escaped_query be made public?
> That would be useful both for bebugging and query logging purposes?
>
> Maybe it would be safer to simply implement a getEscaped_query() function, but
>
> how could I use my own function to modify the query in other ways (e.g.
> automatically add a prefix to table names)?
Probably I can add get_escaped_query() member function. And no, I can't make it
public,
as it private variable used internally.
> Even if I make a class derived from dbixx::session, I still wouldn't be able
> to read AND modify the query as long as escaped_query is private, right?
>
dbixx::session is not intended to be derived from.
Artyom
|