findFirstDocument static method
Future
findFirstDocument(
{ - required String collectionName,
- required String databaseName,
- required dynamic filter,
- String? projection,
})
Implementation
static Future findFirstDocument(
{required String collectionName,
required String databaseName,
required dynamic filter,
String? projection}) async {
return await FlutterMongoStitchPlatform.instance.findFirstDocument(
collectionName: collectionName,
databaseName: databaseName,
filter: filter,
projection: projection ?? null,
);
}