Commit Graph

9 Commits

Author SHA1 Message Date
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
wjones c6f9d1e617 Update .gitignore and settings configuration: add archived directory and settings template 2026-02-07 12:29:55 -05:00
wjones 179fb4fddb Refactor code structure for improved readability and maintainability 2026-02-07 11:57:07 -05:00
wjones 7e98f01cd2 commit gitignore file 2026-02-05 16:12:09 -05:00
wjones c6038c0b01 Add /cache/aliases/*.json to .gitignore 2026-02-05 14:10:45 -05:00
wjones 2d414ecbfc updated gitignore file 2026-02-05 14:00:47 -05:00
wjones bbf92af79f update gitignore file 2026-02-05 07:31:43 -05:00
wjones f79f8772ae Update .gitignore to include additional log files and temporary directories for better cleanup 2025-12-12 14:21:34 -05:00
wjones 29814092b7 repo migration 2025-05-20 12:02:07 -04:00