Functions | |
def | __last_error |
def | __pack_message |
def | delete |
def | get_more |
def | insert |
def | kill_cursors |
def | query |
def | update |
Variables | |
string | __ZERO = "\x00\x00\x00\x00" |
_use_c = True | |
get_more = _cbson._get_more_message | |
insert = _cbson._insert_message | |
query = _cbson._query_message | |
update = _cbson._update_message |
def pymongo::message::__last_error | ( | args | ) | [private] |
Data to send to do a lastError.
Definition at line 41 of file message.py.
def pymongo::message::__pack_message | ( | operation, | ||
data | ||||
) | [private] |
Takes message data and adds a message header based on the operation. Returns the resultant message string.
Definition at line 49 of file message.py.
def pymongo::message::delete | ( | collection_name, | ||
spec, | ||||
safe, | ||||
last_error_args | ||||
) |
Get a **delete** message.
Definition at line 146 of file message.py.
def pymongo::message::get_more | ( | collection_name, | ||
num_to_return, | ||||
cursor_id | ||||
) |
Get a **getMore** message.
Definition at line 134 of file message.py.
def pymongo::message::insert | ( | collection_name, | ||
docs, | ||||
check_keys, | ||||
safe, | ||||
last_error_args | ||||
) |
Get an **insert** message.
Definition at line 62 of file message.py.
def pymongo::message::kill_cursors | ( | cursor_ids | ) |
Get a **killCursors** message.
Definition at line 163 of file message.py.
def pymongo::message::query | ( | options, | ||
collection_name, | ||||
num_to_skip, | ||||
num_to_return, | ||||
query, | ||||
field_selector = None | ||||
) |
Get a **query** message.
Definition at line 113 of file message.py.
def pymongo::message::update | ( | collection_name, | ||
upsert, | ||||
multi, | ||||
spec, | ||||
doc, | ||||
safe, | ||||
last_error_args | ||||
) |
Get an **update** message.
Definition at line 87 of file message.py.
string pymongo::message::__ZERO = "\x00\x00\x00\x00" |
Definition at line 38 of file message.py.
pymongo::message::_use_c = True |
Definition at line 32 of file message.py.
pymongo::message::get_more = _cbson._get_more_message |
Definition at line 143 of file message.py.
pymongo::message::insert = _cbson._insert_message |
Definition at line 84 of file message.py.
pymongo::message::query = _cbson._query_message |
Definition at line 131 of file message.py.
pymongo::message::update = _cbson._update_message |
Definition at line 110 of file message.py.