Joe Harry wrote:Referring to the mongoDB in Action book...
What is a slug in the above document? It sounds like a unique Id. But how do I ensure uniqueness with a slug field when say I have around a million documents?
Joe Harry wrote:Is everything a String in mongoDB? Can't I use long datatype for my Id?