diff options
Diffstat (limited to 'odb/sqlite/query.hxx')
-rw-r--r-- | odb/sqlite/query.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/sqlite/query.hxx b/odb/sqlite/query.hxx index 6d7dd0d..bb1f50e 100644 --- a/odb/sqlite/query.hxx +++ b/odb/sqlite/query.hxx @@ -1565,6 +1565,24 @@ namespace odb details::buffer buffer_; std::size_t size_; }; + + // TEXT STREAM (reduce to id_text). + // + template <typename T> + struct query_param_impl<T, id_text_stream>: query_param_impl<T, id_text> + { + query_param_impl (ref_bind<T> r) : query_param_impl<T, id_text> (r) {} + query_param_impl (val_bind<T> v) : query_param_impl<T, id_text> (v) {} + }; + + // BLOB STREAM (reduce to id_blob). + // + template <typename T> + struct query_param_impl<T, id_blob_stream>: query_param_impl<T, id_blob> + { + query_param_impl (ref_bind<T> r) : query_param_impl<T, id_blob> (r) {} + query_param_impl (val_bind<T> v) : query_param_impl<T, id_blob> (v) {} + }; } } |