ufosc / DocuMiner

A production-ready pipeline for text mining and subject indexing
MIT License
8 stars 5 forks source link

Database Setup #5

Open Fennec2000GH opened 2 years ago

Fennec2000GH commented 2 years ago

Description

Connect to MongoDB with a Python API and test CRUD operations for a single document with a text field.

Objectives

  1. Study the fundamentals of a Python API for MongoDB. PyMongo is recommended.
  2. Successfully connect to a live session.
  3. Insert, read, update, and delete a single document with a text field to test functionality of database.
ShootGan commented 2 years ago

I did it but I'm not sure if crud fuctions should return something if opperation is succesfull or only return error if something gone wrong