Add to Ratel a field of total number of nodes | Feature, has References

Moved from GitHub ratel/9

Posted by MichelDiz:

References: Query for total number of nodes · Issue #1619 · dgraph-io/dgraph · GitHub

Can serve as statistics in Ratel.

In the Schema field put an option to request the total nodes for that predicate. It updates as the user clicks to request each one. Ratel would generate a query like the one below.


  total (func: has ( ) {

paulftw commented :

Data explorer does that ATM, slowly. Better fetch is blocked on the “has()” optimization. Will be fixed once we migrate play to 1.0.10.