Document Insertion into a collection

I’m having doubt with respect to inserting document to a collection…It showed WriteResult as ‘1’ but still i couldn’t find that document in collection.Please tell me what could be the issue?

If it showed WriteResult:1, then a document has been written somewhere, so most likely you are NOT looking at the same place where it has been written or you are using a query that does not match your new document.

Share you connection string.

Share the code you used to insert the document.

Post a screenshot of what ever tool you use to see the document.

Thank you so much Steeve for answering. Sadly, I don’t have the screenshot. But will try it out once! :slight_smile: