Package io.micronaut.data.annotation
Annotation Interface Where
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE,TYPE})
@Documented
@Repeatable(WhereSpecifications.class)
@Inherited
public @interface Where
There 
Where annotation allows augmenting the WHERE statement of generated
 queries with additional criterion.- Since:
- 1.0.0
- Author:
- graemerocher
- 
Required Element SummaryRequired Elements
- 
Element Details- 
valueString valueThe string value that represents the additional query criterion. For example:enabled = trueNote that if it may be required to specify the query alias in queries. For example: book_.enabled = true. `@` can be used as a placeholder for the query's aliasParameterized variables can be specified using the dollar syntax: book_.enabled = :enabled. In this case the parameter must be declared in the method signature a compilation error will occur.Use cases including soft-delete, multi-tenancy etc. - Returns:
- The additional query criterion.
 
 
-