Table of Contents - mongo-1.6.4 Documentation
Pages
README
Documentation
Introduction
Installation
Ruby Versions
Gems
From the GitHub source
Examples
GridFS
Notes
Thread Safety
Connection Pooling
Forking
Environment variable MONGODB_URI
String Encoding
Primary Keys
Primary Key Factories
The DB Class
Strict mode
Cursors
Socket timeouts
Test-Unit, Shoulda, and Mocha
Testing
Release Notes
Credits
License
Classes/Modules
Class
Enumerable
Hash
Mongo
Mongo::AuthenticationError
Mongo::Collection
Mongo::Connection
Mongo::ConnectionError
Mongo::ConnectionFailure
Mongo::ConnectionTimeoutError
Mongo::Constants
Mongo::Conversions
Mongo::Cursor
Mongo::DB
Mongo::Grid
Mongo::GridError
Mongo::GridExt
Mongo::GridExt::InstanceMethods
Mongo::GridFileNotFound
Mongo::GridFileSystem
Mongo::GridIO
Mongo::GridMD5Failure
Mongo::InvalidNSName
Mongo::InvalidOperation
Mongo::InvalidSortValueError
Mongo::Logging
Mongo::MongoArgumentError
Mongo::MongoDBError
Mongo::MongoRubyError
Mongo::Networking
Mongo::Node
Mongo::NodeWithTagsNotFound
Mongo::OperationFailure
Mongo::OperationTimeout
Mongo::Pool
Mongo::PoolManager
Mongo::ReplSetConnection
Mongo::ReplicaSetConnectionError
Mongo::SSLSocket
Mongo::ServerVersion
Mongo::Support
Mongo::TCPSocket
Mongo::URIParser
Mutex
Object
String
Methods
::from_uri — Mongo::Connection
::multi — Mongo::Connection
::new — Mongo::DB
::new — Mongo::ReplSetConnection
::new — Mongo::Cursor
::new — Mongo::GridIO
::new — Mongo::PoolManager
::new — Mongo::URIParser
::new — Mongo::SSLSocket
::new — Mongo::Collection
::new — Mongo::ServerVersion
::new — Mongo::Connection
::new — Mongo::Pool
::new — Mongo::Node
::new — Mongo::MongoDBError
::new — Mongo::Grid
::new — Mongo::GridFileSystem
::new — Mongo::TCPSocket
#<< — Mongo::Collection
#<=> — Mongo::ServerVersion
#== — Mongo::Node
#[] — Mongo::GridIO
#[] — Mongo::Connection
#[] — Mongo::Collection
#[] — Mongo::DB
#[]= — Mongo::GridIO
#active? — Mongo::Node
#active? — Mongo::Connection
#add_auth — Mongo::Connection
#add_message_headers — Mongo::Networking
#add_option — Mongo::Cursor
#add_stored_function — Mongo::DB
#add_user — Mongo::DB
#alive? — Mongo::Cursor
#apply_saved_authentication — Mongo::Connection
#arbiters — Mongo::ReplSetConnection
#arbiters — Mongo::Node
#array_as_sort_parameters — Mongo::Conversions
#assign_primary — Mongo::PoolManager
#assign_secondary — Mongo::PoolManager
#associate_tags_with_pool — Mongo::PoolManager
#auth_key — Mongo::Support
#authenticate — Mongo::DB
#authenticate_existing — Mongo::Pool
#authenticate_pools — Mongo::Connection
#authenticate_pools — Mongo::ReplSetConnection
#batch_size — Mongo::Cursor
#best_available_socket — Mongo::Connection
#build_last_error_message — Mongo::Networking
#cache_chunk_data — Mongo::GridIO
#cache_discovered_seeds — Mongo::PoolManager
#capped? — Mongo::Collection
#check_connection_health — Mongo::PoolManager
#check_existing_file — Mongo::GridIO
#check_is_master — Mongo::Connection
#check_modifiable — Mongo::Cursor
#check_opts — Mongo::Connection
#check_response_flags — Mongo::Networking
#check_set_membership — Mongo::Node
#check_set_name — Mongo::Node
#checkin — Mongo::Pool
#checkin — Mongo::Connection
#checkin_reader — Mongo::Connection
#checkin_reader — Mongo::ReplSetConnection
#checkin_socket — Mongo::Cursor
#checkin_writer — Mongo::Connection
#checkin_writer — Mongo::ReplSetConnection
#checkout — Mongo::ReplSetConnection
#checkout — Mongo::Pool
#checkout_best — Mongo::ReplSetConnection
#checkout_best — Mongo::Connection
#checkout_existing_socket — Mongo::Pool
#checkout_new_socket — Mongo::Pool
#checkout_reader — Mongo::ReplSetConnection
#checkout_reader — Mongo::Connection
#checkout_secondary — Mongo::ReplSetConnection
#checkout_socket_for_op_get_more — Mongo::Cursor
#checkout_socket_from_connection — Mongo::Cursor
#checkout_socket_from_read_pool — Mongo::Cursor
#checkout_tagged — Mongo::ReplSetConnection
#checkout_writer — Mongo::ReplSetConnection
#checkout_writer — Mongo::Connection
#clear_auths — Mongo::Connection
#close — Mongo::PoolManager
#close — Mongo::Pool
#close — Mongo::GridIO
#close — Mongo::ReplSetConnection
#close — Mongo::Cursor
#close — Mongo::Node
#close — Mongo::TCPSocket
#close — Mongo::SSLSocket
#close — Mongo::Connection
#close_cursor_if_query_complete — Mongo::Cursor
#close_socket — Mongo::ReplSetConnection
#close_sockets — Mongo::Pool
#closed? — Mongo::Pool
#closed? — Mongo::PoolManager
#closed? — Mongo::Cursor
#closed? — Mongo::SSLSocket
#closed? — Mongo::TCPSocket
#collection — Mongo::DB
#collection_names — Mongo::DB
#collections — Mongo::DB
#collections_info — Mongo::DB
#command — Mongo::DB
#connect — Mongo::PoolManager
#connect — Mongo::TCPSocket
#connect — Mongo::Node
#connect — Mongo::SSLSocket
#connect — Mongo::Connection
#connect — Mongo::ReplSetConnection
#connect? — Mongo::URIParser
#connect_to_members — Mongo::PoolManager
#connected? — Mongo::ReplSetConnection
#connected? — Mongo::Connection
#connected? — Mongo::Node
#connecting? — Mongo::ReplSetConnection
#connection — Mongo::URIParser
#connection_options — Mongo::URIParser
#construct_query_message — Mongo::Cursor
#construct_query_spec — Mongo::Cursor
#convert_fields_for_query — Mongo::Cursor
#copy_database — Mongo::Connection
#count — Mongo::Cursor
#count — Mongo::Collection
#create_chunk — Mongo::GridIO
#create_collection — Mongo::DB
#create_index — Mongo::Collection
#data — Mongo::GridIO
#database_info — Mongo::Connection
#database_names — Mongo::Connection
#db — Mongo::Connection
#default_grid_io_opts — Mongo::GridFileSystem
#default_grid_io_opts — Mongo::Grid
#delete — Mongo::GridFileSystem
#delete — Mongo::Grid
#dereference — Mongo::DB
#direct? — Mongo::URIParser
#distinct — Mongo::Collection
#drop — Mongo::Collection
#drop_collection — Mongo::DB
#drop_database — Mongo::Connection
#drop_index — Mongo::Collection
#drop_index — Mongo::DB
#drop_indexes — Mongo::Collection
#each — Mongo::GridIO
#each — Mongo::Cursor
#elements_include_mods? — Mongo::ServerVersion
#ensure_index — Mongo::Collection
#ensure_manager — Mongo::ReplSetConnection
#eof — Mongo::GridIO
#eof? — Mongo::GridIO
#eql? — Mongo::Node
#error? — Mongo::DB
#eval — Mongo::DB
#exist? — Mongo::GridExt::InstanceMethods
#explain — Mongo::Cursor
#find — Mongo::Collection
#find_and_modify — Mongo::Collection
#find_one — Mongo::Collection
#force_checkin_socket — Mongo::Cursor
#format_order_clause — Mongo::Support
#full_collection_name — Mongo::DB
#generate_index_name — Mongo::Collection
#generate_indexes — Mongo::Collection
#get — Mongo::Grid
#get_chunk — Mongo::GridIO
#get_content_type — Mongo::GridIO
#get_last_error — Mongo::DB
#get_md5 — Mongo::GridIO
#get_request_id — Mongo::Networking
#get_socket_from_pool — Mongo::ReplSetConnection
#get_valid_seed_node — Mongo::PoolManager
#getc — Mongo::GridIO
#gets — Mongo::GridIO
#group — Mongo::Collection
#hard_refresh! — Mongo::ReplSetConnection
#has_next? — Mongo::Cursor
#hash — Mongo::Node
#hash_as_sort_parameters — Mongo::Conversions
#hash_password — Mongo::Support
#hint= — Mongo::Collection
#host — Mongo::ReplSetConnection
#host — Mongo::URIParser
#host — Mongo::Connection
#host_port — Mongo::Pool
#host_port — Mongo::Node
#host_string — Mongo::Pool
#host_string — Mongo::Node
#hosts — Mongo::ReplSetConnection
#index_information — Mongo::DB
#index_information — Mongo::Collection
#index_name — Mongo::Collection
#init_read — Mongo::GridIO
#init_write — Mongo::GridIO
#initialize_data — Mongo::PoolManager
#initialize_pools — Mongo::PoolManager
#insert — Mongo::Collection
#insert_documents — Mongo::Collection
#inspect — Mongo::PoolManager
#inspect — Mongo::Cursor
#inspect — Mongo::Pool
#inspect — Mongo::ReplSetConnection
#inspect — Mongo::Node
#inspect — Mongo::GridIO
#instrument — Mongo::Logging
#instrument_payload — Mongo::Cursor
#issue_authentication — Mongo::DB
#issue_logout — Mongo::DB
#limit — Mongo::Cursor
#local_manager — Mongo::ReplSetConnection
#lock — Mutex
#lock! — Mongo::Connection
#lock_with_hack — Mutex
#lock_without_hack — Mutex
#locked? — Mongo::Connection
#log — Mongo::Logging
#log_operation — Mongo::Logging
#logout — Mongo::DB
#logout_existing — Mongo::Pool
#logout_pools — Mongo::ReplSetConnection
#logout_pools — Mongo::Connection
#map_reduce — Mongo::Collection
#mapreduce — Mongo::Collection
#max_bson_size — Mongo::ReplSetConnection
#max_bson_size — Mongo::Connection
#mongo_thread_local_accessor — Class
#nearby_pool_from_set — Mongo::PoolManager
#new_binary_string — Mongo::Networking
#new_group — Mongo::Collection
#next — Mongo::Cursor
#next_document — Mongo::Cursor
#node_list — Mongo::Node
#nodes — Mongo::ReplSetConnection
#normalize_hint_fields — Mongo::Collection
#num_remaining — Mongo::Cursor
#ok? — Mongo::DB
#ok? — Mongo::Support
#open — Mongo::GridFileSystem
#options — Mongo::Collection
#parse_hosts — Mongo::URIParser
#parse_index_spec — Mongo::Collection
#parse_options — Mongo::URIParser
#ping — Mongo::Pool
#ping — Mongo::Connection
#ping_time — Mongo::Pool
#pk_factory — Mongo::DB
#pk_factory= — Mongo::DB
#pools — Mongo::PoolManager
#port — Mongo::ReplSetConnection
#port — Mongo::URIParser
#port — Mongo::Connection
#pos — Mongo::GridIO
#previous_error — Mongo::DB
#primary — Mongo::ReplSetConnection
#primary? — Mongo::Connection
#primary? — Mongo::Node
#primary? — Mongo::ReplSetConnection
#primary_pool — Mongo::ReplSetConnection
#profiling_info — Mongo::DB
#profiling_level — Mongo::DB
#profiling_level= — Mongo::DB
#prune_managers — Mongo::ReplSetConnection
#prune_thread_socket_hash — Mongo::Pool
#put — Mongo::Grid
#query_contains_special_fields? — Mongo::Cursor
#query_options_hash — Mongo::Cursor
#query_opts — Mongo::Cursor
#read — Mongo::SSLSocket
#read — Mongo::GridIO
#read — Mongo::TCPSocket
#read_all — Mongo::GridIO
#read_documents — Mongo::Networking
#read_length — Mongo::GridIO
#read_pool — Mongo::Connection
#read_pool — Mongo::ReplSetConnection
#read_preference — Mongo::DB
#read_preference — Mongo::ReplSetConnection
#read_preference — Mongo::Connection
#read_preference — Mongo::Collection
#read_primary? — Mongo::Connection
#read_primary? — Mongo::ReplSetConnection
#read_to_character — Mongo::GridIO
#read_to_string — Mongo::GridIO
#receive — Mongo::Networking
#receive_data — Mongo::Networking
#receive_header — Mongo::Networking
#receive_message — Mongo::Networking
#receive_message_on_socket — Mongo::Networking
#receive_response_header — Mongo::Networking
#reconnect — Mongo::Connection
#refresh — Mongo::Cursor
#refresh — Mongo::ReplSetConnection
#refresh_ping_time — Mongo::Pool
#refresh_required? — Mongo::PoolManager
#remove — Mongo::Collection
#remove_auth — Mongo::Connection
#remove_option — Mongo::Cursor
#remove_stored_function — Mongo::DB
#remove_user — Mongo::DB
#rename — Mongo::Collection
#rename_collection — Mongo::DB
#replicaset? — Mongo::URIParser
#reset_connection — Mongo::Connection
#reset_connection — Mongo::ReplSetConnection
#reset_error_history — Mongo::DB
#rewind — Mongo::GridIO
#rewind! — Mongo::Cursor
#save — Mongo::Collection
#save_chunk — Mongo::GridIO
#secondaries — Mongo::ReplSetConnection
#secondary? — Mongo::Node
#secondary_pool — Mongo::ReplSetConnection
#secondary_pools — Mongo::ReplSetConnection
#seed_list — Mongo::PoolManager
#seeds — Mongo::PoolManager
#seek — Mongo::GridIO
#send — Mongo::TCPSocket
#send — Mongo::SSLSocket
#send_get_more — Mongo::Cursor
#send_initial_query — Mongo::Cursor
#send_message — Mongo::Networking
#send_message_on_socket — Mongo::Networking
#send_message_with_safe_check — Mongo::Networking
#server_info — Mongo::Connection
#server_version — Mongo::Connection
#set_config — Mongo::Node
#set_primary — Mongo::Connection
#set_read_pool — Mongo::PoolManager
#set_tag_mappings — Mongo::PoolManager
#setsockopt — Mongo::TCPSocket
#setsockopt — Mongo::SSLSocket
#setup — Mongo::ReplSetConnection
#setup — Mongo::Connection
#size — Mongo::Collection
#skip — Mongo::Cursor
#slave_ok? — Mongo::ReplSetConnection
#slave_ok? — Mongo::Connection
#sort — Mongo::Cursor
#sort_value — Mongo::Conversions
#split_nodes — Mongo::Node
#stats — Mongo::DB
#stats — Mongo::Collection
#strict? — Mongo::DB
#string_as_sort_parameters — Mongo::Conversions
#sync_refresh — Mongo::ReplSetConnection
#system_command_collection — Mongo::DB
#tag_map — Mongo::ReplSetConnection
#tags — Mongo::Node
#tell — Mongo::GridIO
#to_a — Mongo::Cursor
#to_a — Mongo::ServerVersion
#to_array — Mongo::ServerVersion
#to_mongo_object — Mongo::GridIO
#to_s — Mongo::ServerVersion
#unlink — Mongo::GridFileSystem
#unlock! — Mongo::Connection
#update — Mongo::Collection
#valid_opts — Mongo::ReplSetConnection
#valid_opts — Mongo::Connection
#validate_collection — Mongo::DB
#validate_connect — Mongo::URIParser
#validate_db_name — Mongo::Support
#validate_existing_member — Mongo::PoolManager
#validate_read_preference — Mongo::Support
#write — Mongo::GridIO
#write_logging_startup_message — Mongo::Logging
#write_string — Mongo::GridIO