From 1c8bc60576270cefc4c80dbfd0137f13951e827f Mon Sep 17 00:00:00 2001 From: Luanne Misquitta Date: Wed, 27 Jan 2016 13:56:33 +0530 Subject: [PATCH] DATAGRAPH-765 - Document supported query keywords. --- src/main/asciidoc/index.adoc | 11 +++++ .../asciidoc/reference/appendix/appendix.adoc | 45 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 src/main/asciidoc/reference/appendix/appendix.adoc diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index 2bcb23e99..7f23736d4 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -53,4 +53,15 @@ include::reference/migration/migration.adoc[] :leveloffset: -1 [[Configuration]] += Configuration in an HA Environment + +:leveloffset: +1 include::reference/configuration/ha.adoc[] +:leveloffset: -1 + +[appendix]] += Appendix +:leveloffset: +1 +include::reference/appendix/appendix.adoc[] +:leveloffset: -1 + diff --git a/src/main/asciidoc/reference/appendix/appendix.adoc b/src/main/asciidoc/reference/appendix/appendix.adoc new file mode 100644 index 000000000..537e0133a --- /dev/null +++ b/src/main/asciidoc/reference/appendix/appendix.adoc @@ -0,0 +1,45 @@ +[[reference_appendix]] += Appendix + +== Repository Query Keywords + +The following table lists the keywords generally supported by the Spring Data Neo4j repository query derivation mechanism. + +[cols="1,1,2"] +.Query Keywords +|=== +|Logical keyword|Keyword expressions|Restrictions + +|`AND` +|`and` +| + +|`OR` +|`or` +|Cannot be used to OR nested properties + +|`GREATER_THAN` +|`GreaterThan` +| + +|`LESS_THAN` +|`LessThan` +| + +|`LIKE` +|`Like`, `IsLike` +| + +|`NOT` +|`Not` +| + +|`NOT_LIKE` +|`NotLike`, `IsNotLike` +| + +|`REGEX` +|`Matches` +| + +|===