diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 13:12:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 13:12:15 +0200 |
commit | de82079ff82a62e69ed3e70122ba9af6ecefcacf (patch) | |
tree | dc1ef0d4e2dbd609f53038d3cabcccb732f117ae /odb/pgsql/connection.hxx | |
parent | 18add9bb3064d8a994cc1b0c3a50c5df2dff3bf9 (diff) |
Add support for executing common query using static interface
Diffstat (limited to 'odb/pgsql/connection.hxx')
-rw-r--r-- | odb/pgsql/connection.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx index 472ee63..f43955d 100644 --- a/odb/pgsql/connection.hxx +++ b/odb/pgsql/connection.hxx @@ -72,7 +72,11 @@ namespace odb template <typename T> prepared_query<T> - prepare_query (const char* name, const query<T>&); + prepare_query (const char* name, const pgsql::query_base&); + + template <typename T> + prepared_query<T> + prepare_query (const char* name, const odb::query_base&); // SQL statement tracing. // |