Is it possible to query on certain fields? I dont need all of them, only a few.
const games = await getGames({
query: {
year: 2023,
classification: 'fbs',
},
});
Something like:
const games = await getGames({
fields: [
"homeId", "awayId", "week"
],
query: {
year: 2023,
classification: 'fbs',
},
});
And unrelated, but is it possible to build nested queries - like query all teams, then their games are nested in a games array? Kinda like in pure GQL or Prisma or something?
Thanks y'all!
Is it possible to query on certain fields? I dont need all of them, only a few.
Something like:
And unrelated, but is it possible to build nested queries - like query all teams, then their games are nested in a games array? Kinda like in pure GQL or Prisma or something?
Thanks y'all!