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
Copy file name to clipboardExpand all lines: src/main/asciidoc/appendix/custom-queries.adoc
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ Those come in handy if you cannot express the finder logic via derived query fun
6
6
7
7
Because Spring Data Neo4j works heavily record-oriented under the hood, it is important to keep this in mind and not build up a result set with multiple records for the same "root node".
8
8
9
+
TIP: Please have a look in the FAQ as well to learn about alternative forms of using custom queries from repositories, especially
10
+
how to use custom queries with custom mappings: <<faq.custom-queries-and-custom-mappings>>.
Copy file name to clipboardExpand all lines: src/main/asciidoc/faq/faq.adoc
-68Lines changed: 0 additions & 68 deletions
Original file line number
Diff line number
Diff line change
@@ -379,74 +379,6 @@ One way to do this is shown in <<domain-results>>.
379
379
380
380
To use this base repository for all declared repositories enable Neo4j repositories with: `@EnableNeo4jRepositories(repositoryBaseClass = MyRepositoryImpl.class)`.
381
381
382
-
[[faq.spel.custom-query]]
383
-
== How do I use Spring Expression Language in custom queries?
384
-
385
-
{spring-framework-ref}/core.html#expressions[Spring Expression Language (SpEL)] can be used in custom queries inside `:#{}`.
386
-
This is the standard Spring Data way of defining a block of text inside a query that undergoes SpEL evaluation.
387
-
388
-
The following example basically defines the same query as above, but uses a `WHERE` clause to avoid even more curly braces:
0 commit comments