Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

MultiQuery Support to Ease Migration #184

@speedplane

Description

@speedplane

This library should support the MultiQuery class (docs, source) found in the original datastore API.

Background

According to the App Engine migration guide, the original API is being phased out and developers are being asked to port their code to the GCL libraries. Unfortunately, these newer libraries are missing some of the features found in the older libraries.

The older datastore API supported the class google.appengine.api.datastore.MultiQuery. This class could run multiple queries at once and then merge sort the results in memory. There were plenty of limitations with the MultiQuery class, including large result sets and cursors. However, there are several main advantages:

  1. Supporting MultiQuery will ease transition from the old API to the new one
  2. It is a helpful tool for quickly being able to perform many queries at once.
  3. It can assist middleware developers when implementing database IN operators.

Accordingly, I propose a similar class be built for the new datastore libraries.

If MultiQuery is not supported, some migration solution should be outlined in the migration guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions