blob progress
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef QUERY_PARAMETER_BINDER_HPP
|
||||
#define QUERY_PARAMETER_BINDER_HPP
|
||||
|
||||
#include "matador/utils/types.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user