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 ?
You'll have to manage this yourself. maybe fetch the last one and then increment
@Steven thank you for info.
Recommended threads
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...
- DNS bug
Hello, we found bug at the Appwrite Cloud Domains, when changing **only ** the Comment of CNAME, we get error DNS record already exists. Some DNS types do not ...
- Duplicate Billing Issue – Charged Twice ...
Hi Appwrite team, I noticed that my card was charged twice for the subscription payment ($25 each), even though I only intended to make a single payment. Coul...