adding Dgraph explanantions
This commit is contained in:
parent
f0aa10a9d2
commit
5dca0a0472
19
README.md
19
README.md
|
@ -66,6 +66,24 @@ elasticsearch:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Dgraph Interface
|
||||||
|
|
||||||
|
You can connect to the Dgraph interface at this default address: localhost:8000.
|
||||||
|
There you would be able to run GraphQL+ queries, here to query a node.
|
||||||
|
|
||||||
|
```graphql
|
||||||
|
query {
|
||||||
|
Node(func: eq(id, "node--cde8decb-0a8b-4d19-bd77-c2decb6dab9c")) {
|
||||||
|
uid
|
||||||
|
ndata
|
||||||
|
modified
|
||||||
|
type
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Datastructure
|
## Datastructure
|
||||||
|
|
||||||
### Meta
|
### Meta
|
||||||
|
@ -92,7 +110,6 @@ type Edge struct {
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Certstream
|
### Certstream
|
||||||
|
|
||||||
Node --[Edge]-- CertNode --[Edge]-- CertStreamRaw
|
Node --[Edge]-- CertNode --[Edge]-- CertStreamRaw
|
||||||
|
|
Loading…
Reference in a new issue