0
|
1 <tool id="sqlite" name="SQL" version="0.4">
|
|
2 <description>Runner (SQLite)</description>
|
|
3 <command interpreter="python">
|
|
4 sqlite.py $output_file $explain_plan $header "$sql"
|
|
5 #for $i in $files
|
|
6 ${i.file} ${i.header} '${i.index}'
|
|
7 #end for
|
|
8 </command>
|
|
9 <inputs>
|
|
10 <repeat name="files" title="Table">
|
|
11 <param name="file" type="data" format="tabular" label="File (tabular)"/>
|
|
12 <param name="header" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Use the first row as column names. (If unchecked, use c1 c2 c3 ...)" />
|
|
13 <param name="index" type="text" size='20' value="" label="Index" />
|
|
14 </repeat>
|
|
15 <param name="header" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Print column names in the first row." />
|
|
16 <param name="sql" type="text" area="true" size="10x50" label="SQL">
|
|
17 <sanitizer sanitize="False"/>
|
|
18 </param>
|
|
19 <param name="explain_plan" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Explain SQL execution plan. (Ignore if you are not a developer)" />
|
|
20 </inputs>
|
|
21 <outputs>
|
|
22 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/>
|
|
23 </outputs>
|
|
24 <help>
|
|
25 **What it does**
|
|
26 </help>
|
|
27 </tool>
|