Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reusable Prepare Statements on MySQL (plus basic support for postgres and sqlite3) #100

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
6 changes: 4 additions & 2 deletions doc/us/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ <h4>Methods</h4>
the operation could not be performed or when it is not implemented.</dd>


<dt><a name="conn_execute"></a><strong><code>conn:execute(statement)</code></strong></dt>
<dd>Executes the given SQL <code>statement</code>.<br/>
<dt><a name="conn_execute"></a><strong><code>conn:execute(statement[,...])</code></strong></dt>
<dd>Executes the given SQL <code>statement</code>. As in traditional prepared statements,
additional parameters can be used to avoid SQL injections. Although this is only
supported by sqlite3, postgres and mysql drivers.<br/>
Returns: a <a href="#cursor_object">cursor object</a>
if there are results, or the number of rows affected by the command otherwise.</dd>

Expand Down
Loading