-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
0 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
-- By default, SurrealDB will push the entire record over the websocket when created or updated, and just the record's ID when deleted. | ||
LIVE SELECT * FROM person; | ||
|
||
-- When using the DIFF mode, updates will be sent in the form of an array with JSON Patch messages. | ||
LIVE SELECT DIFF FROM person; | ||
|
||
-- You can optionally apply filters with the WHERE clause. | ||
LIVE SELECT * FROM person WHERE age > 18; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters