5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 15:11:53 +08:00
wails/v3/plugins/sqlite/sqlite_open.js
Lea Anthony 755e869fe7 [v3] Add start_at_login plugin
[v3] Fix plugin startup/shutdown order
2023-04-05 21:22:02 +10:00

9 lines
182 B
JavaScript

/**
* Open a sqlite DB.
* @param filename {string} - file to open.
* @returns {Promise<void>}
*/
function Open(filename) {
return wails.Plugin("sqlite", "Open", filename);
}