*

This does not work for mysql bulk insert:-

db.person.bulk_insert([{'name':'Alex'}, {'name':'John'}, {'name':'Tim'}])

The argument has to be dictionaries and not a list of dictionaries

Someone could correct this in the documentation..
This works:-

db.newperson.bulk_insert({'name':'Alex'},{'name':'John'},{'name':'TIm'})


*

Reply via email to