MongoDB Limit Results with Ruby

This is similar to the LIMIT function of MySQL (or SQL in general):

coll.find({},{:skip => 0, :limit => 10 })

By Albert on March 3, 2010 2:31 PM

Categories: