I m using the low-level API in the App Engine Datastore . To retrieve an entity I use
Entity post = datastore.get(postKey);
but this code will return only the post with this postkey. What shall i do if i want to return all the posts ?
I m using the low-level API in the App Engine Datastore . To retrieve an entity I use
Entity post = datastore.get(postKey);
but this code will return only the post with this postkey. What shall i do if i want to return all the posts ?
Copyright © 2021 Jogjafile Inc.
you need todo a query, not a get,
get ist just a single instance by id, query is result of your query.
just do: