Mike Dirolf
70c23e2d32
deprecate :offset option to find in favor of :skip
2009-09-17 16:45:03 -04:00
Mike Dirolf
903e7136cf
no logger by default. don't log timing because it's misleading for queries. add tests and documentation for logger
2009-09-11 12:12:24 -04:00
Cyril Mougel
a7ec07a957
implement a little logger with log time and query
2009-09-10 23:24:06 +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
Mike Dirolf
0f546eb5c5
add new code type rather than doing hacks based on field name. use code_w_scope instead of code
2009-03-12 15:34:15 -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
8ecc8cb305
Remove debug warnings.
2009-02-05 15:59:44 -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
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