We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a problem with my query
const query = `query getShopById($shopId: int) { node(func: type(Shop)) @filter(eq(shopId, $shopId)) { uid shopId domain } }`; const vars = { $shopId: 1 }; const shop = await dgraphClient.newTxn().queryWithVars(query, vars);
this code returns an error
errors: [ { message: ': Got error: strconv.ParseInt: parsing "": invalid syntax while running: name:"eq" args:"" ', extensions: [Object] } ]
the same query in the interface works correctly and returns data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a problem with my query
this code returns an error
the same query in the interface works correctly and returns data
The text was updated successfully, but these errors were encountered: