diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-04 11:33:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-19 11:40:30 +0200 |
commit | 74bb67e9825e06b68e2f5499b68da2323cb5bb34 (patch) | |
tree | 654acdea4be408d8b7affa2fe6bccde638d25776 /odb/sqlite/query.hxx | |
parent | 382035d872a2cbb22fc14d3c87db93b1f39b407b (diff) |
Initial support for prepared queries
Diffstat (limited to 'odb/sqlite/query.hxx')
-rw-r--r-- | odb/sqlite/query.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/odb/sqlite/query.hxx b/odb/sqlite/query.hxx index fdae3a2..eebc7c3 100644 --- a/odb/sqlite/query.hxx +++ b/odb/sqlite/query.hxx @@ -82,8 +82,11 @@ namespace odb public: typedef sqlite::binding binding_type; + void + init (); + binding_type& - binding (); + binding () {return binding_;} private: friend class query_base; @@ -202,6 +205,11 @@ namespace odb const char* clause_prefix () const; + // Initialize the by-reference parameters from bound variables. + // + void + init_parameters () const; + binding& parameters_binding () const; |