Skip to content

Commit

Permalink
@noconflict directives docs (#4490)
Browse files Browse the repository at this point in the history
* @noconflict directives docs

Adds documentation for the @noconflict directive that was introduced in #4454.
  • Loading branch information
Arijit Das authored Jan 24, 2020
1 parent 3b14fac commit 442bdcf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion wiki/content/query-language/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ You can also apply `@normalize` on nested query blocks. It will work similarly b
{{< /runnable >}}


## Ignorereflex directive
## IgnoreReflex directive

The `@ignorereflex` directive forces the removal of child nodes that are reachable from themselves as a parent, through any path in the query result

Expand Down Expand Up @@ -2195,6 +2195,18 @@ This is how you specify the upsert directive for a predicate.
email: string @index(exact) @upsert .
```

### Noconflict directive

The NoConflict directive prevents conflict detection at the predicate level. This is an experimental feature and not a
recommended directive but exists to help avoid conflicts for predicates that don't have high
correctness requirements. This can cause data loss, especially when used for predicates with count
index.

This is how you specify the `@noconflict` directive for a predicate.
```
email: string @index(exact) @noconflict .
```

### RDF Types

Dgraph supports a number of [RDF types in mutations]({{< relref "mutations/index.md#language-and-rdf-types" >}}).
Expand Down

0 comments on commit 442bdcf

Please sign in to comment.