SwapnaSahooOriginal post
Rank 2: Process
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
Summary
The issue with Query.search() returning all rows in the table has been solved.
Votes
0
Replies
6
Participants
2
Messages
7
Rank 2: Process
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
Rank 2: Process
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 usingRank 2: Process
[SOLVED] Query.search() returning all rows in the table
What was the solution?
Rank 2: Process
Actually it was my mistake I was calling the wrong function
Perfect, glad you realized it
Rank 2: Process
Yes. Thanks for reply.