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
abf5b7f8f0
Comment. Removed unneeded require.
2009-01-14 15:36:17 -05:00
Jim Menard
fce980fc47
Fixed $hint and $explain support.
2009-01-14 10:42:56 -05:00
Jim Menard
2bde6b4029
Comment about accepting a string order_by value.
2009-01-07 10:10:51 -05:00
Jim Menard
26b88efd3b
Bug fixes:
...
- Make sure Query#fields returns a hash, not an array.
- Fix query limit by passing limit number to cursor and having it enforce the
limit. (Database returns limit as first batch, but will continue to return
data after the limit if requested.)
Improvements:
- Query#new can take a single field name instead of an array
- A few doc comment improvements here and there.
2009-01-07 09:46:30 -05:00
Jim Menard
b6a515f870
Add docs about order_by Hash/OrderedHash
2009-01-06 16:52:29 -05:00
Jim Menard
f709bc6290
Updated copyright dates.
2009-01-06 10:51:01 -05:00
Jim Menard
95e75995f6
Doc tweaks
2008-12-17 11:49:06 -05:00
Jim Menard
aee3ae2c9d
More documentation
2008-12-17 11:43:08 -05:00
Jim Menard
a181a9415e
Added ObjectID class. Fixed BSON object serialization bug. db.count now works.
2008-12-01 20:01:13 -05:00
Jim Menard
5e3815bf69
first commit
2008-11-21 20:00:51 -05:00