github / github/codeql

Javascript Sqlite database opening

Đang mở
#7,597 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
acknowledged JS question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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 😅

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.