connection.cursor()
Function
This method returns a new cursor object.
Prototype
cursor(name=None, cursor_factory=None, scrollable=None, withhold=False)
Parameter
Keyword |
Description |
---|---|
name |
Cursor name. The default value is None. |
cursor_factory |
Creates a non-standard cursor. The default value is None. |
scrollable |
Sets the SCROLL option. The default value is None. |
withhold |
Sets the HOLD option. The default value is False. |
Return Value
Cursor object (used for cusors that are programmed using Python in the entire database)
Examples
For details, see Examples: Common Operations.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot