<para>
<refsect2 id="sqlite-database" role="function"><title>new sqlite.Database(filename)</title><para>Constructs a new sqlite.Database</para>
<variablelist role="params">
<varlistentry><term><parameter>filename</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis></term><listitem><simpara>A new sqlite.Database object, the <parameter>status</parameter> property will be one of the SQLite status enums</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
<refsect2 id="sqlite-exec" role="function"><title>database.exec(command, callback)</title><para><para>Executes the SQLite <parameter>command</parameter> on the given database. If <parameter>callback</parameter> is defined, it is called with each table entry from the given command, with a single argument. The argument has properties for each value in the returned table entry.</para><para>Keep in mind that, just like in C, it is necessary to sanitize user input in your SQL before passing it to the database.</para></para>
<variablelist role="params">
<varlistentry><term><parameter>command</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis></term><listitem><simpara>An SQLite status enum representing the result of the operation</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
<refsect2 id="sqlite-close" role="function"><title>database.close()</title><para>Closes an SQLite database and syncs</para>
</refsect2>
</para>
