Hey guys,
I’m trying to query data of users connected to my website as follows:
const {isWeb3Enabled, account, user} = useMoralis()
const { data: ownerWhoopys, isFetching: fetchingListedWhoopys, fetch } =
useMoralisQuery("CreatedWhoopys", (query) =>
query.equalTo("creatorAddress", account).limit(100).ascending("whoopyName"),
[account]
)
console.log(ownerWhoopys);
console.log(account)
The query doesn’t work and I believe this is because Moralis Queries the database using lowercase, and the addresses stored in the database are a mix of upper and lower case. Is there any way to fix this?
Thanks!