dg.3162278161.22055
during the transaction. And the final UID value
for this node is 0xfffd8d72745f0650
.
You can control the identifier name by specifying a uid
field in your JSON
data and using the notation: "uid" : "_:<your-identifier>"
In this mutation, there are two JSON objects and because they refer to the same
identifier, Dgraph creates only one node:
diggy
identifier:
species
field is added to the node already created with name
and dgraph.type
information.
"uid"
field to reference an existing node. To do so, you must
specify the UID value of the node.
For example:
species
information to the node that was created earlier.
species
predicate has the @lang directive, the JSON
mutation
species
string predicate in English and in French.
type
and coordinates
in the
JSON document. The supported types are Point
, Polygon
, or MultiPolygon
.
food
predicate as a
relationship.
null
.
For example, to remove the predicate name
from node 0xfffd8d72745f0691
:
null
removes all the relationships.
food
relationship.
To delete all predicates of a given node:
dgraph.type
predicate0x06
is the UID of the node created.
To remove one value from the list:
|
character to separate the predicate and
facet key in a JSON object field name. This is the same encoding schema used to
show facets in query results. E.g.
YYYY
, MM-YYYY
,
DD-MM-YYYY
, RFC339, etc.) and as a double-quoted string otherwise. If you do
not want to risk the chance of your facet data being misinterpreted as a time
value, itβs best to store numeric data as either an int or a float.
Facet
, overwrite it. When you run a mutation for the same entity
without a Facet
, the existing Facet
is deleted automatically.
uid(...)
, val(...)
arenβt accepted.