Skip to content
Snippets Groups Projects

ENH: Support FIND and COUNT queries

Merged Florian Spreckelsen requested to merge f-query into dev
1 unresolved thread
Files
2
@@ -161,8 +161,6 @@ auto Transaction::RetrieveById(const std::string &id) noexcept -> StatusCode {
return this->status.GetCode();
}
// TODO(fspreck) What about count queries (mixed with retrievals),
// what about unique queries?
auto Transaction::Query(const std::string &query) noexcept -> StatusCode {
ASSERT_CAN_ADD_QUERY
@@ -182,7 +180,7 @@ auto Transaction::DeleteById(const std::string &id) noexcept -> StatusCode {
auto *sub_request = this->request->add_requests();
sub_request->mutable_delete_request()->set_id(id);
this->status = TransactionStatus::READY();
this->status = TransactionStatus::GO_ON();
return this->status.GetCode();
}
Loading