21 lines
499 B
C++
21 lines
499 B
C++
#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;
|
|
};
|