tauri-apps / tauri-apps/plugins-workspace

What is the 'name of the database' mentioned in the docs for sql db.close?

Open
#1,886 1 comment 0 reactions 0 assignees View on GitHub
plugin: sql type: feature request
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

In https://tauri.app/reference/javascript/sql/#close the doc for the `db?` arg to close is "Optionally state the name of a database if you are managing more than one. Otherwise, all database pools will be in scope." But there is no other reference to "name of the database" or connect pools other than in the docs for close. The only string associated with the Database object an api user would know is the path used with Database.load, but since the Database object should know that too, I don't know why I would need or want to specify it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.