Hi, Iâm having trouble retrieving data from the moralis database.
I already sync my smartcontract event to moralis database
and i have 1 object inside âMembershipâ class in database
the problem is i want to retrieve and get all the information from Membership class but then it just return
my question is how do i solved this problem using Moralis function so i can get all the data item from my Membership class
this is my code :
async function fetchMembership() {
const Membership = Moralis.Object.extend("Membership");
const query = new Moralis.Query(Membership);
query.equalTo("creator", walletAddress);
const result = await query.find();
}