spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

AOT generated query methods containing parameter expressions

Open christophstrobl opened this issue 5 months ago • 0 comments

Enable parameter binding for named as well as index based expressions.

@Query("{ firstname : ?#{[0]}}")
List<Person> bindExpressionParameterByIndex(String firstname);

@Query("{ firstname : :#{#firstname}}")
List<Person> bindExpressionParameterByName(String firstname);

christophstrobl avatar Jun 20 '25 06:06 christophstrobl