I am trying to update a key of a DictField using monogoengine update_one() method. what should the set__field be?
Articles.objects(id=request.data['id']).update_one()
for the field
something{'to_be_updated_key' : false}
I am trying to update a key of a DictField using monogoengine update_one() method. what should the set__field be?
Articles.objects(id=request.data['id']).update_one()
for the field
something{'to_be_updated_key' : false}
Copyright © 2021 Jogjafile Inc.
Syntax should be
set__{dictfield_name}__{key}
: