fixed access has_many functions
This commit is contained in:
parent
b8df32bdf9
commit
c591302063
|
|
@ -78,22 +78,22 @@ void belongs_to(Operator &op, const char *id, Type &value) {
|
|||
}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &c, const char *join_column, const utils::foreign_attributes &attr) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &c, const char *join_column, const utils::foreign_attributes &attr) {
|
||||
op.on_has_many(id, c, join_column, attr);
|
||||
}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &c, const char *join_column) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &c, const char *join_column) {
|
||||
op.on_has_many(id, c, join_column);
|
||||
}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &c, const utils::foreign_attributes &attr) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &c, const utils::foreign_attributes &attr) {
|
||||
op.on_has_many(id, c, attr);
|
||||
}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &c) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &c) {
|
||||
op.on_has_many(id, c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue