When there are a large number of edges in the database, I cannot query all the data at once
this is my graphql
{
nodeCount(func: has(ip_str)) @recurse(depth:10,loop:true){
ip_str
uid
scan_to
}
}
result is
When there are a large number of edges in the database, I cannot query all the data at once
this is my graphql
{
nodeCount(func: has(ip_str)) @recurse(depth:10,loop:true){
ip_str
uid
scan_to
}
}
result is
Is there any way to remove the edge restriction?
If you do dgraph alpha --help
you will find this line:
--query_edge_limit uint Limit for the maximum number of edges that can be returned in a query. This applies to shortest path and recursive queries. (default 1000000)
So, I guess you can use this --query_edge_limit
flag to control that.
Updated the category to Users/Dgraph.
FYI @Musc1eLee, this is DQL, not GraphQL. They’re similar but different query languages that Dgraph supports natively.
thanks