HamedMasafi / Nut

Advanced, Powerful and easy to use ORM for Qt
GNU Lesser General Public License v3.0
294 stars 75 forks source link

[1 to many] relations implementation #98

Closed JackLilhammers closed 4 years ago

JackLilhammers commented 4 years ago

I read that [1 to many] relations are implemented with child tables, but I can't see them in the db. Is it the user's responsibility to explicitly create those tables? Shouldn't be the ORM the one that creates them?

JackLilhammers commented 4 years ago

I realized now that my use case is a [n to m] relation, my bad. I'm closing this issue. If you're interested I'll reopen it as a feature request.

HamedMasafi commented 4 years ago

Hi @JackLilhammers Thank you for your interest! ATM Nut Don't create foreign key on database btw its in my todo plan. I will add this feature asap also you can create a feature request. BR

JackLilhammers commented 4 years ago

Thank you for making this project. I'm an absolute beginner with ORMs, but I'm trying to use it for a project at work, therefore I'll do my best to improve Nut