Karl Seguin
7783cebfdf
batch_size is taken into account when limit is 0/not set
2011-06-16 22:21:40 +08:00
Wojciech Piekutowski
5dfac28dd4
Fix Mongo::Cursor#query_options_hash
2011-02-20 16:22:39 +01:00
Wojciech Piekutowski
2644d2b27d
Mock and initialize logger
2011-02-20 16:04:01 +01:00
Kyle Banker
7309d7e48b
Path fixes for test in Ruby 1.9.2
2010-09-09 15:58:51 -04:00
Kyle Banker
300b442a94
Create logging message only when a logger is passed to the Connection.
...
Results in a pretty significant performance improvement.
Many thanks to Matt Taylor for noticing the unusual glut of calls
to ObjectId#to_s. See here: http://unhalting.com/?p=18
2010-09-08 14:27:27 -04:00
Kyle Banker
c9573f05ad
minor: fix default timeout option
2010-07-16 14:04:13 -04:00
Kyle Banker
86c50a0555
Removed deprecated options and methods.
2010-07-12 14:31:12 -04:00
Houdini
33f4aca658
More flexible :fields option, supporting {}
...
This allows exact definition of the fields you want included in the query results. For example :fields => {:name => 1, :people => 0} will include the name key but exclude the people key.
2010-03-26 13:58:18 -07:00
Kyle Banker
89fe06250e
re-require shoulda; gridfs decoupling
2010-02-22 15:49:04 -05:00
Kyle Banker
54a68c7438
minor: removed shoulda dependency
2010-02-19 19:17:38 -05:00
Kyle Banker
f8a6d1ebb9
minor: docs, whitespace, naming
2009-12-16 14:16:49 -05:00
Kyle Banker
11a92349e9
Merged branch for initial connection pooling code
2009-11-23 15:20:05 -05:00
Cyril Mougel
bffc59ffb4
fix test on cursor
2009-10-23 23:30:30 +02:00
Kyle Banker
67b7f6b375
Refactored Query class into Cursor class.
2009-10-22 14:10:12 -04:00