step-up-labs / firebase-database-dotnet

C# library for Firebase Realtime Database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create but not overwrite

monodop opened this issue · comments

Is there a way to create a new document, but not override any existing documents if they exist? PutAsync is described as "Sets or overwrites data at given location". PostAsync creates a new document with a generated key. I'd like to specify my own key, and only make changes to the database if no there is no existing document with the provided key.

AFAIK this is not possible

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

Closing the issue due to inactivity. Feel free to re-open