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
I couldn't find in the docs or source how to delete a row in an array/table. Is that a feature or am I looking in the wrong place? I see updating works but I'm not sure how to delete a row.
I could resort to deleting the table and replacing it with the table-without-that-row but that seems brutish :-)
Thanks again!
The text was updated successfully, but these errors were encountered:
To delete from an array, just use the regular array methods (pop, splice, etc.) Note that splicing can be slow (to see what it does, perform it and then cat your database table in terminal and see exactly how it works.
I like jsdb! So thanks :-)
I couldn't find in the docs or source how to delete a row in an array/table. Is that a feature or am I looking in the wrong place? I see updating works but I'm not sure how to delete a row.
I could resort to deleting the table and replacing it with the table-without-that-row but that seems brutish :-)
Thanks again!
The text was updated successfully, but these errors were encountered: