Merge 'js-bindings/implement .name property' from Anton Harniakou

Returns the string that was used to open the database connection.

Reviewed-by: Diego Reis (@el-yawd)

Closes #1662
This commit is contained in:
Jussi Saurio 2025-06-09 08:21:26 +03:00
commit 0e552e3f23
3 changed files with 29 additions and 0 deletions

View file

@ -22,6 +22,11 @@ class Database {
return db.inTransaction();
},
},
name: {
get() {
return path;
},
},
});
}