Search...
length
Returns the number of items in the current results page.
Description
Type:
numberRead Only
Was this helpful?
Get the
length
of a query resultCopy Code
1let resultLength = results.length; // 20
Perform a query and get the
length
of the resultCopy Code
1import { joinRequests } from "wix-members-backend";23// ...45joinRequests.queryJoinRequests()6 .find()7 .then((results) => {8 let resultLength = results.length; // 209 })10 .catch((error) => {11 console.error(error);12 });