Reference documentation and code samples for the Cloud Firestore V1beta1 Client class ExistenceFilter.
A digest of all the documents that match a given target.
Generated from protobuf message google.firestore.v1beta1.ExistenceFilter
Namespace
Google \ Cloud \ Firestore \ V1beta1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ target_id
int
The target ID to which this filter applies.
↳ count
int
The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target.
getTargetId
The target ID to which this filter applies.
Returns
Type
Description
int
setTargetId
The target ID to which this filter applies.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getCount
The total count of documents that match target_id.
If different from the count of documents in the client that match, the
client must manually determine which documents no longer match the target.
Returns
Type
Description
int
setCount
The total count of documents that match target_id.
If different from the count of documents in the client that match, the
client must manually determine which documents no longer match the target.