diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-12-05 20:40:29 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-12-05 20:40:29 +0000 |
| commit | b59bd8725ab5f0694ee932a7c7f766b47b1108d2 (patch) | |
| tree | d5ae10d1934fdebb408faf5314635eb7a79c36f2 /examples/18-database/src/data.hob | |
| parent | 1b1bc8da447447440a214f8bd5a721dd9dc2cf73 (diff) | |
Support filtering in queries
Diffstat (limited to 'examples/18-database/src/data.hob')
| -rw-r--r-- | examples/18-database/src/data.hob | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/18-database/src/data.hob b/examples/18-database/src/data.hob index 927f4f1..adec174 100644 --- a/examples/18-database/src/data.hob +++ b/examples/18-database/src/data.hob @@ -14,9 +14,9 @@ query allAuthors() { return Data.authors; } -//query authorsByFixedId() { -// return Data.authors.where($(author) => author.id == 42); -//} +query authorsByFixedId() { + return Data.authors.where($(author) => author.id == 42); +} //query authorsByName(name: String) { // return Data.authors |
