renamed blob to blob_type_t
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
using sql_func_to_string_map = std::unordered_map<sql_function_t, std::string>;
|
||||
|
||||
using next_placeholder_func = std::function<std::string(size_t)>;
|
||||
using to_escaped_string_func = std::function<std::string(const utils::blob &)>;
|
||||
using to_escaped_string_func = std::function<std::string(const utils::blob_type_t &)>;
|
||||
|
||||
public:
|
||||
[[nodiscard]] const std::string& token_at(dialect_token token) const;
|
||||
@@ -115,7 +115,7 @@ public:
|
||||
*/
|
||||
[[nodiscard]] std::string next_placeholder(const std::vector<std::string> &bind_vars) const;
|
||||
|
||||
[[nodiscard]] std::string to_escaped_string(const utils::blob &value, const connection_impl *conn = nullptr) const;
|
||||
[[nodiscard]] std::string to_escaped_string(const utils::blob_type_t &value, const connection_impl *conn = nullptr) const;
|
||||
|
||||
/**
|
||||
* Returns the default schema name.
|
||||
@@ -183,7 +183,7 @@ private:
|
||||
friend class dialect_builder;
|
||||
|
||||
next_placeholder_func placeholder_func_ = [](size_t) { return "?"; };
|
||||
to_escaped_string_func to_escaped_string_func_ = [](const utils::blob &val) { return utils::to_string(val); };
|
||||
to_escaped_string_func to_escaped_string_func_ = [](const utils::blob_type_t &val) { return utils::to_string(val); };
|
||||
|
||||
escape_identifier_t identifier_escape_type_ = escape_identifier_t::ESCAPE_BOTH_SAME;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "matador/utils/version.hpp"
|
||||
|
||||
namespace matador::utils {
|
||||
using blob = std::vector<unsigned char>;
|
||||
using blob_type_t = std::vector<unsigned char>;
|
||||
}
|
||||
|
||||
namespace matador::sql {
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
[[nodiscard]] const class dialect &dialect() const;
|
||||
|
||||
[[nodiscard]] virtual std::string to_escaped_string(const utils::blob &value) const = 0;
|
||||
[[nodiscard]] virtual std::string to_escaped_string(const utils::blob_type_t &value) const = 0;
|
||||
[[nodiscard]] const connection_info &info() const;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user