Hey guys,
Iām currently making two different (but similiar) queries to the same table in my database as follows:
const { data: whoopyP2a, isFetching: fetchingWhoopyP2a } =
useMoralisQuery(
"CreatedWhoopys",
(query) => query.equalTo("creatorAddress", "0xDD8C868Ee486e2D0778b7c174917a15ce2a4530A").limit(limit).descending("updatedAt"),
{
live: true,
}
);
const { data: listedWhoopys, isFetching: fetchingListedWhoopys } =
useMoralisQuery(
"CreatedWhoopys",
(query) => query.limit(limit).descending("updatedAt"),
[limit],
{
live: true,
}
);
Is there any way I can exclude the items in whoopyP2a
from the data returned in listedWhoopys
? They are both queries from the same table.
Thanks!