Browsing the blog archives for May, 2012

Quick Tip: $size things up to $type

in Querying, Quick Tip

TweetThere are a number of quarky little MongoDB commands and queries hidden in the docs, two of them are $size and $type. Does it really matter? $size that is … The $size operator matches any array with the specified number of elements. The basic use would be something like … > db.ideas.find( { votes : { $size: 2 } [...]


Easily Move Documents Between Collections or Databases

in Administration, Querying

TweetDoes this senario sound familiar? The good news: your new super amazing mashup is becoming super popular, its getting featured on tech blogs and podcasts w00t! You’ve used MongoDB for your database backed and so things have been scaling pretty well, and your analytics you have been tracking are really adding up, like millions and millions [...]

1 Comment