allWithMask

public Query allWithMask(Class<? extends EntityState> entityClass, Array<String> maskPaths)

Creates a Query to read all entity states with the FieldMask applied to each of the results.

Allows to set property paths for a FieldMask, applied to each of the query results. This processing is performed according to the FieldMask specs.

If the paths array contains entries inapplicable to the resulting entity (e.g. a path references a missing field), such invalid paths are silently ignored.

Return

an instance of Query formed according to the passed parameters

Parameters

entityClass

the class of a target entity

maskPaths

the property paths for the FieldMask applied to each of the results