aboutsummaryrefslogtreecommitdiffstats
path: root/docs/get-started-cli.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/get-started-cli.md')
-rw-r--r--docs/get-started-cli.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/get-started-cli.md b/docs/get-started-cli.md
index 22c0a0f..46ee2cb 100644
--- a/docs/get-started-cli.md
+++ b/docs/get-started-cli.md
@@ -25,7 +25,7 @@ Take note of the `$fileName` in the output. Note that it should be different for
```json
{
- "$fileName": "9474f0eb-06d7-4fd8-b89e-0ce996962508.json",
+ "$id": "9474f0eb-06d7-4fd8-b89e-0ce996962508",
"description": "Welcome to Biscotte restaurant! Restaurant Biscotte offers a cuisine based on fresh, quality products, often local, organic when possible, and always produced by passionate producers.",
"name": "Biscotte Restaurant"
}
@@ -37,7 +37,7 @@ Take note of the `$fileName` in the output. Note that it should be different for
acms collection add category <<'EOF'
{
"name": "French Food",
- "restaurant": { "$ref": "restaurant/9474f0eb-06d7-4fd8-b89e-0ce996962508.json" }
+ "restaurant": { "$ref": "restaurant/9474f0eb-06d7-4fd8-b89e-0ce996962508" }
}
EOF
```
@@ -46,7 +46,7 @@ EOF
acms collection add category <<'EOF'
{
"name": "Brunch",
- "restaurant": { "$ref": "restaurant/9474f0eb-06d7-4fd8-b89e-0ce996962508.json" }
+ "restaurant": { "$ref": "restaurant/9474f0eb-06d7-4fd8-b89e-0ce996962508" }
}
EOF
```
@@ -68,7 +68,7 @@ curl 'http://localhost:8081/api/query' --data '
LEFT JOIN
category
ON
- category.restaurant == restaurant.$fileName
+ category.restaurant == restaurant.$id
' | jq .
```