Commit Graph

11 Commits

Author SHA1 Message Date
Jim Menard 5aa7202a78 Hard limit values are negative. 2009-02-10 13:04:19 -05:00
Jim Menard 6532dd7d9b Hints are now BSON objects (probably ordered hashes) instead of arrays. Also make sure index exists for hint field in test. 2009-01-30 14:35:22 -05:00
Jim Menard b3bc2c41e2 Moved hint call from Cursor into Collection#find options and Query#initialize
parameter.
2009-01-29 07:15:59 -05:00
Jim Menard fc1e384e50 QueryMessage now handles hashes inside sort array properly. 2009-01-15 12:33:20 -05:00
Jim Menard fce980fc47 Fixed $hint and $explain support. 2009-01-14 10:42:56 -05:00
Jim Menard 1afd968f5d Added Cursor#explain. Made query sends lazy. 2009-01-13 14:02:16 -05:00
Jim Menard 9446d50145 Use ordered has for orderby in QueryMessage. Accept a single string for the order_by value. 2009-01-07 10:09:19 -05:00
Jim Menard eaacc62086 Make sure Message request id ivar matches value put into buffer. 2009-01-04 10:02:32 -05:00
Jim Menard 89d8076d11 Support for sorting. 2008-12-09 15:06:35 -05:00
Jim Menard 7669900126 Lots of fixes.
- Introduced OrderedHash because db commands require that the command key be
  first.
- Fixed BSON (de)serialization of object ids.
- Simplified @coll.drop_indexes.
- Renamed some method parameters to make their type more clear (for example,
  "collection" became "collection_name").
- Got the index_information test working.
2008-12-08 11:38:42 -05:00
Jim Menard 5e3815bf69 first commit 2008-11-21 20:00:51 -05:00