why nodebb database has objectid and incremental id together?
-
Isnt it waste of memory that it has both of them?
Can't objectid (which is default by mongodb) be deleted since it already has unique ids like uid, pid, tid and so on? -
Pretty sure objectid is built into mongo and you can't remove it. I'm no expert though.
-
I tried but objectid could be replaced if _id was replaced with any type like integer which is same type as incremental ids.
Copyright © 2024 NodeBB | Contributors