drizzle-team / drizzle-team/drizzle-orm
[BUG]: rows count in the sidebar and in the main view is not in sync in drizzle studio
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Report hasn't been filed before.
- [x] I have verified that the bug I'm about to report hasn't been filed before.
### What version of `drizzle-orm` are you using?
^0.36.0
### What version of `drizzle-kit` are you using?
^0.27.1
### Other packages
_No response_
### Describe the Bug
let's say if I have only one row in the table data and then I deleted it from my app("calling delete api"), If I will go click on the another table name in my drizzle studio("assuming we have multiple tables") then again I will stumble upon the same table where my actual data was("only 1 row") so now I will not see that row in that table which was expected as we have called the delete endpoint which worked fine but the number of rows in the sidebar should be 0 not 1 but still it's showing as 1 instead of 0.
I have to hit the refresh button then only I can see the count 0.
Hope I am clear enough,

Contributor guide
Assessment
This issue has not been assessed yet.