PHP Classes

PHP MongoDB Collection: Find, insert, delete, update MongoDB collections

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 257 All time: 7,818 This week: 238Up
Version License PHP version Categories
mongodb 1GNU General Publi...5.0PHP 5, Databases


This class can find, insert, delete, update MongoDB collections.

It connects to a given MongoDB server and performs several operations with document of a collection with a given name. Currently it can:

- Insert a new document with given values
- Delete documents that match a condition
- Update documents that matches a condition with new values
- Find documents that match a condition and return the value of a given field
- Count documents that match a condition
- Get the maximum value of a given document field
- Get all the values of documents that match a condition and return the values of given fields

Picture of Ehsan Razm khah
Name: Ehsan Razm khah <contact>
Classes: 1 package by
Country: Germany Germany
Age: 33
All time rank: 3939212 in Germany Germany
Week rank: 389 Up15 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file dal.php Class this is Database abstract layer class for MongoDB which provides no sql databases in php.
Accessible without login Plain text file sample.php Example this is how u can use this class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,818
This week:238Up