progress on combining foreign_node_completer and relation_completer
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "matador/utils/fetch_type.hpp"
|
||||
#include "matador/utils/cascade_type.hpp"
|
||||
|
||||
// ReSharper disable CppNonExplicitConvertingConstructor
|
||||
namespace matador::utils {
|
||||
|
||||
class foreign_attributes
|
||||
@@ -27,7 +28,9 @@ private:
|
||||
fetch_type fetch_{fetch_type::LAZY};
|
||||
};
|
||||
|
||||
const foreign_attributes default_foreign_attributes {};
|
||||
const foreign_attributes CascadeNoneFetchLazy {};
|
||||
const foreign_attributes CascadeAllFetchLazy {cascade_type::ALL, fetch_type::LAZY};
|
||||
const foreign_attributes CascadeAllFetchEager {cascade_type::ALL, fetch_type::EAGER};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user