runner.cli.mongodb

Module Contents

runner.cli.mongodb.mongodb(context: click.core.Context)[source]

Commands to operate on the mongodb database

runner.cli.mongodb.drop_mongodb(project: Optional[Project], db_name: str)[source]

Drop a mongodb database

runner.cli.mongodb.list_mongodb(project: Optional[Project], db_name: str)[source]

List all mongodb databases

runner.cli.mongodb.copy_mongodb(project: Optional[Project], source_db_name: str, destination_db_name: Optional[str], drop: bool)[source]

Copy an existing mongodb database. If no destination database is given defaults to the project mongodb database name.