https://docs.microsoft.com/en-us/dotnet/framework/data/adone...
Then there's this write-up of someone replacing rethinkdb with postgres for live queries - (including a link to some code)
http://blog.sagemath.com/2017/02/09/rethinkdb-vs-postgres.ht...
Have you any plans already of how you will go about this?