lorien / mongodb_toolbox

Tools to automate mongodb read/write operations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoDB Toolbox

Tools to automate mongodb read/write operations.

Bulk Write Helpers:

  • bulk_write() -- function to execute a list of data operations
  • BulkWriter -- class for accumulating and executing data operations
  • bulk_insert_dup_retok -- function to write list of insert operations and return list of keys which has been inserted
  • bulk_insert_dup -- function to write list of insert operations ignoring any duplicate key error

Misc functions:

  • iterate_collection() -- function to iterate items in collecting by loading them by chunks

Documentation

Docs are here https://mongodb-toolbox.readthedocs.io/en/latest/

About

Tools to automate mongodb read/write operations.


Languages

Language:Python 93.6%Language:Makefile 6.4%