skreeus
DTDrizzle Team
•Created by skreeus on 7/28/2024 in #help
Getting 'error: write CONNECTION_CLOSED' when trying to seed with stream-json from a 100MB file
I've run into a problem when trying to utilize a stream to load my data to my DB.
All of my other seeds are working but this one encounters the connection error.
I'm leveraging the stream-json package with drizzle-orm and postgres-js to stream single json objects in an effort to handle a larger than 100 MB JSON file. The seed function I wrote is as follows:
3 replies