Hi again, and sorry to ask so many question
From doc:
https://docs.dgraph.io/clients/#alter-the-database-1
$ curl -X POST localhost:8080/alter -d '{"drop_op": "TYPE", "drop_value": "Film"}'
Steps:
- If I do:
curl -X POST localhost:8080/alter -d 'name: string @index(term) .'
- And the add som data:
POST http://{{host}}/mutate?commitNow=true
Content-Type: application/json
{
"set": [
{
"name": "Alice"
},
{
"name": "Bob"
}
]
}
- This do not delete data:
curl -X POST localhost:8080/alter -d '{"drop_op": "TYPE", "drop_value": "name"}'
Expected: Alice & Bob to be deleted?