currently I'm having trouble in making the design admin panel to display the amount of data that has been collected. how to display the amount of data has been submitted dynamically into the database?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
I too have been searching for the subject for a long time
Then I assembled the following code myself:
import wixData from 'wix-data';
wixData.query("Database name")
.eq ("Column name", "Value name")
.count ()
.then( (num) => {
let numberOfItems = num;
$w("#Text element name").text = num.toString()
} ) ;
For me it worked great and hope for you too 😎