summaryrefslogtreecommitdiff
path: root/examples/18-database/src/data.hob
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-12-05 21:14:00 +0000
committerMichael Williamson <mike@zwobble.org>2026-12-05 21:14:00 +0000
commitf7bbf52c8cad3c28fbc75b8628bde3cba8cd0d24 (patch)
tree8d97365e8c811a1835cbc46b7829e9ce2a4a12e3 /examples/18-database/src/data.hob
parentb59bd8725ab5f0694ee932a7c7f766b47b1108d2 (diff)
Test authorsByFixedId example query
Diffstat (limited to 'examples/18-database/src/data.hob')
-rw-r--r--examples/18-database/src/data.hob2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/18-database/src/data.hob b/examples/18-database/src/data.hob
index adec174..9c813c3 100644
--- a/examples/18-database/src/data.hob
+++ b/examples/18-database/src/data.hob
@@ -15,7 +15,7 @@ query allAuthors() {
}
query authorsByFixedId() {
- return Data.authors.where($(author) => author.id == 42);
+ return Data.authors.where($(author) => author.id == 2);
}
//query authorsByName(name: String) {