We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da8066 commit f364a21Copy full SHA for f364a21
dgraph/self-hosted.mdx
@@ -279,7 +279,14 @@ if [[-f "exported_data/g01.json.gz"]]; then zcat exported_data/g01.json.gz | jq
279
280
```bash Schema Validation
281
# Validate schema syntax
282
-if [[ -f "schema.graphql" ]]; then
+if [ -f "exported_data/g01.rdf.gz" ]; then zcat exported_data/g01.rdf.gz | wc -l
283
+fi
284
+
285
+# For JSON exports, validate structure
286
287
+if [ -f "exported_data/g01.json.gz" ]; then zcat exported_data/g01.json.gz | jq '.[] | keys' | head -10
288
289
290
# Basic GraphQL syntax check
291
node -e "
292
const fs = require('fs');
0 commit comments