flush
boolean sqlDataManager.flush ( ) (professional and enterprise editions only)
Description
Write committed data to the database. Any data that has not been committed using either the commit or commitAll method will be lost and not written to the database.
Parameters
This method does not receive any parameters.
Return Values
Returns true data was successfully written to the database; otherwise, it returns false.
Change Log
Version | Description |
---|---|
5.0 | Available for professional and enterprise editions. |
Examples
Write to Database
// Get data manager
dm = session.getv( "DATAMANAGER" );
// Write Information to Database
dm.flush();
dm = session.getv( "DATAMANAGER" );
// Write Information to Database
dm.flush();
See Also
- commit() [SqlDataManager] - Commits a prepared row of data to the queue to be updated in the database
- commitAll() [SqlDataManager] - Commits all prepared rows of data to the queue to be updated in the database
scraper on 07/16/2010 at 5:22 pm
- Printer-friendly version
- Login or register to post comments