Category Archives: MongoDB

MongoDB: importing dev data

My data exists in a file as a giant JSON array. [ {DOC1},{DOC2},{DOC3} ] I’m changing parameters and data as I develop so needed a way to import data that would also drop whatever data was in the collection already. … Continue reading

Posted in MongoDB | Tagged , , , | Leave a comment

MongoDB: Query an Array of Documents

Felt that it wasn’t very apparent how to do to do a query of array of objects (documents). Maybe because I used the wrong terminology when searching. I searched an array of object as oppose to array of documents. To … Continue reading

Posted in MongoDB | Tagged , , , , | Leave a comment