Skip to content

Instantly share code, notes, and snippets.

import wixData from 'wix-data';
$w.onReady(async function () {
// Write your JavaScript here
const count = await wixData.query('Bookings/Services').eq('serviceName','Swim').count();
console.log(count);
}