aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/query.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/query.ixx')
-rw-r--r--odb/pgsql/query.ixx10
1 files changed, 6 insertions, 4 deletions
diff --git a/odb/pgsql/query.ixx b/odb/pgsql/query.ixx
index 9d28032..d850c1a 100644
--- a/odb/pgsql/query.ixx
+++ b/odb/pgsql/query.ixx
@@ -8,20 +8,22 @@ namespace odb
{
template <typename T, database_type_id ID>
inline void query::
- append (val_bind<T> v)
+ append (val_bind<T> v, const char* conv)
{
add (
details::shared_ptr<query_param> (
- new (details::shared) query_param_impl<T, ID> (v)));
+ new (details::shared) query_param_impl<T, ID> (v)),
+ conv);
}
template <typename T, database_type_id ID>
inline void query::
- append (ref_bind<T> r)
+ append (ref_bind<T> r, const char* conv)
{
add (
details::shared_ptr<query_param> (
- new (details::shared) query_param_impl<T, ID> (r)));
+ new (details::shared) query_param_impl<T, ID> (r)),
+ conv);
}
}
}