clear method
Clears component state.
correlationId
(optional) transaction id to trace execution through call chain.
Implementation
@override
Future clear(String? correlationId) async {
// Return error if collection is not set
if (this.tableName_ == null) {
throw new Exception('Table name is not defined');
}
var query = "DELETE FROM " + this.quotedTableName_();
await client_!.query(query);
}