i´m trying to make a query of my database but the result are not showing the entire database
what am i doing wrong ?
can anyone help me?
here is my code
import wixData from ‘wix-data’;
//For full API documentation, including code examples visit Velo API Reference - Wix.com
$w.onReady(function () {
//TODO: import wixData from ‘wix-data’;
});
export function button1_click() {
wixData.query(‘database_trade’)
.contains(‘Segmentos’,$w(“#RadioGroup1”).value)
.contains(‘uf’, $w(‘#selection1’).value)
.contains(‘cidade’,$w(“#selection12”).value)
.descending(‘logo’,‘uf’)
.find()
.then(res => {
$w(‘#tabela’).rows = res.items;
});
$w(“#selection1”).collapse();
$w(“#selection12”).collapse();
}
export function RadioGroup1_change() {
$w(“#selection1”).expand();
}
export function selection1_change() {
$w(“#selection12”).expand();
}
and here is the link of the website
https://dudaaleo.wixsite.com/lupepronto
i need some urgent help
tks a lot