diff --git a/include/orm/tiny/relations/basepivot.hpp b/include/orm/tiny/relations/basepivot.hpp index 9265c01d2..675e76042 100644 --- a/include/orm/tiny/relations/basepivot.hpp +++ b/include/orm/tiny/relations/basepivot.hpp @@ -59,6 +59,7 @@ namespace Orm::Tiny::Relations /*! Delete the pivot model record from the database (alias). */ inline bool deleteModel(); + /* Getters / Setters */ /*! Get the table associated with the model. */ QString getTable() const; /*! Get the foreign key column name. */ @@ -218,6 +219,8 @@ namespace Orm::Tiny::Relations return this->model().remove(); } + /* Getters / Setters */ + template QString BasePivot::getTable() const {