lib/google/cloud/firestore/v1/firestore/client.rb in google-cloud-firestore-v1-0.4.6 vs lib/google/cloud/firestore/v1/firestore/client.rb in google-cloud-firestore-v1-0.4.7
- old
+ new
@@ -1042,10 +1042,12 @@
# `projects/my-project/databases/my-database/documents` or
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
# @param structured_query [::Google::Cloud::Firestore::V1::StructuredQuery, ::Hash]
# A structured query.
# @param transaction [::String]
- # Reads documents in a transaction.
+ # Run the query within an already active transaction.
+ #
+ # The value here is the opaque transaction ID to execute the query in.
# @param new_transaction [::Google::Cloud::Firestore::V1::TransactionOptions, ::Hash]
# Starts a new transaction and reads the documents.
# Defaults to a read-only transaction.
# The new transaction ID will be returned as the first response in the
# stream.