Skip to content

Latest commit

 

History

History
93 lines (45 loc) · 1.32 KB

cursor.md

File metadata and controls

93 lines (45 loc) · 1.32 KB

cursor

cursor Object

An object representing an ODBC cursor.

Methods

cursor.close

close() Closes the cursor

Comments

This method does nothing!! I presume it should!?!?!

cursor.execute

int = execute(sql, [var, ...]

) Execute some SQL

Parameters

  • sql : string

    The SQL to execute

  • [var, ...]=[] : sequence

    Input variables.

cursor.fetchall

[data, ...] = fetchall() Fetch all rows of data

cursor.fetchmany

[data, ...] = fetchmany() Fetch many rows of data

cursor.fetchone

data = fetchone() Fetch one row of data

cursor.setinputsizes

setinputsizes()

cursor.setoutputsize

setoutputsize()