Module: EM::Mongo
- Defined in:
- lib/em-mongo/cursor.rb,
lib/em-mongo/prev.rb,
lib/em-mongo/support.rb,
lib/em-mongo/database.rb,
lib/em-mongo/auth/scram.rb,
lib/em-mongo/collection.rb,
lib/em-mongo/connection.rb,
lib/em-mongo/exceptions.rb,
lib/em-mongo/conversions.rb,
lib/em-mongo/auth/mongodb_cr.rb,
lib/em-mongo/server_response.rb,
lib/em-mongo/request_response.rb,
lib/em-mongo/auth/Authentication.rb,
lib/em-mongo.rb
Overview
interface for all possible authentications
Defined Under Namespace
Modules: Conversions, Support Classes: Authentication, AuthenticationError, Collection, ConfigurationError, Connection, ConnectionError, ConnectionFailure, ConnectionTimeoutError, Cursor, Database, EMConnection, GridError, GridFileNotFound, GridMD5Failure, InvalidNSName, InvalidOperation, InvalidSortValueError, MONGODB_CR, MongoArgumentError, MongoDBError, MongoRubyError, OperationFailure, OperationTimeout, ReplicaSetConnectionError, RequestResponse, SCRAM, ServerResponse
Constant Summary collapse
- DEFAULT_IP =
"127.0.0.1"
- DEFAULT_PORT =
27017
- DEFAULT_DB =
"db"
- DEFAULT_NS =
"ns"
- DEFAULT_QUERY_DOCS =
101
- OP_REPLY =
1
- OP_MSG =
1000
- OP_UPDATE =
2001
- OP_INSERT =
2002
- OP_QUERY =
2004
- OP_GET_MORE =
2005
- OP_DELETE =
2006
- OP_KILL_CURSORS =
2007
- OP_QUERY_TAILABLE =
2 ** 1
- OP_QUERY_SLAVE_OK =
2 ** 2
- OP_QUERY_OPLOG_REPLAY =
2 ** 3
- OP_QUERY_NO_CURSOR_TIMEOUT =
2 ** 4
- OP_QUERY_AWAIT_DATA =
2 ** 5
- OP_QUERY_EXHAUST =
2 ** 6
- ASCENDING =
1
- DESCENDING =
-1
- FLAT2D =
'2d'
- SPHERE2D =
'2dsphere'
- GEO2D =
'2d'
- NAME =
'em-mongo'
- LIBPATH =
::File.(::File.dirname(__FILE__)) + ::File::SEPARATOR
- PATH =
::File.dirname(LIBPATH) + ::File::SEPARATOR