add column info (progress, not compiling)
This commit is contained in:
@@ -64,13 +64,23 @@ void belongs_to(Operator &op, const char *id, Type &value, const foreign_attribu
|
||||
op.on_belongs_to(id, value, attr);
|
||||
}
|
||||
|
||||
//template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
//void has_many(Operator &op, const char *id, container<Type, ContainerType> &container, const foreign_attributes &attr) {
|
||||
// op.on_has_many(id, container, attr);
|
||||
//}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &container, const foreign_attributes &attr) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &container, const foreign_attributes &attr) {
|
||||
op.on_has_many(id, container, attr);
|
||||
}
|
||||
|
||||
//template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
//void has_many(Operator &op, const char *id, container<Type, ContainerType> &container, const char *left_column, const char *right_column, const foreign_attributes &attr) {
|
||||
// op.on_has_many(id, container, left_column, right_column, attr);
|
||||
//}
|
||||
|
||||
template<class Operator, class Type, template<class ...> class ContainerType>
|
||||
void has_many(Operator &op, const char *id, container<Type, ContainerType> &container, const char *left_column, const char *right_column, const foreign_attributes &attr) {
|
||||
void has_many(Operator &op, const char *id, ContainerType<Type> &container, const char *left_column, const char *right_column, const foreign_attributes &attr) {
|
||||
op.on_has_many(id, container, left_column, right_column, attr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user