Changes for page HQL Scripting Examples in Velocity
Last modified by Manuel Leduc on 2023/02/02
From version 28.1
edited by flavius
on 2011/12/08
on 2011/12/08
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. flavius1 +XWiki.simard - Content
-
... ... @@ -60,12 +60,11 @@ 60 60 * Listing all documents modified during the current week: {{code language="none"}}where year(doc.date) = year(current_date()) and month(doc.date) = month(current_date()) and day(doc.date) > (day(current_date()) - 7) order by doc.date desc{{/code}} 61 61 * Listing all documents modified during the current month: {{code language="none"}}where year(doc.date) = year(current_date()) and month(doc.date) > (month(current_date()) - 1) order by doc.date desc{{/code}} 62 62 63 - 64 64 == Privileged API (##search##) == 65 65 66 66 {{velocity}} 67 67 {{html wiki="true"}} 68 -#warning("Calls to te privileged API are only executed when the calling page has been saved by a user with **Programming Rights**. The reason is that search can be used to send dangerous HQL command like update, delete, etc.") 67 +#warning("Calls to the privileged API are only executed when the calling page has been saved by a user with **Programming Rights**. The reason is that search can be used to send dangerous HQL command like update, delete, etc.") 69 69 {{/html}} 70 70 {{/velocity}} 71 71