renamed foreign class to entity, introduced interface class query_result_reader
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "matador/utils/cascade_type.hpp"
|
||||
#include "matador/utils/field_attributes.hpp"
|
||||
|
||||
#include "matador/sql/foreign.hpp"
|
||||
#include "matador/sql/entity.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -17,8 +17,8 @@ namespace matador::test {
|
||||
struct product
|
||||
{
|
||||
std::string product_name;
|
||||
sql::foreign<test::supplier> supplier;
|
||||
sql::foreign<test::category> category;
|
||||
sql::entity<test::supplier> supplier;
|
||||
sql::entity<test::category> category;
|
||||
std::string quantity_per_unit;
|
||||
unsigned int unit_price;
|
||||
unsigned int units_in_stock;
|
||||
|
||||
Reference in New Issue
Block a user