@@ -61,7 +61,7 @@ identifier, Dgraph creates only one node:
61
61
},
62
62
{
63
63
"uid": "_:diggy",
64
- "specie ": "badger"
64
+ "species ": "badger"
65
65
}
66
66
]
67
67
}
@@ -81,7 +81,7 @@ that was created with the `diggy` identifier:
81
81
}
82
82
```
83
83
84
- Note that the ` specie ` field is added to the node already created with ` name `
84
+ Note that the ` species ` field is added to the node already created with ` name `
85
85
and ` dgraph.type ` information.
86
86
87
87
### Referencing existing nodes
@@ -96,18 +96,18 @@ For example:
96
96
"set": [
97
97
{
98
98
"uid": "0xfffd8d72745f0650",
99
- "specie ": "badger"
99
+ "species ": "badger"
100
100
}
101
101
]
102
102
}
103
103
```
104
104
105
- Adds the ` specie ` information to the node that was created earlier.
105
+ Adds the ` species ` information to the node that was created earlier.
106
106
107
107
## Language support
108
108
109
109
To set a string value for a specific language, append the language tag to the
110
- field name. In case, ` specie ` predicate has the @lang directive, the JSON
110
+ field name. In case, ` species ` predicate has the @lang directive, the JSON
111
111
mutation
112
112
113
113
``` dql
@@ -117,14 +117,14 @@ mutation
117
117
"uid": "_:diggy",
118
118
"name": "diggy",
119
119
"dgraph.type": "Mascot",
120
- "specie @en" : "badger",
121
- "specie @fr" : "blaireau"
120
+ "species @en" : "badger",
121
+ "species @fr" : "blaireau"
122
122
}
123
123
]
124
124
}
125
125
```
126
126
127
- Dgraph sets the ` specie ` string predicate in English and in French.
127
+ Dgraph sets the ` species ` string predicate in English and in French.
128
128
129
129
## Geolocation support
130
130
0 commit comments