diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:11:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:11:43 +0200 |
commit | 9ccd928f7b3d36b7be4a8dc8d180a441c9bf55e1 (patch) | |
tree | e6f398593fdc511d260ca9464344ff4bf3e2f127 /odb/mysql/query-dynamic.hxx | |
parent | 945e65b2f5db606740e46053a4539ccc08403996 (diff) |
Add dynamic multi-database query support
Diffstat (limited to 'odb/mysql/query-dynamic.hxx')
-rw-r--r-- | odb/mysql/query-dynamic.hxx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/odb/mysql/query-dynamic.hxx b/odb/mysql/query-dynamic.hxx new file mode 100644 index 0000000..f724174 --- /dev/null +++ b/odb/mysql/query-dynamic.hxx @@ -0,0 +1,33 @@ +// file : odb/mysql/query-dynamic.hxx +// copyright : Copyright (c) 2005-2012 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_MYSQL_QUERY_DYNAMIC_HXX +#define ODB_MYSQL_QUERY_DYNAMIC_HXX + +#include <odb/pre.hxx> + +#include <odb/query.hxx> +#include <odb/query-dynamic.hxx> + +#include <odb/mysql/query.hxx> + +namespace odb +{ + namespace mysql + { + typedef details::shared_ptr<query_param> (*query_param_factory) ( + const void* val, bool by_ref); + + template <typename T, database_type_id ID> + details::shared_ptr<query_param> + query_param_factory_impl (const void*, bool); + } +} + +#include <odb/mysql/query-dynamic.ixx> +#include <odb/mysql/query-dynamic.txx> + +#include <odb/post.hxx> + +#endif // ODB_MYSQL_QUERY_DYNAMIC_HXX |