You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>If you do the same mutation above but using the same predicates instead of unique one. You gonna override the Edge attribute. Line by line. So you must to use distinct predicates.</p>
<description>Note For the following queries to run, you should have loaded data in the introduction.
21
-
Let’s have a look at a hello world query in GraphQL+-.
20
+
<description>Note For the following queries to run, you should have loaded data in the [introduction](../../intro/3/). Let’s have a look at a hello world query in GraphQL+-.
22
21
Every query has a name, and the result is labelled with the same name.
23
22
The search criteria func: ... matches nodes. Function eq does what you&rsquo;d expect, matching nodes with a name equalling &ldquo;Michael&rdquo;. The result is the matched nodes and listed outgoing edges from those nodes.</description>
24
23
</item>
@@ -172,8 +171,7 @@ In the query below, Dgraph returns all Michael&rsquo;s friends, and only the
172
171
<description>The @normalize directive
173
172
returns only edges listed with an alias, and
174
173
flattens the result to remove nesting
175
-
Tip Aliased names can be the same as the original edge.
176
-
</description>
174
+
Tip Aliased names can be the same as the original edge. </description>
Copy file name to clipboardExpand all lines: published/blocksvars/1/index.html
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -588,14 +588,12 @@
588
588
<h1class="lesson-heading">Multiple Named Query Blocks</h1>
589
589
590
590
<div>
591
-
592
-
593
-
<divclass="notices note" >
594
-
<spanclass="type">Note</span><p>From now on, to run the queries, you’ll need to have loaded the <ahref="../../moredata/1/">million triple movie dataset</a>.</p>
591
+
<divclass="notices note" >
592
+
<spanclass="type">Note</span>
593
+
From now on, to run the queries, you'll need to have loaded the [million triple movie dataset](../../moredata/1/).
595
594
596
595
</div>
597
596
598
-
599
597
<p>Queries can be issued as multiples.</p>
600
598
601
599
<p>For queries labelled <code>q1, ..., qn</code> issued as a multiple query block, the JSON
<li>for something extra, try using <code>since</code> to work out how many days since the movie was released (or how many days till release, for some)</li>
0 commit comments