Mostrar los últimos autores
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #if($hasProgramming) | ||
| 3 | #set($sqlTools = $xwiki.parseGroovyFromPage('SQLTools.SQLToolsGroovy')) | ||
| 4 | = Query = | ||
| 5 | $sqlTools.getForm($request, $doc, true, true) | ||
| 6 | #if($request.query) | ||
| 7 | #set($connection = $sqlTools.getConnectionFromRequest($request)) | ||
| 8 | #set($results = $sqlTools.getResults($connection, $request.query, true)) | ||
| 9 | = Results = | ||
| 10 | $results | ||
| 11 | #end | ||
| 12 | #else | ||
| 13 | {{error}}Sorry, you need the programming rights to use this tool{{/error}} | ||
| 14 | #end | ||
| 15 | {{/velocity}} |