#how to create a generate unique Id ?

1 messages · Page 1 of 1 (latest)

strange rover
#

hi, I want to generate id like Sale-00001, Sale-00002
where the id of the my sale collection will be reset each time the prefix change. How can do it by tracking existing records and incrementing?
Is there any appwrite package to do it easily ? cloud you guy show me the right way ?

spark patrol