TypeScript
Query.startsWith('familyNameEN', params.searchTerm!),
Query.limit(params.pageSize!),
// Query.offset(getOffsetSize(params.pageNumber!, params.pageSize!))
]))```
TL;DR
The developers were discussing an issue with an invalid query containing "OR" and "limit." It was explained that OR queries can only contain filter queries like "startswith" OR "equals." The code provided shows an example of a proper query using "startswith" OR "equals" without the limit and offset included within the OR query.limit and offset would not go in the or
It wouldn't make sense to have starts with OR limit. You could do startswith OR equals for example.
okay . make sense
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itโs mention that only setup client with endpoint / api key is enou...