LokiJS icon indicating copy to clipboard operation
LokiJS copied to clipboard

Adding row to specific position

Open dilagurung opened this issue 5 years ago • 1 comments

Had walkthrough of document but could not find the function for adding data to specific position/row of existing collection.

Lets say we have an existing collection: [{a:1},{a:2},{a:3},{a:4},{a:5},{a:5}] now I need to insert new value {a:0} on 0th index. So I am looking for something like unshift() in javascript.

dilagurung avatar Jun 27 '21 06:06 dilagurung

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 08:01 stale[bot]