Category: Utility Classes

Cakephp generating mongodb-liked objectId (based on time, machine, pid, and counter)?

I am thinking about generating objectId (mongoDB-liked) in Cakephp that based on time, machine, pid, and counter. I need this objectId for creating documents. An objectId is probably:SectionDigitstime

#mongodb #objectid
0 Answers