Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Live Queries #80

Closed
phughk opened this issue Jul 20, 2023 · 2 comments
Closed

Add support for Live Queries #80

phughk opened this issue Jul 20, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers release-related Changes relevant for releases and release notes

Comments

@phughk
Copy link
Contributor

phughk commented Jul 20, 2023

We would like to have live queries be supported by the driver.

The idea behind live queries, is that clients can invoke the query LIVE SELECT * FROM table and they will get a UUID in response. Then when changes happen to the table table, they will get json messages over the websocket protocol, that are associated with the live query uuid provided earlier.

This change is about handling the live query responses, as users should already be able to invoke the raw SurrealQL query. This can be buffered into a channel that can be read from.

@phughk phughk added enhancement New feature or request good first issue Good for newcomers release-related Changes relevant for releases and release notes labels Jul 20, 2023
@UtkarshUmre
Copy link

I'm interested in contributing to this issue and would like to confirm if it's still open. Please let me know if there's any specific guidance or requirements for contributing to this feature

@phughk
Copy link
Contributor Author

phughk commented Nov 27, 2023

This has already been resolved in #105 I believe. Closing, but if you would like advice on what you can pick up @UtkarshUmre then happy to chat it out!

@phughk phughk closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers release-related Changes relevant for releases and release notes
Projects
None yet
Development

No branches or pull requests

2 participants