Javascript Sqlite database opening
Aberta
acknowledged
JS
question
- Linguagem predominante
- CodeQL
- Estrelas
- 10.1k
- Forks
- 2.1k
- Merge médio
- 2d 15h
- PRs com merge (30d)
- 141
Descrição
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 😅
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.