def build_query(options = {})
      query = CloudDatastore.dataset.query name
      query_options(query, options)
    end
def build_query(options = {})
      query = CloudDatastore.dataset.query name
      query_options(query, options)
    end
Constructs a Google::Cloud::Datastore::Query.

 @param [Hash] options The options to construct the query with.

 @option options [Google::Cloud::Datastore::Key] :ancestor Filter for inherited results.
 @option options [String] :cursor Sets the cursor to start the results at.
 @option options [Integer] :limit Sets a limit to the number of results to be returned.
 @option options [String] :order Sort the results by property name.
 @option options [String] :desc_order Sort the results by descending property name.
 @option options [Array] :select Retrieve only select properties from the matched entities.
 @option options [Array] :distinct_on Group results by a list of properties.
 @option options [Array] :where Adds a property filter of arrays in the format
   [name, operator, value].

 @return [Query] A datastore query.