Skip to content
Snippets Groups Projects

ENH: Support FIND and COUNT queries

Merged
Florian Spreckelsenrequested to merge
f-query into dev
1 open thread
2 files
+ 20
0
Compare changes
  • Side-by-side
  • Inline

Files

+ 17
0
@@ -389,6 +389,23 @@ public:
return this->request->requests_size();
}
/**
* Get a JSON representation of the respone.
*
* For debugging.
*/
inline auto ResponseToString() const -> const std::string {
google::protobuf::util::JsonOptions options;
std::string out;
google::protobuf::util::MessageToJsonString(*this->response, &out, options);
return out;
}
/**
* Get a JSON representation of the request.
*
* For debugging.
*/
inline auto RequestToString() const -> const std::string {
google::protobuf::util::JsonOptions options;
std::string out;
Loading