Summary: Dressipi CRUD queries are dummy implemented; Fixes T99 and T131 Test Plan: manual Reviewers: sale Subscribers: buda, sale Maniphest Tasks: T131, T99 Differential Revision: https://memgraph.phacility.com/D9
36 lines
461 B
C++
36 lines
461 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace utils
|
|
{
|
|
|
|
class StringBuffer
|
|
{
|
|
public:
|
|
StringBuffer &operator<<(const std::string &str)
|
|
{
|
|
data += str;
|
|
return *this;
|
|
}
|
|
|
|
StringBuffer &operator<<(const char *str)
|
|
{
|
|
data += str;
|
|
return *this;
|
|
}
|
|
|
|
StringBuffer &operator<<(char c)
|
|
{
|
|
data += c;
|
|
return *this;
|
|
}
|
|
|
|
std::string &str() { return data; }
|
|
|
|
private:
|
|
std::string data;
|
|
};
|
|
|
|
}
|