surrealdb/surrealdb.go

Add support for Live Queries

phughk opened this issue · 2 comments

phughk commented

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.

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

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!