Import a CSV file into SQLite using sql.js

I have a CSV file that I would like to import into a SQLite database. I see that this can be done using the SQLite command line. However, I was wondering if it is possible to import CSV through javascript.

I am currently using the sql.js library to interact with SQLite from Javascript.

Thanks in advance!

+4
source share
2 answers

I was wondering if it is possible to import CSV via javascript

Yes, maybe csv is just data, and sqlite is a database, so yes, you can put data in a database.

, , csv, sqlite db.

javascript csv npm.

0

, . nodejs, npm csv .
csv .

npm csv

.

0

Source: https://habr.com/ru/post/1584591/


All Articles