Creates an iterator that returns a table of rows from a SELECT - numerically keyed
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 numerical indices 1 to n correspond to the selected columns 1 to n 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:rows)
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 )