Search the docs
Languages
/
.NET
Methods
The .NET SDK for SurrealDB enables you to listen for changes to records in a table.
Initiate a live query from a SurrealQL statement.
Method Syntax
await db.LiveQuery<T>(sql)
sql
cancellationToken
const string table = "person"; await using var liveQuery = await db.LiveQuery<Person>($"LIVE SELECT * FROM type::table({table});");// Consume the live query...
Was this page helpful?
Previous
ListenLive
Next
LiveRawQuery