Merging row in moralis database

We have created smart contract which updates the moralis database.
we have created event and that event is syncing with the database but its creating new rows in one event but we want it in one row can anyone help us out from this…

Hi @Hackermonks

I’m not sure if I got your qeustion right. But I guess you can achieve that with beforesave trigger. It will be trigered after contract events and you can create a logic of updating the existing row indtead of creating new.

Feel free to ask any questions :man_factory_worker: