Stay organized with collections
Save and categorize content based on your preferences.
Datastore
is a NoSQL document database built for automatic scaling, high performance, and
ease of application development.
The pages in this section describe how to access Datastore with
App Engine APIs. Apps that use these APIs can only run in
App Engine and will need to upgrade to the
recommended Google Cloud APIs
before migrating to newer App Engine runtimes. The recommended APIs for
Datastore are in the Google Cloud Client Library and enable your
app to run in App Engine as well as other environments that support Java 8.
Using Objectify with Datastore
Instead of using App Engine APIs or Google Cloud APIs, you can use Objectify
to access Datastore.
Objectify
is an open-source API for Cloud Datastore that provides a higher-level of
abstraction than App Engine APIs and Google Cloud APIs. While apps that use
earlier versions of Objectify can only run in App Engine, apps that
use version 6 and later can run in App Engine as well as other
environments that support Java 8.
If you plan to use Objectify, it's recommended that you use version 6
or later.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This API is designed for first-generation runtimes and is relevant when upgrading to second-generation runtimes."],["Apps using these App Engine APIs can only run in App Engine and must upgrade to the recommended Google Cloud APIs before migrating to newer runtimes."],["The Google Cloud Client Library is the recommended API for Datastore and allows apps to run in App Engine and other environments."],["Objectify, an open-source API, offers a higher-level abstraction for accessing Datastore, and version 6 or later can run in multiple environments."],["While Objectify is mentioned, Google Cloud Platform does not provide direct support for this third-party library."]]],[]]