diff options
Diffstat (limited to 'odb/sqlite/query.ixx')
-rw-r--r-- | odb/sqlite/query.ixx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/odb/sqlite/query.ixx b/odb/sqlite/query.ixx index dcd1ebe..113b376 100644 --- a/odb/sqlite/query.ixx +++ b/odb/sqlite/query.ixx @@ -20,20 +20,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); } } } |