用python向MongoDB插入時間字段

import pymongo from dateutil import parser dateStr = "2019-05-14 01:11:11" myDatetime = parser.parse(dateStr) client = pymongo.MongoClient(host="127.0.0.1", port=27017) db = client["test"] db.ceshi.in
相關文章
相關標籤/搜索