memgraph/include/query_engine/query_stripped.hpp
Kruno Tomola Fabro 5d235b51f3 tmp commit
tmp commit

tmp commit v2

Finished reimplementation of propertys.
They now can be placed in a holder with different source of type information.

Tmp commit
2016-09-05 10:02:48 +01:00

25 lines
568 B
C++

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