Search...
partialIncludes
Indicates if referenced items have been trimmed from the results.
Description
When including a property with multiple references, each returned item can
include up to 50 referenced items. If there are more than 50 referenced items,
only 50 will be returned and partialIncludes
will be true.
To retrieve more than 50 referenced items, use the
queryReferenced()
function.
Type:
booleanRead Only
Was this helpful?
Get whether there are partial includes in a query result
Copy Code
1let partials = results.partialIncludes; // false
Perform a query and get whether there are partial includes in a query result
Copy Code
1import wixData from 'wix-data';23// ...45wixData.query("myCollection")6 .find()7 .then((results) => {8 let partials = results.partialIncludes; // false9 }) ;