Preset recordset record count.
dbRecordCount = -1(Def) | n | 0
| Keyword | Description |
|---|---|
| -1 | Fetch bottom and shows start-End:Total (Expensive but informative) |
| n | User control of total records. |
| 0 | Do not fetch bottom and only shows total when hit bottom (as dbExpress=true in Classic ASP). This setting is highly recommended when working with larger DB. |
Setup the record count so Tornado does not have to do that. This would speed up the application a lot. If you know the recount count ahead of time, do use this option to pre-set the count. If value =-1 then Tornado will go and retrieve the actual count of the recordset (expensive operation). The only time you can do that is that the data source you are working with is static or you are in a demo mode. Default in Tornado is now (-1 = Fetch bottom).
dbRecordCount = 123