Tag Archives: MongoDB

SQL to Mongo Mapping Chart

This is a PHP-specific version of the » SQL to Mongo mapping chart in the main docs. SQL Statement Mongo Query Language Statement CREATE TABLE USERS (a Number, b Number) Implicit or use MongoDB::createCollection(). INSERT INTO USERS VALUES(1,1) $db->users->insert(array(“a” => 1, “b” => 1)); … Continue reading

Posted in MongoDB, PHP | Tagged , , | Leave a comment