Código fuente wiki de ListTables

Última modificación por dFa el 2024/09/06 15:25

Ocultar los últimos autores
dFa 1.1 1 {{velocity}}
2 #if($hasProgramming)
3 #set($sqlTools = $xwiki.parseGroovyFromPage('SQLTools.SQLToolsGroovy'))
4 = Form =
5 $sqlTools.getForm($request, $doc, true, false)
6 #if($request.url)
7 #set($connection = $sqlTools.getConnectionFromRequest($request))
8 #set($results = $sqlTools.getTables($connection))
9 = Table of content =
10 {{toc /}}
11
12 = Tables =
13 $results
14 #end
15 #else
16 {{error}}Sorry, you need the programming rights to use this tool{{/error}}
17 #end
18 {{/velocity}}
19