Dgraph: Add a schema quick link query to Ratel Dashboard

Created on 2 Jan 2018  路  2Comments  路  Source: dgraph-io/dgraph

As a new user I find the generic query below super helpful to understand what the database schema looks like, especially after I have run a few different example mutations. I feel it would be worthwhile to have this query as a quick link in your Ratel Dashboard for other newbies. I found the query on your docs site but it's a bit hidden away.

schema {
  type
  index
  reverse
  tokenizer
}

screen shot 2018-01-02 at 5 19 26 pm

If you want to go even further, you could have a tab that just runs this query and returns clickable predicate. These clickable predicates could autogenerate a sample query, so you can explore the data mostly just by clicking around.

Just a though.
Dgraph seems really great so far.

kinenhancement

Most helpful comment

We could also think about building the functionality to mark certain queries as the favorite so that they can be accessed quickly.

All 2 comments

We could also think about building the functionality to mark certain queries as the favorite so that they can be accessed quickly.

A schema tab has been added to the dashboard that you might useful.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yupengfei picture yupengfei  路  4Comments

pepoospina picture pepoospina  路  3Comments

mbudge picture mbudge  路  3Comments

ShawnMilo picture ShawnMilo  路  4Comments

armaneous picture armaneous  路  3Comments