362
Views
6
Comments
Delete list of records (Mobile)
Question

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) ?

2016-11-20 11-27-52
João Neves

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

UserImage.jpg
Geuvan  Junior

João Neves wrote:

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

Yeah, but i can't do it from client side, and i need to delete local storage records . =/


2016-11-20 11-27-52
João Neves

On client-side you can either use DeleteAll or Delete one-by-one.

UserImage.jpg
Geuvan  Junior

João Neves wrote:

On client-side you can either use DeleteAll or Delete one-by-one.

I had been toght


2026-03-09 12-26-51
Fábio Fantato
 
MVP

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


UserImage.jpg
vondes vondes

Can use a mobile recorder https://mobilerecorder24.com/ u can try to delete ur records from this app, it will be easy.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.