Cloud Firestore V1 Client - Class PBReadOnly (1.28.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class PBReadOnly.

Options for a transaction that can only be used to read documents.

Generated from protobuf message google.firestore.v1.TransactionOptions.ReadOnly

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ read_time
Google\Protobuf\Timestamp

Reads documents at the given time. This may not be older than 60 seconds.

getReadTime

Reads documents at the given time.

This may not be older than 60 seconds.

Returns
Type
Description

hasReadTime

setReadTime

Reads documents at the given time.

This may not be older than 60 seconds.

Parameter
Name
Description
Returns
Type
Description
$this

getConsistencySelector

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: