Category: Utility Classes

Q: 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:


Does Cakephp has utility class for mongodb or objectIds? 

mongodb objectid
0 Answers

Version: 3

No answers yet!

The community needs your help!

Post your Answer

Created: 9 Oct '16

Last Reply: None

Replies: 0

Views: 2018

Votes: 0

Welcome to Aero Coding!

Aero Coding is a CakePHP-focused Q&A community for professional and enthusiast cake bakers. It's built and run by you as part of the community.

Join Now Tour

Download Cakephp

Start baking your own CakePHP application!

Cakephp All Versions