plugins-workspace
plugins-workspace copied to clipboard
What is the 'name of the database' mentioned in the docs for sql db.close?
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.