ExtraDRM : Design Ressource Management

Web content and data design solutions

Browsing Posts tagged PHP

Shell Mongo : > mongo Once you are in terminal/command line, access the database/collection you want to use as follows: show dbs use <db name> show collections choose your collection and type the following to see all contents of that collection: db.collectionName.find() for a query below some samples : db.products.find({ “_id”: “apples”, “qty”: 5 } [...]

Nowadays there is a new kind of databases that is getting very popular, specially for Web development, including the PHP world, which are the NoSQL databases. MongoDB is not only a key/value store, it’s quite a bit more. It’s definitely not a RDBMS either. I have MongoDB used it a little building some test app [...]