Anthony nailed it. The predicate you specify in your flag will be used “as is” try this query instead:
{
test(func: has(Student.courses), first:5) {
Student.studentId
xid
}
}
Anthony nailed it. The predicate you specify in your flag will be used “as is” try this query instead:
{
test(func: has(Student.courses), first:5) {
Student.studentId
xid
}
}