LookupInSpec.count constructor
Creates a LookupInSpec for fetching the number of elements in the array
referenced by path
.
path
must be a String or LookupInMacro.
When xattr
is true
, this operation references the extended attribute
data of the document. Otherwise, it references the document body.
Defaults to false
.
Implementation
factory LookupInSpec.count(Object path, {bool? xattr}) =>
LookupInSpec._create(Opcode.getCount, path, xattr: xattr);