updateDocument static method

Future updateDocument({
  1. required String collectionName,
  2. required String databaseName,
  3. required String filter,
  4. required String update,
})

Implementation

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