GetMongoClient and Transactions?

Hi @nirinchev,

I’m contemplating using Realm’s GetMongoClient for a server component to directly access the documents in Atlas. But I can’t seem to find any transaction handling exposed. Is this something we will see in the near future for the .NET Realm API ?

Regards,
Tim

Unfortunately, transactions are only available when using the MongoDB driver (which is what the linked function example does). All Realm SDKs (the .NET one included) don’t use the wire protocol to communicate with MongoDB, but rather go via an HTTP API exposed by MongoDB Realm. Unfortunately, there’s no HTTP API exposed to allow interacting with transactions. I’ll ask the cloud team to see if that’s something on their TODO list, but in the meantime, feel free to suggest it on our feedback portal.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.