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
- No domain visible after creating functio...
Saw this in docs yet i have no domain (Pro): ``` Generated domains In the Appwrite Console's sidebar, click Functions. Under the Domains tab, you'll find the g...
- Confusion around Tables / TablesDB vs Da...
Hello everyone, I ran into quite a bit of confusion when trying to migrate a Function from Databases.createDocument() to the new Tables / Rows API and wanted t...
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...