How to make a column with unique values only, in moralis database?

I am trying to store unique values inside a column, apart from objectId i want other columns to have unique value as well.

maybe you can try to use an index, or use beforeSave to check for uniqueness

1 Like