Predicate Section
You have two panels:
- The left panel with a predicate list in a table. The table consists of three columns, the name of the
predicate
, thetype
, and theindices
. - On the right panel you have the properties related to the selection from the right panel.
![](upload://vuN8H4yVYWlpOeYd4dVNDg2cujb.png)
You can add new predicates using the Add Predicate
button on the top left corner. In the dialog box, you can add the name of the predicate, the type, language if required, and its indices.
In the predicate’s Properties
panel you can edit the type, the indexation, or drop it. In the tab Samples & Statistics
you have information about your dataset. It has a sample sneak-peek of the predicate’s data.
Type Definition Section
You have two panels:
- The left panel provides you a table with a type list, with two columns:
Type
andField Count
. - On the right panel you have the properties related to the selected
Type
.
![](upload://1hweYZ2ZIdbZS72xFhcReAjtAKi.png)
You can add new Types using the Add Type
button on the top left corner. In the dialog box, you can add the name of the Type and select which predicates belong to this Type. The list will show only existing predicates.
Bulk Edit Schema & Drop Data
With this option you can edit the schema directly in plain-text. You also have the option to Drop the data.
Note There are two ways to drop the DB. The default option will drop the data but keep the Schema
. To drop everything you have to select the check-box Also drop Schema and Types
.
![](upload://fm14Dl1hejqLE1AheWOlBkFbhBk.png)
This is a companion discussion topic for the original entry at https://dgraph.io/docs/ratel/schema/