我即将编写一个HTML文件,该文件应该在本地浏览器中运行,创建和修改数据库(Forerunner DB),并显示一些结果。
我在下面写了,我应该在哪里找到数据库文件? 一旦页面被加载"是足够的" 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>