const char * GetColumnRawData(int whichColumn)
bool RollbackTransaction()
static vtkPostgreSQLQuery * New()
maintain a connection to a PostgreSQL database
bool BeginTransaction()
Begin, abort (roll back), or commit a transaction.
const char * GetLastErrorText()
Get the last error text from the query.
bool HasError()
Return true if there is an error on the current query.
virtual vtkStdString EscapeString(vtkStdString s, bool addSurroundingQuotes=true)
Escape a string for inclusion into an SQL query.
vtkSQLQuery implementation for PostgreSQL databases
void DeleteQueryResults()
bool TransactionInProgress
int GetFieldType(int i)
Return the type of the field, using the constants defined in vtkType.h.
const char * GetFieldName(int i)
Return the name of the specified query field.
vtkPostgreSQLQueryPrivate * QueryInternals
int GetNumberOfRows()
Unlike some databases, Postgres can tell you right away how many rows are in the results of your quer...
vtkVariant DataValue(vtkIdType c)
Return data in current row, field c.
friend class vtkPostgreSQLQuery
bool IsColumnBinary(int whichColumn)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool NextRow()
Advance row, return false if past end.
int GetNumberOfFields()
The number of fields in the query result.