Please increase your query limit, please

Hi.

@ahmadnasriya I have followed the instructions you provided before to query a database collection, in my case, with more than 18K registers. This is the code:

export async function queryWithWhile ( ){
return wixData . query ( ‘misProveedores’ )
. limit ( 1000 )
. find ()
. then ( async result => {
let all_items = [];

    all_items  =  all_items . concat ( result . items ); 
    
    **while**  ( result . hasNext ()) { 
        **const**  temp  =  **await**  result . next (); 
        all_items  =  all_items . concat ( temp . items ); 
    } 
    
    **return**  all_items ; 
}) 

}

But, I do not receive the response and the function output shows me this message: “WebMethod request timed-out after 14 seconds… Did you forget to resolve a promise?”

BTW I have tried with Promise.all() method and it does not work either. I noticed that I only can get up to 3K registers in the result.

Am I doing something wrong?