how to migrate data from mysql query data to mongodb collection in python.
example:- i have two mysql query.1.select * from calls where id=4.
2.select * from campaign.
i have to migrate the output of thesee sql to mongodb collection like campaign and calls.