I have two tables: user, user_matching. And I wanna get items from both tables in 1 query. For example, SQL-like query:
select * from user where user.id = (select id from user_matching where id = user_matching_id)
Usually I should use 2 query in NoSQL DB. Now I do it like this:
- Get from user_matching user_id
- With user_id Get from user
Can I replace it with only 1 query using Tarantool. And How To?