Skip to content

Commit 51c47fe

Browse files
committed
#434 - Fix SpEL query example in reference documentation.
1 parent b4002e5 commit 51c47fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/reference/r2dbc-repositories.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ to declare the predicate value for `lastname` (which is equivalent to the `:last
291291
----
292292
public interface PersonRepository extends ReactiveCrudRepository<Person, String> {
293293
294-
@Query("SELECT * FROM person WHERE lastname = :#{[0]} }")
294+
@Query("SELECT * FROM person WHERE lastname = :#{[0]}")
295295
List<Person> findByQueryWithExpression(String lastname);
296296
}
297297
----

0 commit comments

Comments
 (0)