aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/prepared-query.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-04 11:33:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-19 11:40:30 +0200
commit74bb67e9825e06b68e2f5499b68da2323cb5bb34 (patch)
tree654acdea4be408d8b7affa2fe6bccde638d25776 /odb/sqlite/prepared-query.hxx
parent382035d872a2cbb22fc14d3c87db93b1f39b407b (diff)
Initial support for prepared queries
Diffstat (limited to 'odb/sqlite/prepared-query.hxx')
-rw-r--r--odb/sqlite/prepared-query.hxx33
1 files changed, 33 insertions, 0 deletions
diff --git a/odb/sqlite/prepared-query.hxx b/odb/sqlite/prepared-query.hxx
new file mode 100644
index 0000000..dd23b41
--- /dev/null
+++ b/odb/sqlite/prepared-query.hxx
@@ -0,0 +1,33 @@
+// file : odb/sqlite/prepared-query.hxx
+// copyright : Copyright (c) 2005-2012 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_SQLITE_PREPARED_QUERY_HXX
+#define ODB_SQLITE_PREPARED_QUERY_HXX
+
+#include <odb/pre.hxx>
+
+#include <odb/prepared-query.hxx>
+#include <odb/details/shared-ptr.hxx>
+
+#include <odb/sqlite/version.hxx>
+#include <odb/sqlite/query.hxx>
+#include <odb/sqlite/statement.hxx>
+
+#include <odb/sqlite/details/export.hxx>
+
+namespace odb
+{
+ namespace sqlite
+ {
+ struct LIBODB_SQLITE_EXPORT prepared_query_impl: odb::prepared_query_impl
+ {
+ sqlite::query query;
+ details::shared_ptr<select_statement> stmt;
+ };
+ }
+}
+
+#include <odb/post.hxx>
+
+#endif // ODB_SQLITE_PREPARED_QUERY_HXX