Ok, so if I understand it correctly - we need to persist the db connections state, or else have to make db calls every time for each operation ?
For now, am using it without the additional decorator - @provide_db_connection.
Secondly, the logic of pagination isn’t seem to be working in my case. It displays just 1000 records but clicking on + sign or manually entering 2 or 3 page# nothing happens and doesn’t show next set of records.
So may be for pagination as well - per this article - Preserving state across sidebar pages ; we need to persist the session state for it to work properly ?
Thanks!