.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "DB.execPrepared" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" DB::execPrepared \- Execute a prepared statement .SH "SYNOPSIS" .B DBResult execPrepared( \fIDBStatement statement, [Maybe ] params\fP .B ")" .SH "ARGUMENTS" .PP .B "statement" The prepared database statement .PP .B "params" A list of parameters to be inserted into the query. An Exception may be thrown if the number of parameters does not match the expected number. \fBnothing \fP should be used for parameters that are to be replaced by \fBNULL \fP If none of the parameters are NULL, then the other version of this function may be easier to use. .SH "DESCRIPTION" .PP Execute a prepared statement, replacing parameters as specified. A single prepared statement may be used by multiple \fBexecPrepared \fP functions, which increases efficiency. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "DB.DBResult"(3kaya) .PP .B "DB.DBStatement"(3kaya) .PP .B "DB.exec"(3kaya) .PP .B "DB.execPrepared_1"(3kaya) .PP .B "DB.incExecPrepared"(3kaya) .PP .B "DB.prepare"(3kaya) .PD 0.4v