Enhance MongoDB to ClickHouse synchronization script by adding support for custom time range synchronization, allowing users to specify start and end dates. Update .env file to include MongoDB connection URL and add .gitignore for script dependencies.

This commit is contained in:
2025-04-24 00:09:24 +08:00
parent 92db5ad783
commit fe40aad835
5 changed files with 858 additions and 19 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "scripts",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"date-fns": "^4.1.0",
"dotenv": "^16.5.0",
"fs-extra": "^11.3.0",
"mongodb": "^6.16.0",
"node-fetch": "^2.7.0"
}
}