Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Work around immutable datastore.MultiQuery #101

Open
tsteinruecken opened this issue Oct 4, 2018 · 0 comments
Open

Work around immutable datastore.MultiQuery #101

tsteinruecken opened this issue Oct 4, 2018 · 0 comments
Assignees
Labels

Comments

@tsteinruecken
Copy link
Contributor

		from google.appengine.api import datastore
		from google.appengine.datastore import datastore_query

		queries = []
		q = datastore.Query(kind="testkind")
		q["testprop ="] = "teststr"
		queries.append(q)

		qry = datastore.MultiQuery(queries, [])
		qry.Order(("sortindex", datastore_query.PropertyOrder.ASCENDING)) #  << Fails here
		return qry.Run()
@tsteinruecken tsteinruecken self-assigned this Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant