習慣沉默2017-06-16 09:21:03
_id is automatically generated by mongodb if you do not set it, or you can directly give a value, but as for the renaming mentioned by lz, it seems that it is not possible.
怪我咯2017-06-16 09:21:03
Renaming is not possible. If you really want to change the _id, you can try to create a new data and specify the _id, then copy the original data and delete the original data.