Files
new_dbsync/.gitignore
T
wjones afe2dfa1c8 Update: Implement bulk update functionality using list of document IDs and updated data
This commit introduces a new function, `insert_mongo_documents_to_postgres`, which allows for the bulk updating of documents in a PostgreSQL table. It takes a list of document IDs and a dictionary containing the updated data as input. This method simplifies the process by reducing the number of individual insert statements required.

The changes include:

1. Adding a new function `insert_mongo_documents_to_postgres` to handle the bulk update.
2. Updating the existing code to call this new function when required.
3. Refactoring the `MongoDocumentInserter` class to encapsulate common functionality for document insertion and updating.

This refactoring enhances maintainability and efficiency by reducing redundancy in the codebase.
2026-02-10 12:01:22 -05:00

28 lines
653 B
Plaintext

################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################
/.vs/new_dbsync/FileContentIndex
/.vs
*.pyc
/cache/series/*.json
/cache/episodes/*.json
/cache/cast/*.json
/cache/crew/*.json
/cache/guestcast/*.json
/cache/guestcrew/*.json
/cache/aliases/*.json
*.DS_Store
*.log
/pyproject.toml
dbsync.log.*
.idea
/log
/venv
/temp/post_tvmaze_updates.json
/temp/post_tvmaze_updates.json.*
/temp/tvmaze_updates.json
/temp.skip_ids.txt
/archived
settings/tvsync_settings.cfg