Hi Everyone,
I have got a problem in fetching attributes of a pointer when make a query from a table. I do have erc20Token pointer as a column in my โBidsโ table and I want to fetch the name attributes of this pointer with other columns using moralis query.
This snippet of code is what I normally do on cloud functions and it is working, but when it comes to the web application it does not fetch the name attributes of erc20Token pointer.
let query = new Moralis.Query('Bids');
query.equalTo("itemsForSale",itemsForSale)
query.select("amount", "amountFiat","fiatCurrency", "cryptoCurrency",
"erc20Token","bidUser","erc20Token.name")
let subscription = await query.subscribe();
Appreciate your help on this matter.