Realising that we need a section in the JSDB readme on how to update query results (TL; DR: just update them, they’re reactive and will automatically be persisted).

Also: I might need to implement a breaking change to have methods that return single elements return an empty object instead of undefined to allow chaining on updates without additional conditional nullish checks.

(Thanks to @djsundog for opening the issue.)

· · Web · 0 · 1 · 3
Sign in to participate in the conversation
Aral’s Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!