blob progress
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
void bind(size_t pos, const utils::blob &blob) override;
|
||||
|
||||
const std::vector<const char*>& params() const;
|
||||
[[nodiscard]] const std::vector<const char*>& params() const;
|
||||
|
||||
private:
|
||||
std::vector<std::string> strings_;
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
.with_placeholder_func([](size_t index) {
|
||||
return "$" + std::to_string(index);
|
||||
})
|
||||
.with_token_replace_map({
|
||||
{dialect::token_t::BEGIN_BINARY_DATA, "E'\\\\"}
|
||||
})
|
||||
.with_data_type_replace_map({
|
||||
{data_type_t::type_blob, "BYTEA"}
|
||||
})
|
||||
|
||||
@@ -136,7 +136,7 @@ void postgres_parameter_binder::bind(size_t pos, const std::string &str, size_t
|
||||
|
||||
void postgres_parameter_binder::bind(size_t pos, const utils::blob &blob)
|
||||
{
|
||||
|
||||
params_[pos] = "";
|
||||
}
|
||||
|
||||
const std::vector<const char *> &postgres_parameter_binder::params() const
|
||||
|
||||
Reference in New Issue
Block a user