commit method
Commit the transaction
Implementation
@override
Future<void> commit() async {
_checkActive();
try {
await _connection.execute('COMMIT');
_isCommitted = true;
_isActive = false;
} catch (e) {
throw AdapterError(
'Failed to commit transaction: ${e.toString()}',
originalError: e,
);
}
}