From 1d9f4fe55fb243b04f2548151dcf7cb3b32a7ce8 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Thu, 21 Mar 2024 11:14:11 +0100 Subject: [PATCH] fix a code example I rushed last night --- documentation/src/main/asciidoc/introduction/Generator.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/src/main/asciidoc/introduction/Generator.adoc b/documentation/src/main/asciidoc/introduction/Generator.adoc index cfdfa19ffc..bf3e725ad4 100644 --- a/documentation/src/main/asciidoc/introduction/Generator.adoc +++ b/documentation/src/main/asciidoc/introduction/Generator.adoc @@ -586,8 +586,8 @@ A generated query or finder method can make use of < :minDate") -KeyedResultList booksFromDate(Session session, LocalDate minDate, KeyedPage page); +@Query("where publicationDate > :minDate") +KeyedResultList booksFromDate(Session session, LocalDate minDate, KeyedPage page); ---- Note that this method: