1DB.execPrepared(3kaya) Kaya module reference DB.execPrepared(3kaya)
2
3
4
6 DB::execPrepared - Execute a prepared statement
7
9 DBResult execPrepared( DBStatement<a> statement, [Maybe<String> ]
10 params )
11
13 statement The prepared database statement
14
15 params A list of parameters to be inserted into the query. An Exception
16 may be thrown if the number of parameters does not match the expected
17 number. nothing should be used for parameters that are to be replaced
18 by NULL
19 If none of the parameters are NULL, then the other version of this
20 function may be easier to use.
21
23 Execute a prepared statement, replacing parameters as specified. A sin‐
24 gle prepared statement may be used by multiple execPrepared functions,
25 which increases efficiency.
26
28 Kaya standard library by Edwin Brady, Chris Morris and others
29 (kaya@kayalang.org). For further information see http://kayalang.org/
30
32 The Kaya standard library is free software; you can redistribute it
33 and/or modify it under the terms of the GNU Lesser General Public
34 License (version 2.1 or any later version) as published by the Free
35 Software Foundation.
36
38 DB.DBResult (3kaya)
39 DB.DBStatement (3kaya)
40 DB.exec (3kaya)
41 DB.execPrepared_1 (3kaya)
42 DB.incExecPrepared (3kaya)
43 DB.prepare (3kaya)
44
45
46
47Kaya December 2010 DB.execPrepared(3kaya)