Collection _id length?


#1

Can i change meteor collection _id generation to generate a 6 char id instead of 16 char ?


#2

it’s 24 chracters

and it’s hard-coded


#3

That’s the mongo document id. Meteor ids can be generated via Random.id() and default to 17 characters. If you’re wanting a short id perhaps you can just add another field on insert like shortId and set it to Random.id(6)