*
replaces document with new one, matching by _id field.
*
replaces document with new one, matching by _id field. if such document does not exists and upsert == true new document is inserted
boolean parameter
Database connection
*
replaces document with new one, matching by _id field.
*
replaces document with new one, matching by _id field. if such document does not exists and upsert == true new document is inserted
boolean parameter
Database connection