How to use a variable value to perform another query?
Options
![Allen Tullett](https://us.v-cdn.net/6037124/user_avatars/3933413.jpg)
Allen Tullett
Member ✭
Hello everyone,
I have been able to return a single result from a table based upon a value I pass, which works as intended. But I would like to use a value from that result to perform another query against another table.
So my variable with the returned result is called 'record' and I want to use the value with the key 'title'
I cannot figure out how to create a query using that value. Is this possible?
I have been able to return a single result from a table based upon a value I pass, which works as intended. But I would like to use a value from that result to perform another query against another table.
So my variable with the returned result is called 'record' and I want to use the value with the key 'title'
I cannot figure out how to create a query using that value. Is this possible?
Comments
-
Yes! For a situation like this, you can use dot notation. The input for query 2 you are looking for is "record.title" rather than "record".
-
I had not considered that an option on Xano. It works!, a massive thank you
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