blob progress

This commit is contained in:
Sascha Kühl
2024-01-22 16:22:35 +01:00
parent 102a7fc604
commit 9509e56f3e
9 changed files with 30 additions and 8 deletions
+7
View File
@@ -1,6 +1,8 @@
#ifndef QUERY_CONVERT_HPP
#define QUERY_CONVERT_HPP
#include "matador/utils/types.hpp"
#include <array>
#include <charconv>
#include <stdexcept>
@@ -103,6 +105,11 @@ void convert(DestType &dest, bool source, typename std::enable_if<std::is_floati
dest = static_cast<DestType>(source);
}
template < typename DestType >
void convert(DestType &dest, const utils::blob &data)
{
}
}
#endif //QUERY_CONVERT_HPP
+2
View File
@@ -1,6 +1,8 @@
#ifndef QUERY_PARAMETER_BINDER_HPP
#define QUERY_PARAMETER_BINDER_HPP
#include "matador/utils/types.hpp"
#include <string>
#include <cstring>
+2
View File
@@ -36,6 +36,7 @@ struct any_type_to_string_visitor
void operator()(double &x) { to_string(x); }
void operator()(const char *x) { to_string(x); }
void operator()(std::string &x) { to_string(x); }
void operator()(utils::blob &x) { to_string(x); }
void operator()(placeholder &x) { to_string(x); }
template<typename Type>
@@ -45,6 +46,7 @@ struct any_type_to_string_visitor
}
void to_string(const char *val);
void to_string(std::string &val);
void to_string(utils::blob &val);
void to_string(placeholder &val);
const dialect &d;