File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ for Dgraph.
99
1010### Start Dgraph server
1111
12- You will need to install [ Dgraph v1.0.10 or above] [ releases ] and run it.
12+ You will need to install [ Dgraph v1.1.0 or above] [ releases ] and run it.
1313
1414[ releases ] : https://github.com/dgraph-io/dgraph/releases
1515
@@ -47,28 +47,22 @@ npm install
4747
4848## Run the sample code
4949
50- For Node.js >= v7.6 , run:
50+ For Node.js, run:
5151
5252``` sh
5353node index.js
5454```
5555
56- For Node.js < v7.6 or if you don't want to use the async/await syntax, run:
57-
58- ``` sh
59- node index-pre-v7.6.js
60- ```
61-
6256Your output should look something like this (uid values may be different):
6357
6458``` console
6559Created person named "Alice" with uid = 0x7569
6660
6761All created nodes (map from blank node names to uids):
68- blank-0 : 0x7569
69- blank-1 : 0x756a
70- blank-2 : 0x756b
71- blank-3 : 0x756c
62+ alice : 0x7569
63+ dg.1447158641.7 : 0x756a
64+ dg.1447158641.8 : 0x756b
65+ dg.1447158641.9 : 0x756c
7266
7367Number of people named "Alice": 1
7468{ uid: '0x7569',
@@ -83,4 +77,4 @@ Number of people named "Alice": 1
8377DONE!
8478```
8579
86- You can explore the source code in the ` index.js ` and ` index-pre-v7.6.js ` files .
80+ You can explore the source code in the ` index.js ` file .
You can’t perform that action at this time.
0 commit comments