aboutsummaryrefslogtreecommitdiff
path: root/odb/connection.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/connection.txx')
-rw-r--r--odb/connection.txx15
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/connection.txx b/odb/connection.txx
new file mode 100644
index 0000000..f44cdad
--- /dev/null
+++ b/odb/connection.txx
@@ -0,0 +1,15 @@
+// file : odb/connection.txx
+// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+namespace odb
+{
+ template <typename T>
+ prepared_query<T> connection::
+ prepare_query (const char* n, const query<T>& q)
+ {
+ //@@ Views. Inline?
+ //
+ return prepared_query<T> (object_traits<T>::prepare_query (*this, n, q));
+ }
+}