.\" 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.incExec" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" DB::incExec \- Execute an incremental query .SH "SYNOPSIS" .B DBIncResult incExec( \fIDBHandle con, String query\fP .B ")" .SH "DESCRIPTION" .PP Execute a query with the given connection handle for incremental retrieval of results. Results are then retrieved one row at a time using .B "DB.getRow"(3kaya) Once you have finished with the query you must call .B "DB.incDiscard"(3kaya) to discard any remaining rows. .IP "" -4 res = incExec(conn,"SELECT id,name FROM People"); row = getRow(res); // row[0] = DBInt(id) // row[1] = DBText(name) incDiscard(res); .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.DBHandle"(3kaya) .PP .B "DB.DBIncResult"(3kaya) .PP .B "DB.DBValue"(3kaya) .PP .B "DB.exec"(3kaya) .PP .B "DB.getRow"(3kaya) .PP .B "DB.incDiscard"(3kaya) .PD 0.4v