
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
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
