Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
400 views
in Technique[技术] by (71.8m points)

node.js - Insert records from CSV file into Oracle, with NodeJs

I have a concern working with Oracle, TypeOrm, and NodeJs. How can I input 1 million records found within a csv file?

The point is that I have to load the content of an xlsx file to a table in oracle, this file has around 1 million data or more. The way I was doing this task was, converting from xlsx to json and from json, and that array save to database, but it was taking too long. So now I transform to CSV, but how can I insert all the records from the CSV file into the oracle table?

I am using TypeOrm for the connection between Oracle and NodeJs

question from:https://stackoverflow.com/questions/65546371/insert-records-from-csv-file-into-oracle-with-nodejs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...