Skip to content

Commit fbd35ad

Browse files
committed
Update query format
1 parent 03a3b8a commit fbd35ad

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

README.adoc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
:model: documentation/img/model.jpeg
1818
:example: documentation/img/example.png
1919

20-
:query: MATCH (l:Location {address:$address})<-[r:OCCURRED_AT]-(c:Crime) +
21-
RETURN c.date as crimeDate +
22-
23-
:param-name: address
24-
:param-value: Piccadilly
25-
:result-column: crimeDate
26-
:expected-result: 31/08/2017
27-
2820
:todo: false
2921
image::{icon}[width=100]
3022

@@ -43,9 +35,10 @@ image::{model}[]
4335
image::{example}[width=600]
4436

4537
.Example Query:
46-
[source,cypher,subs=attributes]
38+
[source,cypher,role=query-example,param-name=address,param-value=Piccadilly,result-column=crimeDate,expected-result=31/08/2017]
4739
----
48-
{query}
40+
MATCH (l:Location {address:$address})<-[r:OCCURRED_AT]-(c:Crime)
41+
RETURN c.date as crimeDate
4942
----
5043

5144
=== Setup

0 commit comments

Comments
 (0)