deleteDocument static method

Future deleteDocument({
  1. required String collectionName,
  2. required String databaseName,
  3. required dynamic filter,
})

Implementation

static Future deleteDocument(
    {required String collectionName,
    required String databaseName,
    required dynamic filter}) async {
  return await FlutterMongoStitchPlatform.instance.deleteDocument(
    collectionName: collectionName,
    databaseName: databaseName,
    filter: filter,
  );
}