I have client table whcih contains code, was initially interger field, but since it doesn't support full searching. I need to change to string and store it.
But when I try to get the last order number. it doesn't return the correct biggest number. any possible solution or workaround for this
const promise: any = await db.clients.list([
Query.orderDesc("code"),
Query.limit(1),
])
Recommended threads
- Hydration error: Only on firefox, but no...
Hi @everyone, I am getting hydration issues when handling login, signup page with ssr. But this error is only popping on firefox but not on other browsers. Any ...
- Astro's ViewTransition is breaking the O...
I impleted the oath login from this post: https://appwrite.io/docs/tutorials/astro-ssr-auth/step-6 And if I enable view transition, it simply breaks. ```Invali...
- SSR email verification - not sending ema...
I tried to follow the recent tutorial posted by Dennis Ivy, huge respect. I am using appwrite cloud. The user is being created but the verification email is not...