Index of values


B
buildInfo [MongoAdmin]

C
change_collection [Mongo]
change instance collection
collStats [MongoAdmin]
comment [MongoMetaOp]
comment s q attach a comment s to a query q
connPoolStats [MongoAdmin]
count [Mongo]
counts the number of documents in a collection
create [MongoAdmin]
create a MongoAdmin.
create [Mongo]
create a Mongo.
create_delete [MongoRequest]
create a delete reuqest.
create_get_more [MongoRequest]
create a get_more request.
create_header [MongoHeader]
create a general header.
create_insert [MongoRequest]
create an insert request.
create_kill_cursors [MongoRequest]
create a kill_cursors request.
create_local_default [MongoAdmin]
create a MongoAdmin connecting to 127.0.0.1, port 27017.
create_local_default [Mongo]
create a Mongo connecting to 127.0.0.1, port 27017.
create_query [MongoRequest]
create a query request.
create_request_header [MongoHeader]
create a request header.
create_update [MongoRequest]
create an update request.
cur_timestamp [MongoUtils]
cursorInfo [MongoAdmin]

D
decode_cstring [MongoUtils]
decode_header [MongoHeader]
decode a str (received from MongoDB) to a header
decode_int32 [MongoUtils]
decode_int64 [MongoUtils]
decode_reply [MongoReply]
decode a string received from MongoDB to a MongoReply
delete_all [Mongo]
delete the all documents matched in MongoDB.
delete_one [Mongo]
delete the first document matched in MongoDB.
destory [MongoAdmin]
destory a MongoAdmin.
destory [Mongo]
destory a Mongo.
drop_all_index [Mongo]
drop all index of a collection
drop_collection [Mongo]
removes an entire collection from a database
drop_database [Mongo]
drops a database, deleting the associated data files
drop_index [Mongo]
drop a index

E
encode_cstring [MongoUtils]
encode_header [MongoHeader]
encode the header to string, so it can be combined with the message body and sent
encode_int32 [MongoUtils]
encode_int64 [MongoUtils]
ensure_index [Mongo]
ensure an index
ensure_multi_simple_index [Mongo]
ensure multi-fields index (helper)
ensure_simple_index [Mongo]
ensure an index (helper)
explain [MongoMetaOp]
explain q provides information on the query q plan

F
find [Mongo]
find all / the default number of documents in the db and collection.
find_of_num [Mongo]
find the desired number of documents in the db and collection.
find_one [Mongo]
find the first document in the db and collection.
find_q [Mongo]
find all / the default number of documents in the db and collection matching the bson query.
find_q_of_num [Mongo]
find the desired number of documents in the db and collection matching the bson query.
find_q_one [Mongo]
find the first document in the db and collection matching the bson query.
find_q_s [Mongo]
find all / the default number of documents in the db and collection matching the bson query, each document returned will only contains elements specified in the selector doc.
find_q_s_of_num [Mongo]
find the desired number of documents in the db and collection matching the bson query, each document returned will only contains elements specified in the selector doc.
find_q_s_one [Mongo]
find the first documents in the db and collection matching the bson query, each document returned will only contains elements specified in the selector doc.

G
getCmdLineOpts [MongoAdmin]
get_collection_name [MongoAdmin]
get_collection_name [Mongo]
get_cursor [MongoReply]
get the cursor_id out of a MongoReply
get_db_name [MongoAdmin]
get_db_name [Mongo]
get_document_list [MongoReply]
get the document list returned out of a MongoReply
get_file_descr [MongoAdmin]
get_file_descr [Mongo]
get_header [MongoReply]
get the MongoHeader out of a MongoReply
get_indexes [Mongo]
return a list of all indexes
get_ip [MongoAdmin]
get_ip [Mongo]
get_message_len [MongoHeader]
get the message length out of a header
get_more [Mongo]
get all / the default number of documents via a cursor_id.
get_more_of_num [Mongo]
get the desired number of documents via a cursor_id.
get_num_returned [MongoReply]
get the number of items returned out of a MongoReply
get_op [MongoHeader]
get the operation out of a header
get_port [MongoAdmin]
get_port [Mongo]
get_request_id [MongoHeader]
get the request id out of a header
get_response_flags [MongoReply]
get the response_flags field out of a MongoReply
get_response_to [MongoHeader]
get the response_to id out of a header
get_starting_from [MongoReply]
get the starting_from field out of a MongoReply

H
hint [MongoMetaOp]
hint is q forces the query optimizer to use a specific index is to fulfill the query q
hostInfo [MongoAdmin]

I
insert [Mongo]
insert a list of bson documents into MongoDB.

K
kill_cursors [Mongo]
kill a list of cursors, to save MongoDB resources.

L
listCommands [MongoAdmin]
listDatabases [MongoAdmin]

M
max [MongoMetaOp]
max is q specify the exclusive upper bound for a specific index is in order to constrain the results of a query q
maxScan [MongoMetaOp]
maxScan i q constrains the query q to only scan the specified number of documents i when fulfilling the query Note: Contrary to what the official documentation say, it doesn't limit the number of documents a cursor will return for a query but limit the number of document the query will scan
min [MongoMetaOp]
min is q specify the inclusive lower bound for a specific index is in order to constrain the results of a query q

O
of_code [MongoOperation]
convert an int32 to an operation, Unknwon_op_code will be raised if the code cannot be recognised
orderBy [MongoMetaOp]
orderBy fs q sorts the results of a query q by specifics fields fs

P
print_buffer [MongoUtils]

R
returnKey [MongoMetaOp]
returnKey q only return the index field or fields for the results of the query q

S
send_no_reply [MongoSend]
this function just send a string out via the supplied file_descr.
send_with_reply [MongoSend]
this function will send the string and wait for a response as a MongoReply
serverStatus [MongoAdmin]
showDiskLoc [MongoMetaOp]
showDiskLoc q adds a field $diskLoc to the returned documents.
snapshot [MongoMetaOp]
snapshot q prevents the cursor from returning a document more than once because an intervening write operation results in a move of the document

T
to_code [MongoOperation]
convert an operation to an int32
to_string [MongoReply]
convert a MongoReply to a human readable string
to_string [MongoHeader]
convert a header to a human readable string

U
update_all [Mongo]
update all documents matched in MongoDB.
update_one [Mongo]
update the first document matched in MongoDB.