Skip to content

Commit 36fd63f

Browse files
committed
Doc fix
1 parent ba5a885 commit 36fd63f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/capabilities/live-queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,13 +411,13 @@ LinkedQL’s live views are ordinary JavaScript objects and arrays. They simply
411411

412412
And here’s how that plays out across runtimes: because they use the [Observer API](https://github.com/webqit/observer) protocol, you get automatic binding and mutation-based reactivity across contexts or runtimes where mutations are a first-class concept.
413413

414-
For example, with Webflo’s *live response* capability, `result.rows` — like any object — can be returned from a route, with reactivity preserved over the wire.
414+
For example, with the[ Webflo framework](https://github.com/webqit/webflo)’s *[live response](https://webflo.netlify.app/docs/concepts/realtime#live-responses)* capability, `result.rows` — like any object — can be returned from a route, with reactivity preserved over the wire.
415415

416416
```js
417417
export default async function(event) {
418418
const result = await client.query(`SELECT * FROM posts`, { live: true });
419419
event.waitUntilNavigate(); // Tell Webflo to keep the connection open until the user navigates away
420-
return { list: result.rows };
420+
return { posts: result.rows };
421421
}
422422
```
423423

0 commit comments

Comments
 (0)