Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::RunQueryResponse.
The response for Datastore.RunQuery.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#batch
def batch() -> ::Google::Cloud::Datastore::V1::QueryResultBatch
- (::Google::Cloud::Datastore::V1::QueryResultBatch) — A batch of query results (always present).
#batch=
def batch=(value) -> ::Google::Cloud::Datastore::V1::QueryResultBatch
- value (::Google::Cloud::Datastore::V1::QueryResultBatch) — A batch of query results (always present).
- (::Google::Cloud::Datastore::V1::QueryResultBatch) — A batch of query results (always present).
#explain_metrics
def explain_metrics() -> ::Google::Cloud::Datastore::V1::ExplainMetrics
- (::Google::Cloud::Datastore::V1::ExplainMetrics) — Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
#explain_metrics=
def explain_metrics=(value) -> ::Google::Cloud::Datastore::V1::ExplainMetrics
- value (::Google::Cloud::Datastore::V1::ExplainMetrics) — Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
- (::Google::Cloud::Datastore::V1::ExplainMetrics) — Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
#query
def query() -> ::Google::Cloud::Datastore::V1::Query
-
(::Google::Cloud::Datastore::V1::Query) — The parsed form of the
GqlQuery
from the request, if it was set.
#query=
def query=(value) -> ::Google::Cloud::Datastore::V1::Query
-
value (::Google::Cloud::Datastore::V1::Query) — The parsed form of the
GqlQuery
from the request, if it was set.
-
(::Google::Cloud::Datastore::V1::Query) — The parsed form of the
GqlQuery
from the request, if it was set.
#transaction
def transaction() -> ::String
-
(::String) — The identifier of the transaction that was started as part of this
RunQuery request.
Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.
#transaction=
def transaction=(value) -> ::String
-
value (::String) — The identifier of the transaction that was started as part of this
RunQuery request.
Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.
-
(::String) — The identifier of the transaction that was started as part of this
RunQuery request.
Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.