Returning data from an integer table reference column
Hello,
I am trying to return data from a referenced table column and not just the integer. I am using a WeWeb plug in for Xano backend. In my table #1, I have references to a record in table #2 in Column X. I am calling data in table #1 in weweb, and for column X, I am trying to get data of that row in table #2, but it only gives me the integer ID of that row in Table #2.
How do I change the returned value of a table reference? I know it is bad practice to re-create the data from Table #2 in Table #1.
Best Answer
-
The most Xano-ish way of doing this is implementing an Add-On so that the return from the query includes data from the referenced table. https://docs.xano.com/working-with-data/addons
Answers
-
Thank you, this worked!
-
Wonderful! We discuss the harder end of these kinds of issues in daily office hours on the Statechange Pro group.
-
Seems more of a shilled response than an actual answer but 🤷♂️. Love to see the actual implementation.
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