bluzi/jsonstore

Is it possible to push to an array without reading it first?

Open

#33 opened on May 30, 2018

View on GitHub
 (8 comments) (1 reaction) (0 assignees)JavaScript (88 forks)batch import
help wanted

Repository metrics

Stars
 (2,036 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have a store where I have a list of songs: "tracks": ['track1', 'track2'] Is it possible to push track3 to the array?

Or should I GET the tracks first, push to my local array and then PUT the result?

Contributor guide