zim32 / mysql.dart

MySQL client for Dart written in Dart
BSD 3-Clause "New" or "Revised" License
64 stars 17 forks source link

is transaction running? #51

Open ChristophKe opened 1 year ago

ChristophKe commented 1 year ago

I need to know if a transaction is already running for a connection. In the "transactional"-method of MySQLConnection I saw, that internal this information is available. I would apreciate a getter for this information.

bool inTransaction = myConnection.isInTransaction();