aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/database.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/database.hxx')
-rw-r--r--odb/sqlite/database.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx
index 318cb57..e7650f7 100644
--- a/odb/sqlite/database.hxx
+++ b/odb/sqlite/database.hxx
@@ -268,7 +268,11 @@ namespace odb
template <typename T>
unsigned long long
- erase_query (const sqlite::query<T>&);
+ erase_query (const sqlite::query_base&);
+
+ template <typename T>
+ unsigned long long
+ erase_query (const odb::query_base&);
// Query API.
//
@@ -286,7 +290,11 @@ namespace odb
template <typename T>
result<T>
- query (const sqlite::query<T>&);
+ query (const sqlite::query_base&);
+
+ template <typename T>
+ result<T>
+ query (const odb::query_base&);
// Query preparation.
//
@@ -300,7 +308,11 @@ namespace odb
template <typename T>
prepared_query<T>
- prepare_query (const char* name, const sqlite::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&);
// Transactions.
//