From f101a400442692f349822ab1d9119bca5d2b7240 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Oct 2012 11:33:49 +0200 Subject: Initial support for prepared queries --- odb/connection.txx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 odb/connection.txx (limited to 'odb/connection.txx') 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 + prepared_query connection:: + prepare_query (const char* n, const query& q) + { + //@@ Views. Inline? + // + return prepared_query (object_traits::prepare_query (*this, n, q)); + } +} -- cgit v1.1