1 votes

Currently to update a nested attribute a user will need to update the entire nested object in order to get one element changed.

it Would be more user friendly to specify with dot notation the desired attribute to update.

say there is an entry in the a person table that looks like:

{
id: 1,
name: "Cool Rick",
status: "pretty good",
favorites: {
band: "Beastie Boys",
clothing: "Track Suits"
}
}

A better way to change the favorites object would look like:

{
operation: "update",
schema: "dev",
table: "person",
records: [
{
id: 1
"favorites.song": "Sabotage"
}
]
}

Suggested by: Kyle Upvoted: 28 May Comments: 0

Under consideration Core Feature NoSQL

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators