Hello Guys,
I have been tring Delete multiples records in one aggregation but i just can delete one per one (using foreach) but the performance of this is so bad, are there another way to delete one list of records (without foreach) ?
Hi Geuvan,
To delete multiple records in bulk you have to use an Advanced Query: https://success.outsystems.com/Documentation/10/Developing_an_Application/Use_Data/Query_Data/Write_Your_Own_SQL_Queries
João Neves wrote:
Yeah, but i can't do it from client side, and i need to delete local storage records . =/
On client-side you can either use DeleteAll or Delete one-by-one.
I had been toght
Geuvan,
I don,t know if this trick will have performance. But you could try it:
1. Duplicate your original record list
2. remove your selected itens only from this duplicated list
3. delete all record on local storage
4. create all from the duplicate list
I believe this will be a quite fast than remove one by one directly.
Regards
Fabio
Can use a mobile recorder https://mobilerecorder24.com/ u can try to delete ur records from this app, it will be easy.