Hi everyone, I am relatively new to Velo and need some help getting started. I want to be able to Sum up a column in my database IF the current user and _Owner field in the data base match. I want this summed up value to be presented in one text input on my page. I am sure i am not going about it the correct way, but this is what i Have so far. Can some one please help?
const filter = wixData.filter().eq("_owner", userId)
and that should do the trick.
Also don’t forget to add a catch
to your then
to collect error