view sqlite.xml @ 3:abea0f0eb524 draft

Uploaded
author sem4j
date Wed, 25 Sep 2013 02:04:06 -0400
parents 9e9da6cf492b
children 51847f1c0acb
line wrap: on
line source

<tool id="sqlite" name="SQL" version="0.4">
  <description>Runner (SQLite)</description>
  <command interpreter="python">
    sqlite.py $output_file $explain_plan $header "$sql"
    #for $i in $files
      ${i.file} ${i.header} '${i.index}'
    #end for
  </command>
  <inputs>
    <repeat name="files" title="Table">
      <param name="file" type="data" format="tabular" label="File (tabular)"/>
      <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 ...)" />
      <param name="index" type="text" size='20' value="" label="Index" />
    </repeat>
    <param name="header" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Print column names in the first row." />
    <param name="sql" type="text" area="true" size="10x50" label="SQL">
      <sanitizer sanitize="False"/>
    </param>
    <param name="explain_plan" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Explain SQL execution plan. (Ignore if you are not a developer)" />
  </inputs>
  <outputs>
    <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/>
  </outputs>
  <help>
**What it does**
  </help>
</tool>