Kyle Banker
|
a698415fa5
|
minor: fixed sort api to allow a single key / direction pair to be specified as an array
|
2009-12-28 13:43:20 -05:00 |
Kyle Banker
|
7655a2c424
|
deprecated Cursor#next_object for Cursor#next_document
|
2009-12-16 18:09:48 -05:00 |
Kyle Banker
|
f8a6d1ebb9
|
minor: docs, whitespace, naming
|
2009-12-16 14:16:49 -05:00 |
Kyle Banker
|
05b5fc576b
|
Cleanup w/r/t loading c ext and testing it
|
2009-12-01 13:49:57 -05:00 |
Kyle Banker
|
11a92349e9
|
Merged branch for initial connection pooling code
|
2009-11-23 15:20:05 -05:00 |
Kyle Banker
|
5c6f53e408
|
Added server version checking. Updated tests for compatibility > 1.1.3
|
2009-10-26 14:54:33 -04:00 |
Kyle Banker
|
e40d9cec3c
|
Deprecated Collection#clear in favor of Collection#remove. Introduced shoulda and mocha for upcoming tests.
|
2009-10-20 11:31:07 -04:00 |
Mike Dirolf
|
4fdcad1327
|
cleanup and credits
|
2009-10-08 10:05:06 -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 |
Mike Dirolf
|
70c23e2d32
|
deprecate :offset option to find in favor of :skip
|
2009-09-17 16:45:03 -04:00 |
Mike Dirolf
|
f41b48a51b
|
minor: tweaks and some more test cases
|
2009-09-17 15:07:37 -04:00 |
mbernstein
|
d1e45fdb1a
|
casting input from sort method as ordered hash, tweaking tests a bit
|
2009-09-17 15:07:36 -04:00 |
mbernstein
|
bdafae6eeb
|
Added sort() method to Cursor Class, with tests and docs.
|
2009-09-17 15:07:36 -04:00 |
Mike Dirolf
|
3321a90739
|
remove redundant num_to_return from Cursor class. credits. clean up last commit
|
2009-09-16 17:52:41 -04:00 |
Kyle Banker
|
c397758d1d
|
Added #limit and #offset methods for cursor objects
Signed-off-by: Mike Dirolf <mike@dirolf.com>
|
2009-09-17 05:38:00 +08:00 |
Mike Dirolf
|
496af2be9c
|
fix for count when find has fields specified
|
2009-08-24 17:21:49 -04:00 |
Mike Dirolf
|
94fe53d96b
|
DEPRECATE Mongo::Mongo in favor of Mongo::Connection
|
2009-08-20 18:48:09 -04: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
|
66e8d1a13b
|
Collection#find takes an optional block to ensure cursors get closed. Some doc updates for find
|
2009-08-19 11:51:30 -04:00 |
Mike Dirolf
|
dcda70fddd
|
don't send a getmore immediately after every query
|
2009-08-18 17:36:53 -04:00 |
Mike Dirolf
|
103224b800
|
add Cursor#count method
|
2009-08-18 11:26:58 -04:00 |
Mike Dirolf
|
fc49e8c982
|
move tests -> test
|
2009-08-18 10:07:01 -04:00 |