How to delete all records for a condition
I use this block but it shows some error like this after deleting one record.
No _id property was specified in the provided row…
Here I am trying to create a record from pending orderlist table to completed orderlist table and it is working fine. After creating I want to remove the same from pending orderlist table.
This also works but removes only one record from pending orderlist table.
j has the items from pending orderlist table and looped. I am using the same object for adding to completed orderList table and also for removing from Pending OrderList table.
I think now it is clear.
Thanks.
Ok Let us leave about this error
Can you please explain me how to move records from one table to another for a given field. For eg. I want to move all records from table a to table b for itemid = 5.
Thanks.