Kyle Banker
c6d4150a51
Added option to disable cursor timeout on Collection#find when #find is invoked with a block.
2009-10-14 14:38:44 -04:00
Mike Dirolf
4fdcad1327
cleanup and credits
2009-10-08 10:05:06 -04:00
Durran Jordan
20f65039f3
Updating sorting to new syntax
2009-10-08 10:03:19 -04:00
Mike Dirolf
de6fef357b
driver was sending hard limits where it should've sent soft, and vice-versa. fix and add tests for this
2009-09-30 10:49:08 -04:00
Cyril Mougel
5860333ed4
improve logger and fix all test with logging system
2009-09-11 00:02:03 +02:00
Mike Dirolf
e65dd99667
API CHANGE: moving XGen::Mongo::Driver and XGen::Mongo to Mongo and XGen::Mongo::GridFS to GridFS
2009-08-20 10:50:48 -04:00
Mike Dirolf
4963da9e89
add support for snapshot option to Collection#find
2009-08-11 11:42:34 -04:00
Geir Magnusson Jr
232a7f7169
Clarify license to be the Apache License v2.0. Was a
...
mix and the readme still reflected AGPL
2009-02-15 08:24:14 -05:00
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
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