Framework 7 database

I’m new to framework 7
Please I get example on how to use database in framework 7

Just like in any web project

But I did something below and the url doesn’t open like detail.html?I’d=1&itemname
But only populate the data
Var url=“”;
$$.each(result, function(i, field){
var itemname=field.itemname;
var price=field.price;
var category=field.category;
var currency=field.currency;

  • “+itemname+”


Then dive show in index.html