Skip to content

Commit

Permalink
Support entities with key property
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Aug 4, 2023
1 parent 1be9d5e commit f6fde05
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bin/initialize-dev-db.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,27 @@ await call("commit", {
],
});

await call("commit", {
mode: "NON_TRANSACTIONAL",
mutations: [
{
insert: {
key: {
partitionId: {
projectId: projectID,
},
path: [{ kind: "KindWithKeyProperty", name: "Entity" }],
},
properties: {
key: {
integerValue: 14,
},
},
},
},
],
});

await call("commit", {
mode: "NON_TRANSACTIONAL",
mutations: [
Expand Down

0 comments on commit f6fde05

Please sign in to comment.