You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just discovered how to do it. For example if you want to include genres in your game request you can do it like this: const gamesQuery = igdb().query('games', 'games-with-genre').fields(['name', 'genres.name']).where(id = ${id}); //here we create a query like every other query except that we dont add the .request const res = await igdb().multi([gamesQuery]).request('/multiquery'); //and here we use the query we have created passing it inside an array to multi() function.
How to achieve writing Multi-Query?
The text was updated successfully, but these errors were encountered: