diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 13:12:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 13:12:13 +0200 |
commit | cb2add469737f428bc5df00b13b0bed82c30c187 (patch) | |
tree | 81539af31ee702fffdab2733a8ff0d30b8576004 /odb/sqlite/connection.hxx | |
parent | bfc6d29f8ef4efc48334cf0c25af433d85c21ed6 (diff) |
Add support for executing common query using static interface
Diffstat (limited to 'odb/sqlite/connection.hxx')
-rw-r--r-- | odb/sqlite/connection.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/sqlite/connection.hxx b/odb/sqlite/connection.hxx index 6dd8292..43c540c 100644 --- a/odb/sqlite/connection.hxx +++ b/odb/sqlite/connection.hxx @@ -81,7 +81,11 @@ namespace odb template <typename T> prepared_query<T> - prepare_query (const char* name, const query<T>&); + prepare_query (const char* name, const sqlite::query_base&); + + template <typename T> + prepared_query<T> + prepare_query (const char* name, const odb::query_base&); // SQL statement tracing. // |