Hey @mbn18
You are using a GraphQL syntax in DQL, therefore you have a syntax error.
The correct query should look like this:
{
q(func:type(Tenant)) @cascade(app.cn) {
~app.tnnt @filter(eq(app.cn, "appName")) {
app.cn
}
}
}
In DQL @cascade
is queried like this: @cascade(pred1, pred2, ...)
Give it a try and let us know,
Best,