Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/motor
/ functions
Functions
986 in github.com/mongodb/motor
⨍
Functions
986
◇
Types & classes
164
Method
__init__
(self)
test/asyncio_tests/test_asyncio_client.py:224
Method
__init__
Create a new connection to a single MongoDB instance at *host:port*. Takes the same constructor arguments as :class:`~pymongo.mongo_c
motor/core.py:133
Method
__init__
(self, session)
motor/core.py:322
Method
__init__
(self, delegate, motor_client)
motor/core.py:369
Method
__init__
(self, client, name, **kwargs)
motor/core.py:578
Method
__init__
( self, database, name, codec_options=None, read_preference=None,
motor/core.py:933
Method
__init__
Don't construct a cursor yourself, but acquire one from methods like :meth:`MotorCollection.find` or :meth:`MotorCollection.aggregate`.
motor/core.py:1399
Method
__init__
(self, collection)
motor/core.py:1859
Method
__init__
(self, collection, start, *args, **kwargs)
motor/core.py:1878
Method
__init__
( self, target, pipeline, full_document, resume_after, max_awa
motor/core.py:1957
Method
__init__
Explicit client-side field level encryption. Takes the same constructor arguments as :class:`pymongo.encryption.ClientEncryption`, as
motor/core.py:2153
Method
__init__
( self, root_collection, file_id=None, file_document=None, delegate=None, session=None )
motor/motor_gridfs.py:108
Method
__init__
Class to write data to GridFS. Application developers should not generally need to instantiate this class - see :meth:`~motor
motor/motor_gridfs.py:245
Method
__init__
Create a handle to a GridFS bucket. Raises :exc:`~pymongo.errors.ConfigurationError` if `write_concern` is not acknowledged.
motor/motor_gridfs.py:337
Method
__init__
(self, doc=None)
motor/metaprogramming.py:131
Method
__init__
A descriptor that wraps a PyMongo read method like find_one() that returns a Future.
motor/metaprogramming.py:173
Method
__init__
A descriptor that wraps a PyMongo write method like update_one() that accepts getLastError options and returns a Future.
motor/metaprogramming.py:181
Method
__init__
A descriptor that wraps a PyMongo command like copy_database() that returns a Future and does not accept getLastError options.
motor/metaprogramming.py:189
Method
__init__
(self, doc=None)
motor/metaprogramming.py:218
Method
__init__
( self, database, root_collection="fs", get_gridfs_file=get_gridfs_file,
motor/aiohttp/__init__.py:159
Method
__init__
(self, name=None)
synchro/__init__.py:209
Method
__init__
(self, host=None, port=None, *args, **kwargs)
synchro/__init__.py:364
Method
__init__
(self, delegate)
synchro/__init__.py:411
Method
__init__
(self, delegate)
synchro/__init__.py:432
Method
__init__
(self, client, name, **kwargs)
synchro/__init__.py:461
Method
__init__
(self, database, name, **kwargs)
synchro/__init__.py:503
Method
__init__
(self, motor_change_stream)
synchro/__init__.py:544
Method
__init__
(self, delegate)
synchro/__init__.py:641
Method
__init__
(self, database, *args, **kwargs)
synchro/__init__.py:669
Method
__init__
Can be created with collection and kwargs like a PyMongo GridIn, or with a 'delegate' keyword arg, where delegate is a MotorGridIn.
synchro/__init__.py:681
Method
__init__
(self, name)
synchro/__init__.py:705
Method
__init__
Can be created with collection and kwargs like a PyMongo GridOut, or with a 'delegate' keyword arg, where delegate is a MotorGridOut.
synchro/__init__.py:727
Method
__init__
(self, kms_providers, key_vault_namespace, key_vault_client=None, **kwargs)
synchro/__init__.py:783
Method
__init__
( self, kms_providers, key_vault_namespace, key_vault_client, codec_op
synchro/__init__.py:797
Method
__init__
(self)
synchro/synchrotest.py:239
Method
__init__
(self)
doc/examples/tornado_change_stream_example.py:24
Method
__iter__
(self)
synchro/__init__.py:553
Method
__iter__
(self)
synchro/__init__.py:595
Method
__iter__
(self)
synchro/__init__.py:777
Method
__new__
(cls, *version)
test/version.py:23
Method
__new__
(cls, name, bases, attrs)
synchro/__init__.py:268
Method
__next__
(self)
synchro/__init__.py:771
Method
__repr__
(self)
motor/core.py:89
Method
__set__
(self, obj, val)
synchro/__init__.py:241
Method
__setattr__
(self, key, value)
synchro/__init__.py:747
Method
__str__
(self)
test/version.py:89
Method
_cursor
(self)
synchro/__init__.py:561
Method
_data
(self)
motor/core.py:1794
Method
_data
(self)
motor/core.py:1835
Method
_die_lock
(self, *args, **kwargs)
motor/core.py:1865
Method
_duplicate
(self, **kwargs)
synchro/__init__.py:377
Method
_end_session
(self, *args, **kwargs)
motor/core.py:1862
Method
_get_more
(self)
motor/core.py:1896
Method
_insert_employee_retry_commit
(session)
test/asyncio_tests/test_examples.py:1061
Method
_killed
(self)
motor/core.py:1749
Method
_killed
(self)
motor/core.py:1797
Method
_killed
(self)
motor/core.py:1838
Method
_on_started
(self, original_future, future)
motor/core.py:1912
Method
_query_flags
(self)
motor/core.py:1791
Method
_query_flags
(self)
motor/core.py:1832
Method
_reset
(self)
test/tornado_tests/test_motor_gridfsbucket.py:27
Method
_reset
(self)
test/tornado_tests/test_motor_grid_file.py:33
Function
_reset_global_executor
Re-initialize the global ThreadPoolExecutor
motor/frameworks/asyncio/__init__.py:69
Function
_reset_global_executor
Re-initialize the global ThreadPoolExecutor
motor/frameworks/tornado/__init__.py:65
Function
_sub_pymongo_ref
(match)
doc/motor_extensions.py:156
Method
_to_list
(self, length, the_list, future, get_more_result)
motor/core.py:1692
Method
_try_next
(self)
motor/core.py:1995
Function
_unwrap_synchro
(*args, **kwargs)
synchro/__init__.py:193
Function
_wrap_synchro
(*args, **kwargs)
synchro/__init__.py:143
Function
_wrapper
(self, *args, **kwargs)
motor/frameworks/asyncio/__init__.py:147
Function
_wrapper
(self, *args, **kwargs)
motor/frameworks/tornado/__init__.py:129
Function
add_future
(loop, future, callback, *args)
motor/frameworks/asyncio/__init__.py:136
Function
add_future
(loop, future, callback, *args)
motor/frameworks/tornado/__init__.py:118
Method
aggregate
Execute an aggregation pipeline on this database. Introduced in MongoDB 3.6. The aggregation can be run on a secondary if the client
motor/core.py:585
Method
aggregate
Execute an aggregation pipeline on this collection. The aggregation can be run on a secondary if the client is connected to a replica
motor/core.py:1038
Method
alive
Does this cursor have the potential to return more data? .. note:: Even if :attr:`alive` is ``True``, :meth:`next` can raise :exc
motor/core.py:2001
Method
assertEncrypted
(self, val)
test/asyncio_tests/test_asyncio_encryption.py:40
Method
assertLogs
(self, logger=None, level=None)
test/assert_logs_backport.py:80
Method
async_handler
(event, context)
test/asyncio_tests/test_examples.py:1555
Method
asyncio_rsc
Get an open MotorClient for replica set. Ignores self.ssl, you must pass 'ssl' argument.
test/asyncio_tests/__init__.py:126
Function
asyncio_test
Decorator for coroutine methods of AsyncIOTestCase:: class MyTestCase(AsyncIOTestCase): @asyncio_test def test(self):
test/asyncio_tests/__init__.py:175
Method
batch_size
(self, batch_size)
motor/core.py:1892
Function
build_finished
(app, exception)
doc/motor_extensions.py:168
Method
cache_time
(path, modified, mime_type)
test/asyncio_tests/test_aiohttp_gridfs.py:260
Function
call_soon
(loop, callback, *args, **kwargs)
motor/frameworks/asyncio/__init__.py:129
Function
call_soon
(loop, callback, *args, **kwargs)
motor/frameworks/tornado/__init__.py:111
Method
callback
(result, error)
test/tornado_tests/test_motor_cursor.py:164
Method
callback
(result, error)
test/tornado_tests/test_motor_cursor.py:613
Method
callback
(_)
test/tornado_tests/test_motor_transaction.py:85
Method
callback
(result, error)
test/asyncio_tests/test_asyncio_cursor.py:152
Method
callback
(result, error)
test/asyncio_tests/test_asyncio_cursor.py:682
Method
callback
(my_session)
test/asyncio_tests/test_examples.py:1162
Method
cancel
(result, error)
test/tornado_tests/test_motor_cursor.py:302
Method
canceled
()
test/tornado_tests/test_motor_cursor.py:311
Method
canceled
()
test/asyncio_tests/test_asyncio_cursor.py:356
Function
chain_future
(a, b)
motor/frameworks/asyncio/__init__.py:89
Function
chain_return_value
Compatible way to return a value in all Pythons. PEP 479, raise StopIteration(value) from a coroutine won't work forever, but "return value"
motor/frameworks/asyncio/__init__.py:102
Function
chain_return_value
Compatible way to return a value in all Pythons. PEP 479, raise StopIteration(value) from a coroutine won't work forever, but "return value"
motor/frameworks/tornado/__init__.py:84
Function
check_event_loop
(loop)
motor/frameworks/asyncio/__init__.py:52
Function
check_event_loop
(loop)
motor/frameworks/tornado/__init__.py:48
← previous
next →
301–400 of 986, ranked by callers