Hello, I am currently trying to get a repeater to be populated with data from a data sheet, filtered with a query (to eliminate blank items). My first major stumbling block is that I can’t seem to get the data to be accessed on the page at all. This is my current code, I am trying to start out by getting the items in the query data array to show up in the console.
This is my code, currently returning no results or errors:
import wixData from ‘wix-data’;
wixData.query(“dataset1”)
.find()
.then( (results) => {
let items = results.items;
console.log(items);
} ) ;
please help, thanks.