executeString method
Implementation
Future<SqlDatabaseResult> executeString(String sql) async {
if (database is Database) {
return _executeSqliteString(database as Database, sql);
} else if (database is mysql.MySQLConnection) {
return _executeMysqlString(database as mysql.MySQLConnection, sql);
} else {
throw UnsupportedError(
'Unsupported database type: ${database.runtimeType}');
}
}