Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
7.4
-
None
-
Unknown
-
Description
Introduce the notion of InitializableQueryFilters.
@Role public interface InitializableQueryFilter extends QueryFilter { void initialize(Map<String, Object> parameters) throws QueryException; }
Example usage:
$services.query.getNamedQuery("getAllAttachments").addFilter('where', {'clause' : '....'}).bindValue(...).execute()
Attachments
Issue Links
- blocks
-
XWIKI-13121 Generic Query Filter to configure the where clause of a Query
- Reopened