From 4a23d7554de82ba24d10bfc6d165157d113fa447 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 25 Oct 2011 07:20:24 +0200 Subject: Add query and result implementations --- odb/oracle/query.ixx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 odb/oracle/query.ixx (limited to 'odb/oracle/query.ixx') diff --git a/odb/oracle/query.ixx b/odb/oracle/query.ixx new file mode 100644 index 0000000..5e61f4e --- /dev/null +++ b/odb/oracle/query.ixx @@ -0,0 +1,28 @@ +// file : odb/oracle/query.ixx +// author : Constantin Michael +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : ODB NCUEL; see accompanying LICENSE file + +namespace odb +{ + namespace oracle + { + template + inline void query:: + append (val_bind v) + { + add ( + details::shared_ptr ( + new (details::shared) query_param_impl (v))); + } + + template + inline void query:: + append (ref_bind r) + { + add ( + details::shared_ptr ( + new (details::shared) query_param_impl (r))); + } + } +} -- cgit v1.1