Skip to content

Commit f43a445

Browse files
committed
add graphql query
1 parent b25ce29 commit f43a445

File tree

6 files changed

+473
-7
lines changed

6 files changed

+473
-7
lines changed

graphqlServer/dab-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"database-type": "cosmosdb_nosql",
55
"connection-string": "AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;",
66
"options": {
7-
"database": "INT2",
7+
"database": "salesops",
88
"container": "engagements",
99
"schema": "schema.graphql"
1010
}

graphqlServer/queryies.graphql

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,16 @@ query getAll {
4343
status
4444
}
4545
}
46+
}
47+
48+
mutation UpdateInternalName {
49+
patchEngagement(
50+
id: "2df9cf31-a915-4c4f-bad4-321954471d25"
51+
item: { internalName: "test"}
52+
_partitionKeyValue: "2df9cf31-a915-4c4f-bad4-321954471d25"
53+
) {
54+
id
55+
internalName
56+
name
57+
}
4658
}

0 commit comments

Comments
 (0)