So mongodb automatically generates the unique IDs for documents and I guess generating and adding an other ID would only make it slower but how do frontend apps show ID like /user/detail/1? Do they somehow query the mongodb with the actual ID and do something to show the url like that or does each item has some incremental ID like that set for each document? Hope someone here could clear that up.
Submitted June 03, 2019 at 12:07PM by sum__sleples
No comments:
Post a Comment