I’ve been trying del rows[5]
but was not successful. How can I do it?
The search iterator is connected to the database rows.
If you want to decouple that object from your database, I believe you must cast the search iterator to a list of dictionaries, then you can treat it as a Python list.
Please see this recent post about casting:
For example,
# on the server
my_list=[dict(r) for r in app_tables.my_table.search()]
3 Likes
So I got an answer to my question after only 8 minutes. Amazing how helpful people around here are! Thank you, @alcampopiano !
1 Like
I have said that myself many times. Good luck with your project.
1 Like