renamed foreign class to entity, introduced interface class query_result_reader
This commit is contained in:
@@ -7,15 +7,15 @@
|
||||
#include "matador/utils/cascade_type.hpp"
|
||||
#include "matador/utils/field_attributes.hpp"
|
||||
|
||||
#include "matador/sql/foreign.hpp"
|
||||
#include "matador/sql/entity.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace matador::test {
|
||||
|
||||
struct flight {
|
||||
unsigned long id;
|
||||
sql::foreign<test::airplane> airplane;
|
||||
unsigned long id{};
|
||||
sql::entity<test::airplane> airplane;
|
||||
std::string pilot_name;
|
||||
|
||||
template<class Operator>
|
||||
|
||||
Reference in New Issue
Block a user