You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sj.StreamedResults streamedResults = await _connection.execute(stStr);
List<sj.Row> rows = await streamedResults.toList();
List<sj.Field> fields = streamedResults.fields;
var theKey, theValue;
var mapList = <Map>[];
for (var arow in rows) {
var mapData = Map();
for (int i = 0; i < fields.length; i++) {
theKey = fields[i].name;
theValue = arow[i];
mapData[theKey] = theValue;
}
mapList.add(mapData);
}
return mapList;
}
The text was updated successfully, but these errors were encountered:
Adenosperma1
changed the title
jaguar_query_sqljocky-2.2.4/adapter.dart, find(Find st) method returns wrong type
jaguar_query_sqljocky-2.2.4/adapter.dart - find(Find st) method returns wrong type
Mar 31, 2020
Method: Future<List> find(Find st)
Error: A value of type 'StreamedResults' can't be assigned to a variable of type 'Results'.
Fix?:
Future<List> find(Find st) async {
String stStr = composeFind(st);
}
The text was updated successfully, but these errors were encountered: