mysql.dart
mysql.dart copied to clipboard
isNotEmpty and isEmpty Not Working appropriately
Hi,
isNotEmpty and isEmpty do not work correctly, only if we insert a print beforehand.
Ex.:
--- Open connection ...
final IResultSet result = await conn.execute('SELECT field FROM table;');
// Here! If I don't put the print, it doesn't enter isNotEmpty, remembering that the table is not empty. debugPrint('anything');
If (result.isNotEmpty) { ... } else { ... }