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).
#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.