Javascript Sqlite database opening
Aperta
acknowledged
JS
question
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
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 😅
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.