When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
TL;DR
The issue with Query.search() returning all rows in the table has been solved.TypeScript
try {
return await tablesDB.listRows<Post>({
databaseId: CRIC_TALK_DATABASE_ID,
tableId: POSTS_TABLES_ID,
queries: [Query.search("content", query)],
});
} catch (error) {
console.log(`Error while searching posts ${error}`);
throw error;
}
}```
this is the code i am using
[SOLVED] Query.search() returning all rows in the table
11 Feb, 2026, 13:25
What was the solution?
11 Feb, 2026, 14:38
Perfect, glad you realized it
11 Feb, 2026, 16:06
Yes. Thanks for reply.
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.