Last active
May 11, 2021 08:16
-
-
Save einav7/5805be392cca119e106d76b844eef8ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment