Interprets the response of SQL data base and fill provided numeric table and dictionary.
More...
def addModifier |
( |
|
self, |
|
|
|
featureIds, |
|
|
|
modifier, |
|
|
|
status = None |
|
) |
| |
Adds extended feature modifier
- Parameters
-
featureIds | The identifiers of the features to be modified |
modifier | The feature modifier |
status | (optional) The pointer to status object |
- Returns
- Reference to itself
def createDictionary |
( |
|
self, |
|
|
|
hdlStmt, |
|
|
|
dictionary |
|
) |
| |
Creates a data dictionary from an ODBC statement handle
- Parameters
-
hdlStmt | ODBC statement handle that contains an SQL query |
dictionary | Dictionary to be created |
def setLimitQuery |
( |
|
self, |
|
|
|
query, |
|
|
|
idx_last_read, |
|
|
|
maxRows |
|
) |
| |
Limits the SELECT query.
- Parameters
-
query | Query to be limited |
idx_last_read | Index of the first row to read |
maxRows | Maximum number of rows to read |
- Returns
- Full limited query with the ';' symbol at the end
def statementResultsNumericTable |
( |
|
self, |
|
|
|
hdlStmt, |
|
|
|
nt, |
|
|
|
maxRows |
|
) |
| |
Executes an SQL statement from an ODBC statement handle and writes it to a Numeric Table
- Parameters
-
hdlStmt | ODBC statement handle that contains an SQL query |
nt | Numeric Table to store query results |
maxRows | Maximum number of rows that can be read |
The documentation for this class was generated from the following file: