Problem with Async functions

That was it :slight_smile:
Can’t thank you enough!!!
Thank you!!

So–just is it good as a general rule when i’m working with this type of proccess to do it like the way you indicated above?

async function thefunction(){
let results = await wixData.query('Database') 
//This line will run after the first query
let results2 = await wixData.query('Database2') 
//This line will run after the second query
let results3 = await wixData.query('Database3') 
//This line will run after the third query
}