Module: Mongo

Defined in:
lib/mongo/uri.rb,
lib/mongo/auth.rb,
lib/mongo/event.rb,
lib/mongo/index.rb,
lib/mongo/error.rb,
lib/mongo/socket.rb,
lib/mongo/server.rb,
lib/mongo/logger.rb,
lib/mongo/client.rb,
lib/mongo/cursor.rb,
lib/mongo/grid/fs.rb,
lib/mongo/version.rb,
lib/mongo/auth/cr.rb,
lib/mongo/cluster.rb,
lib/mongo/address.rb,
lib/mongo/database.rb,
lib/mongo/loggable.rb,
lib/mongo/auth/user.rb,
lib/mongo/grid/file.rb,
lib/mongo/auth/x509.rb,
lib/mongo/auth/ldap.rb,
lib/mongo/bulk_write.rb,
lib/mongo/socket/ssl.rb,
lib/mongo/index/view.rb,
lib/mongo/socket/tcp.rb,
lib/mongo/collection.rb,
lib/mongo/auth/scram.rb,
lib/mongo/auth/roles.rb,
lib/mongo/socket/unix.rb,
lib/mongo/address/ipv4.rb,
lib/mongo/address/unix.rb,
lib/mongo/address/ipv6.rb,
lib/mongo/error/parser.rb,
lib/mongo/write_concern.rb,
lib/mongo/database/view.rb,
lib/mongo/options/mapper.rb,
lib/mongo/protocol/reply.rb,
lib/mongo/server/context.rb,
lib/mongo/server/monitor.rb,
lib/mongo/auth/user/view.rb,
lib/mongo/protocol/query.rb,
lib/mongo/server_selector.rb,
lib/mongo/grid/file/chunk.rb,
lib/mongo/protocol/delete.rb,
lib/mongo/event/publisher.rb,
lib/mongo/protocol/insert.rb,
lib/mongo/event/listeners.rb,
lib/mongo/protocol/update.rb,
lib/mongo/collection/view.rb,
lib/mongo/cluster/topology.rb,
lib/mongo/protocol/message.rb,
lib/mongo/event/subscriber.rb,
lib/mongo/operation/result.rb,
lib/mongo/error/invalid_uri.rb,
lib/mongo/protocol/get_more.rb,
lib/mongo/operation/limited.rb,
lib/mongo/server/connection.rb,
lib/mongo/operation/command.rb,
lib/mongo/server/description.rb,
lib/mongo/grid/file/metadata.rb,
lib/mongo/server/connectable.rb,
lib/mongo/error/socket_error.rb,
lib/mongo/error/invalid_file.rb,
lib/mongo/event/server_added.rb,
lib/mongo/protocol/bit_vector.rb,
lib/mongo/operation/aggregate.rb,
lib/mongo/error/invalid_nonce.rb,
lib/mongo/error/max_bson_size.rb,
lib/mongo/operation/map_reduce.rb,
lib/mongo/operation/executable.rb,
lib/mongo/protocol/serializers.rb,
lib/mongo/auth/cr/conversation.rb,
lib/mongo/event/server_removed.rb,
lib/mongo/bulk_write/updatable.rb,
lib/mongo/bulk_write/deletable.rb,
lib/mongo/operation/read/query.rb,
lib/mongo/event/primary_elected.rb,
lib/mongo/operation/specifiable.rb,
lib/mongo/bulk_write/replacable.rb,
lib/mongo/bulk_write/insertable.rb,
lib/mongo/protocol/kill_cursors.rb,
lib/mongo/operation/kill_cursors.rb,
lib/mongo/error/invalid_document.rb,
lib/mongo/operation/write/delete.rb,
lib/mongo/server/connection_pool.rb,
lib/mongo/error/bulk_write_error.rb,
lib/mongo/operation/write/insert.rb,
lib/mongo/operation/write/update.rb,
lib/mongo/auth/x509/conversation.rb,
lib/mongo/operation/read/indexes.rb,
lib/mongo/auth/ldap/conversation.rb,
lib/mongo/error/max_message_size.rb,
lib/mongo/error/multi_index_drop.rb,
lib/mongo/operation/write/idable.rb,
lib/mongo/cluster/topology/single.rb,
lib/mongo/server_selector/nearest.rb,
lib/mongo/auth/scram/conversation.rb,
lib/mongo/operation/read/get_more.rb,
lib/mongo/server_selector/primary.rb,
lib/mongo/error/operation_failure.rb,
lib/mongo/error/invalid_signature.rb,
lib/mongo/collection/view/readable.rb,
lib/mongo/cluster/topology/unknown.rb,
lib/mongo/cluster/topology/sharded.rb,
lib/mongo/collection/view/iterable.rb,
lib/mongo/error/invalid_uri_option.rb,
lib/mongo/collection/view/writable.rb,
lib/mongo/bulk_write/bulk_writable.rb,
lib/mongo/error/need_primary_server.rb,
lib/mongo/server/monitor/connection.rb,
lib/mongo/server_selector/secondary.rb,
lib/mongo/collection/view/immutable.rb,
lib/mongo/collection/view/map_reduce.rb,
lib/mongo/error/unsupported_features.rb,
lib/mongo/operation/write/drop_index.rb,
lib/mongo/server_selector/selectable.rb,
lib/mongo/error/socket_timeout_error.rb,
lib/mongo/operation/aggregate/result.rb,
lib/mongo/write_concern/normalizable.rb,
lib/mongo/operation/read_preferrable.rb,
lib/mongo/write_concern/acknowledged.rb,
lib/mongo/operation/map_reduce/result.rb,
lib/mongo/operation/read/list_indexes.rb,
lib/mongo/collection/view/aggregation.rb,
lib/mongo/operation/write/create_user.rb,
lib/mongo/error/invalid_database_name.rb,
lib/mongo/server/description/features.rb,
lib/mongo/operation/write/remove_user.rb,
lib/mongo/collection/view/explainable.rb,
lib/mongo/server/description/inspector.rb,
lib/mongo/operation/write/create_index.rb,
lib/mongo/server/connection_pool/queue.rb,
lib/mongo/error/invalid_bulk_operation.rb,
lib/mongo/cluster/topology/replica_set.rb,
lib/mongo/write_concern/unacknowledged.rb,
lib/mongo/bulk_write/ordered_bulk_write.rb,
lib/mongo/operation/write/insert/result.rb,
lib/mongo/operation/write/delete/result.rb,
lib/mongo/error/invalid_update_document.rb,
lib/mongo/error/invalid_collection_name.rb,
lib/mongo/operation/write/update/result.rb,
lib/mongo/operation/list_indexes/result.rb,
lib/mongo/operation/write/command/insert.rb,
lib/mongo/operation/write/command/update.rb,
lib/mongo/operation/write/command/delete.rb,
lib/mongo/bulk_write/unordered_bulk_write.rb,
lib/mongo/operation/read/list_collections.rb,
lib/mongo/operation/read/collections_info.rb,
lib/mongo/operation/write/bulk/bulk_delete.rb,
lib/mongo/operation/write/bulk/bulk_update.rb,
lib/mongo/operation/write/bulk/bulk_insert.rb,
lib/mongo/operation/write/command/writable.rb,
lib/mongo/operation/list_collections/result.rb,
lib/mongo/error/invalid_bulk_operation_type.rb,
lib/mongo/server_selector/primary_preferred.rb,
lib/mongo/operation/write/bulk/bulk_mergable.rb,
lib/mongo/operation/write/command/drop_index.rb,
lib/mongo/error/invalid_replacement_document.rb,
lib/mongo/server_selector/secondary_preferred.rb,
lib/mongo/operation/write/command/remove_user.rb,
lib/mongo/operation/write/command/create_user.rb,
lib/mongo/operation/write/command/create_index.rb,
lib/mongo/operation/write/bulk/bulk_update/result.rb,
lib/mongo/operation/write/bulk/bulk_delete/result.rb,
lib/mongo/operation/write/bulk/bulk_insert/result.rb,
lib/mongo/operation/write/bulk/legacy_bulk_mergable.rb,
lib/mongo/server/description/inspector/server_added.rb,
lib/mongo/server/description/inspector/server_removed.rb,
lib/mongo/server/description/inspector/primary_elected.rb

Overview

Copyright (C) 2015 MongoDB, Inc.

Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Modules: Auth, BulkWrite, Event, Grid, Index, Loggable, Operation, Options, Protocol, ServerSelector, WriteConcern Classes: Address, Client, Cluster, Collection, Cursor, Database, Error, Logger, Server, Socket, URI

Constant Summary

VERSION =

The current version of the driver.

Since:

  • 2.0.0

'2.0.2'.freeze