You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -297,63 +297,6 @@ LoggingHandler.addHandler(logger, new LoggingHandler());
297
297
logger.warning("test warning");
298
298
```
299
299
300
-
Google Cloud Datastore (GA)
301
-
----------------------
302
-
303
-
- [API Documentation][datastore-api]
304
-
- [Official Documentation][cloud-datastore-docs]
305
-
306
-
*Follow the [activation instructions][cloud-datastore-activation] to use the Google Cloud Datastore API with your project.*
307
-
308
-
#### Preview
309
-
310
-
Here are two code snippets showing simple usage examples from within Compute/App Engine. Note that you must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
311
-
312
-
The first snippet shows how to create a Datastore entity. Complete source code can be found at
Copy file name to clipboardExpand all lines: google-cloud-datastore/README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,11 +136,30 @@ while (results.hasNext()) {
136
136
137
137
Cloud Datastore relies on indexing to run queries. Indexing is turned on by default for most types of properties. To read more about indexing, see the [Cloud Datastore Index Configuration documentation](https://cloud.google.com/datastore/docs/tools/indexconfig).
138
138
139
+
#### Updating data
140
+
Another thing you'll probably want to do is update your data. The following snippet shows how to update a Datastore entity if it exists.
Suppose that you've added more buckets and blobs, and now you want to see the names of your buckets and the contents of each one. Add the following code to list all your buckets and all the blobs inside each bucket.
0 commit comments