mongorpc-dart

mongorpc client for flutter

import 'package:mongorpc/mongorpc.dart';

Future<void> main(List<String> args) async {
  var options = ChannelOptions(credentials: ChannelCredentials.insecure());
  var client = await mongorpc("localhost", port: 1203, options: options);

  var database = client.database("sample_mflix");
  var collection = database.collection("movies");

  var documents = await collection
      .documents()
      .limit(10)
      .sort(by: "title")
      .where("title", isEqualTo: "Blacksmith Scene")
      .get();
  print(documents);
}

Libraries

admin.pb
admin.pbenum
admin.pbgrpc
admin.pbjson
mongorpc
mongorpc
mongorpc
mongorpc
mongorpc
mongorpc
mongorpc
mongorpc
mongorpc.pb
mongorpc.pbenum
mongorpc.pbgrpc
mongorpc.pbjson
value.pb
value.pbenum
value.pbjson