memgraph/src/query_engine/query_stripped.hpp

23 lines
510 B
C++
Raw Normal View History

#pragma once
#include <vector>
#include "storage/model/properties/property.hpp"
using code_args_t = std::vector<Property::sptr>;
struct QueryStripped
{
QueryStripped(const std::string &&query, code_args_t &&arguments)
: query(std::forward<const std::string>(query)),
arguments(std::forward<code_args_t>(arguments))
{
}
QueryStripped(QueryStripped &other) = delete;
QueryStripped(QueryStripped &&other) = default;
std::string query;
code_args_t arguments;
};