Common functions for MongoDB backend
-
class
panko.storage.mongo.utils.
ConnectionPool
[source]
Bases: object
-
connect
(url, max_retries, retry_interval)[source]
-
class
panko.storage.mongo.utils.
CursorProxy
(cursor, max_retry, retry_interval)[source]
Bases: pymongo.cursor.Cursor
-
class
panko.storage.mongo.utils.
MongoProxy
(conn, max_retries, retry_interval)[source]
Bases: object
-
create_index
(keys, name=None, *args, **kwargs)[source]
-
find
(*args, **kwargs)[source]