How to get a value from a database based on a value from the same row, but different column - pls help!!!!!!!!!!

@pekrzyz I think we’re saying the same thing, but just to clarify Re: "Therefore it is my understanding that the await clauses will need the async before function name. "…

An await requires an async for the “containing” function. Therefore, something like this would be needed if using an await in a .then() function :

.then( async () => {
   let obj = await getObject(); // call to function returning a Promise
}

The function that contains the above code wouldn’t need an async, unless it itself calls a function using await.