-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Labels
featureNew feature or enhancement requestNew feature or enhancement request
Description
Is your feature request related to a problem? Please describe.
It would be very useful to be able to insert or modify a value at a particular path, essentially the inverse of the at_path(...).value_or(...) method chain.
Describe the solution you'd like
Something like tbl.at_path(...).insert_or_update(...). At the moment it seems like I would need to parse the path string myself to find the correct parent table to then call insert_or_assign, which is unfortunate since the path-parsing code already exists in the library. Or is there a canonical way of doing this already that I'm missing?
Metadata
Metadata
Assignees
Labels
featureNew feature or enhancement requestNew feature or enhancement request