correct way to query trough distant relations?
please help. here is example of entity links
apartments -m:1- floors -m:1- sections -m:1- buildings -m:m- projects.
how do i make query that will return every apartment that belongs to a project? is mine structure even correct? do i need more links?
please point me
Answers
-
should I in mine scenario also have project link in every entity down the line? like directly link every record in tables like apartments or floors to their parent project with direct m:1 links?
-
also links in post had mistake, really links are
apartments -m:1- floors -m:1- sections -m:1- buildings -m:1- projects.
is did not find how to edit post :)
so i did get it working, and getting expected results, but being new to platform and with documentation limitations I do not know if that the right way. please advice :) -
ok i guess i realized that mine first approach to use joins was best, so i redone it again and now its a single query, which seems to work flawless, I still hope to hear some advices because may be im still on a wrong track :D
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback