
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
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Looking for Partner
I'm looking for a partner for long-term collaboration. Of course, you'll get paid for it. If you are interested, please send a DM to me
- Network error when attempting to fetch r...
Hi, I am trying to modify some database data in the console for testing but keep getting this error. I am on the appwrite cloud and have already tried clearing ...
