October 2017
Intermediate to advanced
226 pages
6h 56m
English
> db.mockdata.dropIndexes(){ "nIndexesWas" : 2, "msg" : "non-_id indexes dropped for collection", "ok" : 1 }
for x in $(seq 20); do mongoimport --headerline --type=csv -d mydb -c mockdata -h localhost chapter_2_mock_data.csv;done
> db.mockdata.createIndex({city:1, first_name:1, last_name:1})
Read now
Unlock full access