aqueduct icon indicating copy to clipboard operation
aqueduct copied to clipboard

MongoDB with Aqueduct

Open note8g2018 opened this issue 5 years ago • 0 comments

hi, I am using MongoDB with Aqueduct and I want to Stream the data to the client side? How? I did like the following but I get error:

Stream<Map<String, dynamic>> myStream = cursor.collection.find({});
return Response.ok(myStream);

and by the way Do you have discord server? I got this error:

[SEVERE] aqueduct: POST /articleAll 2893ms 500 {user-agent : Dart/2.8 (dart:io)\naccept-encoding : gzip\ncontent-length : 0\nhost : 192.168.1.100:8888\n}  type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast #0

note8g2018 avatar Jul 22 '20 04:07 note8g2018