if i add this code:
sale.equalTo('approved', true)
moralis cant find an object.
In db “approved” flag is true
if i add this code:
sale.equalTo('approved', true)
moralis cant find an object.
In db “approved” flag is true
maybe it is an access right problem and not an equalTo problem
did you try with useMasterKey, does current user has access rights to read all the data?
if you comment that line with equalTo then it returns all the expected data?