From 9c275a93cec797a021571ba8545906e0b4ffbfbc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Sep 2011 10:20:47 +0200 Subject: Support for views; native part --- odb/database.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'odb/database.hxx') diff --git a/odb/database.hxx b/odb/database.hxx index 5ec98a7..f24e0fa 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -19,6 +19,7 @@ #include #include +#include namespace odb { @@ -159,7 +160,7 @@ namespace odb template result - query (const odb::query::object_type>&, + query (const odb::query::result>&, bool cache = true); // Native database statement execution. @@ -208,6 +209,9 @@ namespace odb void erase_ (const typename object_traits::pointer_type&); + template + struct query_; + private: database (const database&); database& operator= (const database&); -- cgit v1.1