do you have plans something similar to '@Relation in Android Room'?
guide is in this link https://developer.android.com/reference/android/arch/persistence/room/Relation
It is great feature on Android Room. I guess it's somewhat complex but really convenient because it reduce many join syntax when tables have many 1:1 or 1:N relationship.
Any comments on this? It is an essential feature in my opinion. I would really appreciate it.
No comments for way over a year makes me sad.
So far I don't have plans for this. It would require turning a single select stream into multiple select streams that update atomically. The generator has some initial support to transform select statements at build time (which could be used to implicitly add joins for 1:N relations), but I'm not sure if this is something that moor should do.
@simolus3 thank you for responding.
but I'm not sure if this is something that moor should do.
I strongly disagree. Every single ORM I have ever used (EF Core, Room, etc.) had this feature. In my opinion, this is why ORMs even exist: to eliminate boilerplate code. If writing this just to get data from a single relation makes sense to you, just wait until I need to write this query.