Javascript Sqlite database opening
Abierto
acknowledged
JS
question
- Lenguaje dominante
- CodeQL
- Estrellas
- 10.1k
- Forks
- 2.1k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 141
Descripción
Based on documentation on [npmjs](https://www.npmjs.com/package/sqlite#Usage), the following is a way to open database.
```
(async() => {
// open the database
const db2 = await open({
filename: '/tmp/database.db',
driver: sqlite3.Database
})
})()
```
The current model for sqlite only supports calls like `sqlite3.Database()`. I was wondering if this should be added? I do see that there'll be no end in sight updating models like this 😅
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.