added belongs to and has one tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef OOS_ACCESS_HPP
|
||||
#define OOS_ACCESS_HPP
|
||||
#ifndef MATADOR_ACCESS_HPP
|
||||
#define MATADOR_ACCESS_HPP
|
||||
|
||||
#include "matador/utils/primary_key_attribute.hpp"
|
||||
#include "matador/utils/field_attributes.hpp"
|
||||
@@ -7,17 +7,7 @@
|
||||
|
||||
#include <optional>
|
||||
|
||||
namespace matador {
|
||||
|
||||
enum class cascade_type;
|
||||
|
||||
namespace utils {
|
||||
class field_attributes;
|
||||
class foreign_attributes;
|
||||
class primary_key_attribute;
|
||||
}
|
||||
|
||||
namespace access {
|
||||
namespace matador::access {
|
||||
template<class Operator, class Type>
|
||||
void process(Operator &op, Type &object) {
|
||||
object.process(op);
|
||||
@@ -92,6 +82,5 @@ void has_many_to_many(Operator &op, const char *id, ContainerType &c, const util
|
||||
op.on_has_many_to_many(id, c, attr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif //OOS_ACCESS_HPP
|
||||
#endif //MATADOR_ACCESS_HPP
|
||||
|
||||
Reference in New Issue
Block a user