To retrieve results a chunk at a time, use dbSendQuery
,
dbFetch
, then ClearResult
. Alternatively, if you want all the
results (and they'll fit in memory) use dbGetQuery
which sends,
fetches and clears for you.
1 2 3 4 5 6 7 8 9 10 11 |
conn |
An existing |
statement |
The SQL which you want to run |
... |
Other parameters passed on to methods |
res |
An object of class |
n |
Number of rows to return. If less than zero returns all rows. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.