GamiusG
Convex Community13mo ago
23 replies
Gamius

unique() query returned more than one result

Hello Support,
Ive a question about our database.
I get the error: "Uncaught Error: unique() query returned more than one result" if I have more than one document with an empty string.
I know its unique but I also cant set more than one to unset.
What should I do if I dont want to safe a value and want to make the value unset?
Was this page helpful?