How to use a variable value to perform another query?

Options
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?

Comments

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    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". 
  • Allen Tullett
    Options
    I had not considered that an option on Xano. It works!, a massive thank you