HomeMogDBMogDB StackUqbar
v2.1

Documentation:v2.1

Supported Versions:

Other Versions:

connection.cursor()

Function

This method returns a new cursor object.

Prototype

cursor(name=None, cursor_factory=None, scrollable=None, withhold=False)

Parameter

Table 1 connection.cursor parameters

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 Example: Common Operations.

Copyright © 2011-2024 www.enmotech.com All rights reserved.