getAutoCommit method

  1. @override
Future<bool> getAutoCommit()
override

Returns true if auto-commit is enabled. This means the database is not currently in a transaction. This may be true even if a transaction lock is still held, when the transaction has been committed or rolled back.

Implementation

@override
Future<bool> getAutoCommit() async {
  return db.autocommit;
}