X
Xata3d 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
cmck19h 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
Raveen16h ago
ok Thanks
Want results from more Discord servers?
Add your server