Kyle Banker
ae202d590e
RUBY-192; Updates for Collection#ensure_index
2011-01-03 16:16:24 -05:00
Kyle Banker
6196c8728a
RUBY-206 handle wtimeout behavior on 1.7.3
2010-12-15 14:15:20 -05:00
Matthew Rathbone
d33ddfb8e0
added ensure_index
2010-11-11 16:21:23 -05:00
Kyle Banker
a2f501924e
Specify pk factory on Collection.new as a :pk option
2010-11-03 18:36:29 -04:00
Kyle Banker
68af3dbe8f
Allow the setting of safe mode globally on the Connection,
...
DB, and Collection levels. The safe mode setting will
automatically be inherited down the hierarchy Connection ->
DB -> Collection -> (insert, update, remove). This default
can be overridden at any time. Connection#safe, DB#safe, and
Collection#safe will yield the current default value.
2010-11-03 17:36:08 -04:00
Kyle Banker
bd4b6060f7
Removed deprecated DB methods
2010-10-04 12:16:40 -04:00
Kyle Banker
c7c309b00d
RUBY-158 deprecate BSON::ObjectID for BSON::ObjectId
2010-08-24 12:49:23 -04:00
Kyle Banker
9e223f4510
remove old DB#command arguments
2010-08-04 16:26:29 -04:00
Kyle Banker
f1f0c87b3b
minor: fixes for db commands with new DB#command checking response
2010-08-04 16:21:41 -04:00
Kyle Banker
065517ac29
Fixed test bug; better replication ack tests; deprecated DB#error and DB#last_status for DB#get_last_error
2010-08-02 18:19:54 -04:00
Kyle Banker
a00fb21d37
minor: better error message for DB#command
2010-07-12 14:33:52 -04:00
Kyle Banker
86c50a0555
Removed deprecated options and methods.
2010-07-12 14:31:12 -04:00
Kyle Banker
2a3c7bc34e
minor: docs
2010-07-12 13:51:40 -04:00
Rimas Silkaitis
f62e9e6732
Added helper functions to create and remove stored js functions in system.js
2010-07-03 11:24:24 -07:00
Kyle Banker
a7e2991c31
fix for boolean command response in core server 1.5.2
2010-05-31 22:52:03 -04:00
Kyle Banker
0efd1d0237
allow variable bson_ext versions
2010-05-24 11:43:02 -04:00
Kyle Banker
924a275ea3
check command response by default; better DB#command api
2010-05-18 16:17:17 -04:00
Mike Dirolf
60ffbb2706
Check for nil response in db#command and set check_response for filemd5.
...
Kyle can we make check_response default to true instead of false?
2010-05-11 13:03:47 -04:00
Kyle Banker
97ee66be02
minor: source file encoding with magic comment
2010-05-07 15:33:27 -04:00
sleverbor
ed76126a12
namespaced the OrderedHash class
2010-05-06 18:25:18 -07:00
Kyle Banker
065d97ca1c
Replication acknowledgment RUBY-126
2010-05-04 16:00:05 -04:00
Kyle Banker
55ebf36c1d
minor: removed deprecation warning for new create_index api
2010-04-28 15:16:33 -04:00
Kyle Banker
84fb41c39f
added Collection#stats and DB#stats
2010-04-06 18:29:39 -04:00
Kyle Banker
63b0dfc6c9
test fixes for move to bson gem
2010-04-05 11:07:01 -04:00
Kyle Banker
99d421d950
minor: docs
2010-03-30 13:35:36 -04:00
Kyle Banker
256c12c558
minor: docs
2010-03-30 13:33:03 -04:00
Kyle Banker
367f9b32cc
added indexing options: background, geo, dropDups, etc.
2010-03-16 15:59:26 -04:00
Kyle Banker
9dd1a5c2e3
added authentication support for copy_database
2010-03-16 13:56:30 -04:00
Kyle Banker
3a5d162a22
minor: doc fix
2010-03-02 12:24:52 -05:00
Kyle Banker
9d51f49339
minor: fix
2010-03-01 12:18:57 -05:00
Kyle Banker
85076b2684
minor: docs
2010-03-01 10:39:50 -05:00
Kyle Banker
c0e8a525bd
reauthenticate on reconnect
2010-02-25 14:58:32 -05:00
Kyle Banker
c82b61ffc9
remove deprecated methods DB#admin and DB#db_command
2010-02-24 13:40:04 -05:00
Kyle Banker
3479317098
raise exception on authentication failure
2010-02-24 13:05:45 -05:00
Kyle Banker
5dd2636634
minor: copyright update
2010-02-19 17:41:36 -05:00
Kyle Banker
98af49f465
added core doc references
2010-02-08 12:12:18 -05:00
Kyle Banker
f6e505e511
Methods for adding and removing users RUBY-89
2010-01-28 16:39:40 -05:00
Kyle Banker
5864e4c776
yard doc updates; deprecated legacy objectid byte encoding support
2010-01-13 13:11:09 -05:00
Kyle Banker
f9ec4eca1d
YARD and more specific exceptions for DB
2010-01-11 18:12:46 -05:00
Kyle Banker
3a6865e172
minor: db class cleanup
2010-01-08 19:11:49 -05:00
Kyle Banker
77df695bca
deprecated Admin class; admin method now available in DB class
2010-01-06 13:51:12 -05:00
Jay Shepherd
5ccfcf95ab
minor: document fixes
2009-12-23 11:12:46 -06: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
cdb60b378f
Fixes for 1.9.1 compatibility.
2009-11-24 16:13:14 -05:00
Kyle Banker
fcbdfdf8e4
Doc cleanup; merge cleanup
2009-11-23 16:03:33 -05:00
Kyle Banker
11a92349e9
Merged branch for initial connection pooling code
2009-11-23 15:20:05 -05:00
Kyle Banker
7890d6e146
Fixes for replica pairs.
2009-11-23 13:13:14 -05:00
Kyle Banker
12454d04ad
Fixes for replica pairs (unstable)
2009-11-20 17:48:41 -05:00
Kyle Banker
cd44c3c918
Fixed index ordering
2009-11-17 13:20:57 -05:00