NAME¶
DB::execPrepared - Execute a prepared statement
SYNOPSIS¶
DBResult execPrepared( DBStatement<a> statement,
[Maybe<String> ] params )
ARGUMENTS¶
statement The prepared database statement
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.
nothing should be used for parameters that are to be replaced by
NULL
If none of the parameters are NULL, then the other version of this function may
be easier to use.
DESCRIPTION¶
Execute a prepared statement, replacing parameters as specified. A single
prepared statement may be used by multiple
execPrepared functions,
which increases efficiency.
AUTHORS¶
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). For further information see
http://kayalang.org/
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.
DB.DBResult (3kaya)
DB.DBStatement (3kaya)
DB.exec (3kaya)
DB.execPrepared_1 (3kaya)
DB.incExecPrepared (3kaya)
DB.prepare (3kaya)