added id to has_many

This commit is contained in:
Sascha Kühl
2025-02-07 11:46:50 +01:00
parent 27d9bac316
commit 8ef78bb658
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ public:
}
}
template<class ContainerType>
void on_has_many(ContainerType &, const char *, const utils::foreign_attributes &attr)
void on_has_many(const char * /*id*/, ContainerType &, const char *, const utils::foreign_attributes &attr)
{
if (attr.fetch() == utils::fetch_type::LAZY || force_lazy_) {
return;