[vtkusers] vtkSQLDatabaseTableSource.update()

Matthew Green babygguy at gmail.com
Sat Mar 17 00:16:22 EDT 2012


Hi,

Does vtkSQLDatabaseTableSource have the ability to update
and re-execute the sql query?

<code>

vtkTable* table;
VTK_CREATE( vtkSQLDatabaseTableSource, databaseTable );
databaseTable->SetURL("sqlite://database.db");
databaseTable->SetQuery("SELECT * FROM MYTABLE");

table = databaseTable->GetOutput();
table->Update();
table->Dump();

//add values to table

table->Update();
table->Dump();
//does not contain the new values

</code>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120317/98aa4fb9/attachment.htm>


More information about the vtkusers mailing list