lib/google/cloud/firestore/transaction.rb in google-cloud-firestore-2.13.1 vs lib/google/cloud/firestore/transaction.rb in google-cloud-firestore-2.14.0
- old
+ new
@@ -303,10 +303,10 @@
ensure_service!
return enum_for :get_aggregate, aggregate_query unless block_given?
results = service.run_aggregate_query aggregate_query.parent_path,
- aggregate_query.structured_aggregation_query,
+ aggregate_query.to_grpc,
transaction: transaction_or_create
results.each do |result|
extract_transaction_from_result! result
next if result.result.nil?
yield AggregateQuerySnapshot.from_run_aggregate_query_response result