You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's not in the library, we can't add support to wrap the call.
However, you can extend the Database class to add the method on your side.
// not working code, just a rough idea of how you can do it
import { Database } from 'sqlite'
class CSVDatabase extends Database {
import () {
// definition here
}
}
const db = new CSVDatabase(config)
await db.open()
db.import()
Hi team,
I went through the documentation, but couldn't find a way to import a CSV via this library.
Is there a way to invoke the
.import
special command via the library?The text was updated successfully, but these errors were encountered: