Details
-
Improvement
-
Resolution: Fixed
-
Major
-
8.4.4
-
None
Description
Example usage:
#set($childCountXWQL = "WHERE doc.fullName LIKE :space AND doc.fullName <> :fullName") #set ($query = $services.query.xwql($childCountXWQL)) #set ($query = $query.bindValue('space').literal($doc.space).literal('.').anyChars().query()) #set ($query = $query.bindValue('fullName', $doc.fullName)) #set($childCount = $query.addFilter('unique').addFilter('escapeLikeParameters').count())
#set ($queryParams = []) #if ("$!request.space" != '') #set ($whereQueryPart = "${whereQueryPart} AND doc.space = ?") #set ($discard = $queryParams.add($services.query.parameter().literal($request.space))) #end
Attachments
Issue Links
- blocks
-
XWIKI-14149 Delete UI sometimes proposes to delete wrong children when % is used in page name
- Closed