I try to create an ISODATE in pymongo without using datetime module. But unfortunately, I didn't reach my goal.
db.cesars.update_one({"titre":"Maman(s)"},{"$set":{"genre":"Court métrage",
"date_sortie":"new Date('2015-08-28')"},"$setOnInsert":{"évaluations":[]}},True)
Actually I wanted that created an ISODATE but this update leads me to have an string instead of ISODATE object for "date_sortie".
Can someone help me please ?
Thank you