replaceOne method
PUT /{version}/database/collections/{collectionName}/{id}/replace
Implementation
Future<Object?> replaceOne(
{required Object collectionName,
required Object id,
Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route: '/{version}/database/collections/{collectionName}/{id}/replace',
method: 'PUT',
query: query,
body: body,
headers: headers,
pathParams: <String, Object?>{'collectionName': collectionName, 'id': id},
);
}