dbUtils

Module Contents

connect()
db_check_collection(db_name, col_name)
get_collection(db_name, col_name)
db_get_item(db_name, col_name, query=None, fields=None)
db_get_items(db_name, col_name, query=None, fields=None)
db_insert_item(db_name, col_name, element)
db_insert_items(db_name, col_name, elements)
db_update_item(db_name, col_name, query, updated_item)
db_delete_item(db_name, col_name, query)
db_delete_items(db_name, col_name, query)
db_drop_collection(db_name, col_name)
insert(db, collection_name, data=None, query=None)
insert_many(db, collection_name, data=None, query=None)
update(db, collection_name, data=None, query=None)
delete(db, collection_name, data=None, query=None)
delete_all(db, collection_name, data=None, query=None)
transaction_operation_types
db_batch_operation(db_name, operations)