veksen
03/08/2018, 6:38 AMkiosk
.
const existingRequest = await ctx.db.query.request({ where: { id } });
// only the base model is available here, not relationships:
existingRequest.kiosk // undefined
1. Which syntax does this come from?
2. Is there any doc for this syntax?matic
03/08/2018, 6:50 AMinfo
as a second argument of your request
.veksen
03/09/2018, 12:14 AM