MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfFields

Method GetNumberOfFields

IO/PostgreSQL/vtkPostgreSQLQuery.cxx:312–321  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

310
311//------------------------------------------------------------------------------
312int vtkPostgreSQLQuery::GetNumberOfFields()
313{
314 if (!this->Active || !this->QueryInternals)
315 {
316 vtkErrorMacro("Query is not active!");
317 return 0;
318 }
319
320 return PQnfields(this->QueryInternals->QueryResults);
321}
322
323//------------------------------------------------------------------------------
324const char* vtkPostgreSQLQuery::GetFieldName(int column)

Callers 7

DataValueMethod · 0.95
GetFieldNameMethod · 0.95
GetFieldTypeMethod · 0.95
IsColumnBinaryMethod · 0.95
GetColumnRawDataMethod · 0.95
RequestDataMethod · 0.45
TestPostgreSQLDatabaseFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestPostgreSQLDatabaseFunction · 0.36