added belongs-to-eager test
This commit is contained in:
@@ -13,11 +13,12 @@
|
||||
#include <utility>
|
||||
|
||||
namespace matador::test {
|
||||
|
||||
struct flight {
|
||||
flight() = default;
|
||||
|
||||
flight(const unsigned int id, const object::object_ptr<airplane> &plane, std::string name)
|
||||
: id(id), plane(plane), pilot_name(std::move(name)) {}
|
||||
: id(id), plane(plane), pilot_name(std::move(name)) {
|
||||
}
|
||||
|
||||
unsigned int id{};
|
||||
object::object_ptr<airplane> plane;
|
||||
@@ -32,7 +33,6 @@ struct flight {
|
||||
field::attribute(op, "pilot_name", pilot_name, 255);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif //QUERY_FLIGHT_HPP
|
||||
|
||||
Reference in New Issue
Block a user