Closed cubap closed 3 years ago
db.alpha.updateMany(
{ '@id': { $regex: /img01-v1/ } },
[{
$set: { '@id': {
$replaceOne: { input: "$@id", find: "img01-v1", replacement: "v1" }
}}
}]
)
This command was run twice (minor adjustments) to clean up the @id
field. It was quick to queue and cleared in about 5 seconds.
The
@id
of things in theannotationStoreDev
database had 26k records with the "img01-v1" path in the@id
for some reason.