[odb-users] Prepared statement feature

Boris Kolpackov boris at codesynthesis.com
Thu Oct 4 09:16:33 EDT 2012


Hi Paul,

Stath, Paul <pstath at axxcelera.com> writes:

> In my proposed implementation, the by-reference POD structure was passed
> as an argument to the prepared_query.execute() method.  Which is when I
> assumed that the by-ref parameters would be bound to the prepared 
> select_statement.
> 
> Your previous statement seems to indicate that the by-reference arguments
> have already been bound to the select_statement when the prepared_query
> class was constructed.  Am I following that?

More precisely, the by-reference parameters are bound to the odb::query
object. So to pass a single odb::query but then "split" the parameters
into multiple sets won't be easy.

Boris



More information about the odb-users mailing list