You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.
I think that a set({ x: "h", y: "e", z: "llo" }) (sets database contents to the object)
and a getAsObject() (gets the contents of a database as a object in form {key1: value1, key2: value2, ...}) function would be nice 👍
The text was updated successfully, but these errors were encountered:
Hello @lukas2005! Sorry for the delay in responding, I only recently starting working on this.
While you can't yet do set with a single object as a parameter, you can do something like set('snapshot', { ... }) and get('snapshot') which will both set and get a full JSON object. This is what I've done on applications that I've worked on. Is this helpful? If not, let's talk
I was looking for a similar feature before I came across this issue. I probably missed it in the documentation, but it could be nice if this was documented more clearly.
I think that a
set({ x: "h", y: "e", z: "llo" })
(sets database contents to the object)and a
getAsObject()
(gets the contents of a database as a object in form{key1: value1, key2: value2, ...}
) function would be nice 👍The text was updated successfully, but these errors were encountered: