aqueduct
aqueduct copied to clipboard
MongoDB with Aqueduct
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