I have the following code I make a call to my database and I get a json in return. However my problem is that after the call is made from de db and I store the results in a