Back
In Python, what is a database "cursor" generally like?
A method within a classA Python dictionaryA functionA file handle
I have looked on the web yet I am not getting an appropriate defense of this inquiry.
As indicated by the PEP 249 (Python Database API Specification), it is an object which is relied upon to have certain attributes and techniques characterized. Alternatively, cursors can uphold an iteration protocol.
This is however a spec, and, your database driver of a decision may not follow the API particular. Be that as it may, this is a pretty much broad response to the fairly broad inquiry.
Are you interested to learn the concepts of Python? Join the python training course fast!
31k questions
32.8k answers
501 comments
693 users