I have this change set:
change_set = {'name': 'bso save job again', 'location': 'new york city', 'expires': '2020-04-04', 'created': '2020-03-05'}
with this id (i'm not creating this id, it is actually from an earlier save):
id = '5e6107ddfef5aa3c2e3647b2'
I'm trying to do this:
result = dbjobs.update_one({'_id': id}, {'$set': change_set})
my result.raw_result is this:
{'n': 0, 'nModified': 0, 'ok': 1.0, 'updatedExisting': False}
Its not throwing an error, I'm just getting zero change. Am I updating wrong?