Skip to content

Commit

Permalink
add example for instances without backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Issif committed Dec 5, 2019
1 parent 62db392 commit 11dd845
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,17 @@ See [here](https://docs.dgraph.io/query-language/) to get more info about **Dgra
}
```

### Get Instances without backup (no linked Snapshot)

```bash
{
Volume(func: type(Volume))@filter(not has(~_Volume) and eq(State, "in-use")) {
name dgraph.type
Instance:_Instance{name InstanceId}
}
}
```

## Author

Thomas Labarussias ([@Issif](https://github.com/Issif))

0 comments on commit 11dd845

Please sign in to comment.