{"id":86885,"library":"em-mongo","title":"EM Mongo","description":"EventMachine driver for MongoDB, enabling asynchronous database operations.","status":"active","version":"0.6.0","language":"ruby","source_language":null,"source_url":"https://github.com/bcg/em-mongo","tags":["mongodb","eventmachine","async","database"],"install":[{"cmd":"gem install em-mongo","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'em-mongo', '~> 0.6.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"EM::Mongo","correct":"require 'em-mongo'"}],"quickstart":{"code":"require 'em-mongo'\nEM.run do\n  db = EM::Mongo::Connection.new.db('test')\n  db.collection('users').find { |res| puts res }\nend","lang":"ruby","description":"Connect to MongoDB and query a collection asynchronously."},"warnings":[{"fix":"Use EventMachine's reactor loop (EM.run) to execute MongoDB operations.","message":"Requires EventMachine; not compatible with threaded or fiber-based concurrency models.","severity":"breaking","affected_versions":">= 0.5.0"}],"env_vars":null,"search_vec":"'async':13 'asynchron':8 'databas':9,14 'driver':4 'em':1 'enabl':7 'eventmachin':3,12 'mongo':2 'mongodb':6,11 'oper':10","created_at":"2026-06-19T08:09:39.263028+00:00","updated_at":"2026-06-19T08:09:39.263028+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bcg/em-mongo","github":"https://github.com/bcg/em-mongo","docs":"http://www.rubydoc.info/gems/em-mongo/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}