Skip to content

Instantly share code, notes, and snippets.

@RatulSaha
Created December 9, 2019 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RatulSaha/bb19fd3ef5b2b98e8f58c32066143f22 to your computer and use it in GitHub Desktop.
Save RatulSaha/bb19fd3ef5b2b98e8f58c32066143f22 to your computer and use it in GitHub Desktop.
"TableFacets": [
{
"FacetName": "GetUserProfile (A1)",
"KeyAttributeAlias": {
"PartitionKeyAlias": "UserId",
"SortKeyAlias": "ProfileId"
},
"NonKeyAttributes": [
"Username",
"Full name",
"Email",
"CreatedAt",
"Addresses"
]
},
{
"FacetName": "GetOrdersofUser (A2)",
"KeyAttributeAlias": {
"PartitionKeyAlias": "UserId",
"SortKeyAlias": "OrderId"
},
"NonKeyAttributes": [
"Username",
"OrderId",
"Status",
"CreatedAt",
"Address"
]
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment