odbc.read_cursor
deephaven.dbc.odbc.read_cursor converts the results of a provided cursor into a Deephaven table.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| cursor | turbodbc.cursor.Cursor | A Turbodbc cursor. Prior to it being passed in, its |
Returns
A new in-memory table.
Examples
The following example executes a SQL query on a Postgres DB and converts the result into a Deephaven table.