Having trouble understanding type on query with relation - Drizzle Team