8000 GitHub - gomkandi-ui/Mongodloid: Mongo DB PHP Layer · GitHub
[go: up one dir, main page]

Skip to content

About

Mongo DB PHP Layer

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Mongodloid

MongoDB PHP Layer used by BillRun

http://billrun.net

Auto-Increment

The library support auto increment feature which is useful on sharded environment.

Please check createAutoInc method in Entity and Collection classes for simple usage.

The dependency for this feature is to create the next collection with the unique indexes:
db.createCollection('counters');
db.counters.ensureIndex({coll: 1, seq: 1}, { unique: true, sparse: false, background: true});
db.counters.ensureIndex({coll: 1, oid: 1}, { unique: true, sparse: false, background: true});

LICENSE

GPL-v2 and above

About

Mongo DB PHP Layer

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0