We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 245a077 commit 39aed7eCopy full SHA for 39aed7e
1 file changed
datastore/src/test/java/com/google/datastore/snippets/ConceptsTest.java
@@ -33,6 +33,7 @@
33
import com.google.cloud.datastore.IncompleteKey;
34
import com.google.cloud.datastore.Key;
35
import com.google.cloud.datastore.KeyFactory;
36
+import com.google.cloud.datastore.ListValue;
37
import com.google.cloud.datastore.PathElement;
38
import com.google.cloud.datastore.ProjectionEntity;
39
import com.google.cloud.datastore.Query;
@@ -224,7 +225,7 @@ public void testArrayValue() {
224
225
// [START datastore_array_value]
226
Entity task = Entity.newBuilder(taskKey)
227
.set("tags", "fun", "programming")
- .set("collaborators", "alice", "bob")
228
+ .set("collaborators", ListValue.of("alice", "bob"))
229
.build();
230
// [END datastore_array_value]
231
assertValidEntity(task);
0 commit comments