ForerunnerDB 在哪里保存它的数据库?

Where does ForerunnerDB save its Database?

我将要编写一个 HTML 文件,该文件应该在本地浏览器中 运行,创建和修改数据库 (Fore运行ner DB),并显示一些结果。

我写了下面,我应该在哪里找到数据库文件? 以下是否足以 "once the page is loaded " 来 sse 数据库或者有一些 "save" 命令?

<!DOCTYPE html>
<meta charset="utf-8" />
<title>ouch</title>
<body>
<p id="out">Testing..</br> >
</body>
<script src="C:\Users\n17263\node_modules\forerunnerdb\js\dist\fdb-all.min.js" type="text/javascript"></script>
<script>
var db = new ForerunnerDB('db');
var Customers= db.collection('Customers');
var Suppliers= db.collection('Suppliers');
var Items= db.collection('Items');
var S_ITMES= db.collection('S_ITEMS');
var Purchase_Invoices= db.collection('Purchase_Invoices');
var Sales_Invoices= db.collection('Sales_Invoices');
var Orders= db.collection('Orders');
Customers.insert({name:'Mohammad'});

</script>

它将数据库保存到IndexedDB, WebSQL or LocalStorage. You can specify this manually, as the documentation shows here