#434 - Fix SpEL query example in reference documentation.

This commit is contained in:
Mark Paluch
2020-09-07 14:18:36 +02:00
parent b4002e5c3f
commit 51c47fe00d

View File

@@ -291,7 +291,7 @@ to declare the predicate value for `lastname` (which is equivalent to the `:last
----
public interface PersonRepository extends ReactiveCrudRepository<Person, String> {
@Query("SELECT * FROM person WHERE lastname = :#{[0]} }")
@Query("SELECT * FROM person WHERE lastname = :#{[0]}")
List<Person> findByQueryWithExpression(String lastname);
}
----