StaticdeleteStaticfindDocuments in collection matching query.
StaticfindOne document by Mongo _id, or null.
StaticisWhether the Mongo connection is live (the no-op-when-offline guard).
StaticsaveUpsert doc into collection; returns its id.
Delete the document with
idfromcollection.