blob progress
This commit is contained in:
@@ -54,6 +54,8 @@ public:
|
||||
START_QUOTE,
|
||||
END_QUOTE,
|
||||
STRING_QUOTE,
|
||||
BEGIN_BINARY_DATA,
|
||||
END_BINARY_DATA,
|
||||
NONE
|
||||
};
|
||||
|
||||
@@ -181,6 +183,8 @@ private:
|
||||
{token_t::START_QUOTE, "\""},
|
||||
{token_t::END_QUOTE, "\""},
|
||||
{token_t::STRING_QUOTE, "'"},
|
||||
{token_t::BEGIN_BINARY_DATA, "X'"},
|
||||
{token_t::END_BINARY_DATA, "'"},
|
||||
{token_t::NONE, ""}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef QUERY_STRING_HPP
|
||||
#define QUERY_STRING_HPP
|
||||
|
||||
#include "matador/utils/types.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -29,6 +31,7 @@ size_t split(const std::string &str, char delim, std::vector<std::string> &value
|
||||
void replace_all(std::string &in, const std::string &from, const std::string &to);
|
||||
|
||||
const std::string& to_string(const std::string &str);
|
||||
std::string to_string(const blob &data);
|
||||
|
||||
/**
|
||||
* Joins a range of elements as string within a list
|
||||
|
||||
Reference in New Issue
Block a user