Search...
pageSize
Returns the requested page size.
Description
pageSize
returns the page size set in limit()
in ServicesQueryBuilder
.
Type:
number
Was this helpful?
Get the query's page size
Copy Code
1const requestedPageSize = results.pageSize;2
Perform a query and get
pageSize
from the resultCopy Code
1import { services } from 'wix-bookings.v2';23export async function myQueryFunction() {4 const results = await services.queryServices().find();56 return results.pageSize;7}8