-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterface_cosmos_sql.graphql
41 lines (41 loc) · 1.15 KB
/
interface_cosmos_sql.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
Cosmos DB SQL items always have these fields. More info here: https://docs.microsoft.com/en-us/azure/cosmos-db/account-databases-containers-items .
"""
interface CosmosSQL{
"""
Either User-defined unique name in a logical partition or system-generated.
"""
id: ID
"""
Partition Key, this is a crucial concept in CosmosDB, will have the same value as the field that is the partition_key.
"""
partition_key: String
"""
Partition Key Field name, this is a crucial concept in CosmosDB, will have the same value as the field that is the partition_key.
"""
partition_key_field: String
"""
System-generated unique identifier of the item.
"""
_rid: String
"""
System-generated addressable URI of the item.
"""
_self: String
"""
System-generated Entity tag used for optimistic concurrency control.
"""
_etag: String
"""
Attachments to the item.
"""
_attachments: String
"""
System-generated Timestamp of the last update of the item.
"""
_ts: Int
"""
ISO Formatted Timestamp of the last update of the item, based on _ts.
"""
timestamp: String
}