brianfeister
01/08/2019, 7:30 PM{parent: String}. Anything non-null will work here, String isn't accepted, complains about wanting an object. So, it's not types. I also tried { parent_not: null } with no luck. Sorry for the beginner question, can't find this in the docs.
const children = await ctx.db.query.comments(
{
where: { AND: [{ isPublic: true }, { parent: String }] },
orderBy: 'createdAt_DESC'
},
info
)