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
- Failed to receive appwrite reset passwor...
Hey there, I forgot my password for my appwrite account but when i use forgot password, i dont get an email to reset the account but when i try to create a new ...
- Opening Project I get "500 Internal Erro...
Opening Project I get "500 Internal Error" added what i see on the page and in dev console
- Envvar editor var count mismatch
It shows i got 30 vars, but i can only count 22 + 3 secret. It's very confusing. Can't figure if it is hiding some or just counting wrong.