:mod: `k_ctds` Cursor ====== .. autoclass:: k_ctds.Cursor :members: :special-members: String Representation --------------------- ``repr(cursor)`` shows whether the cursor is open or closed, and the column count when a result set is active: .. code-block:: pycon >>> cursor = conn.cursor() >>> repr(cursor) '' >>> cursor.execute('SELECT 1 AS a, 2 AS b') >>> repr(cursor) '' >>> cursor.close() >>> repr(cursor) '' .. versionadded:: 2.1.0