X
Xata2mo ago
Raveen

Search Method Cache issue

I'm using the xata.db.tablename.search method to retrieve data, and when I update or delete a data and immediately try to re-fetch records I get the old values only and only after few seconds I get the changed value. I think it might be cache, if so is there any way to clear it and get updated value ?
2 Replies
cmck
cmck2mo ago
Updated/inserted records are replicated to the Search store from the transactional store. This means that search is eventually consistent and a slight delay is expected.
Searching records
Effectively search records using the Xata SDK with TypeScript or JSON
Raveen
RaveenOP2mo ago
ok Thanks
Want results from more Discord servers?
Add your server