mongo-ruby-driver
mongo-ruby-driver copied to clipboard
The Official MongoDB Ruby Driver
Starting with adding basic static code analysis, which will eventually satisfy a few parts of the SSDLC initiative.
This isn't the complete solution (yet), but this is a step towards it. The `Mongo::Session` class was previously setting the session instance's `@client` variable to `client.use(:admin)` for some reason. I...
Hi! While investigating an issue in an application I'm working on I discovered that trying to insert a document containing `'_id' => nil` will raise the following exception: ``` .../lib/mongo/operation/result.rb:364:in...
Hi I faced problem on my script I saw warnings: /var/lib/gems/2.7.0/gems/mongo-2.19.1/lib/mongo/server.rb:658: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/mongo-2.19.1/lib/mongo/server/description.rb:220:...
This PR adds a simple warning log message if compression is not enabled. It also adds an option `warn_compression_disabled` which can be set to false to silence the message. This...