Creates an iterator that returns a table of rows from a SELECT - keyed by name
Creates an iterator that returns the successive rows selected by the SQL statement given in string sql. Each call to the iterator returns a table in which the named fields correspond to the columns in the database. Here is an example:
See Also ...
context:aggregate_count - Returns the number of calls to the aggregate step function.
(Help topic: lua=db:nrows)
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )