mongorpc

Last updated:

0 purchases

mongorpc Image
mongorpc Images
Add to Cart

Description:

mongorpc

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);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.