Tag Archives: MongoDB

MongoDB query examples

To not keep some Mongo queries in my own memory, I note them here.

With Javascript evaluation in condition

Javascript evaluation is slow. Don’t forget “==” and “this” in condition clause:

Continue reading

Install MongoDB on Ubuntu

I extracted some pieces from a good tutorial from official site: http://docs.mongodb.org/manual/tutorial/ adopted for my tasks.

Install on Ubuntu 14.04 Trusty

Import MongoDB public key:

Continue reading