import wixData from'wix-data';
let DATABASE = 'Signup';
$w.onReady(()=>{console.log("Page ready...");
const query = wixData.query('DATABASE');
//query.eq('fieldName', 'fieldValue');
query.find()
.then((res) => {console.log(res.items);
console.log(res.items[0]);
console.log(res.items[0].title);
console.log(res.items[0]._id);
console.log(res.items[0]._owner);
console.log(res.items[0].role);
console.log(res.items[0].description);
})
.catch((err)=> {console.log(err);});
});
Take a look onto all the given CONSOLE-LOGS inside of your CONSOLE of your Wix-Editor, when running the code.