Deleted database still returning data
Just started out with Neon and while experimenting I deleted a database yet data was being returned to my Nextjs/Drizzle app.
Just trying to make sense of this
5 Replies
exotic-emerald•2y ago
Hey @cona. This is definitely odd behavior. You should be getting an error. Are you sure that Nextjs is not caching the response by any chance?
This is Next.js' current default behavior as far as I know
sensitive-blueOP•2y ago
Agree but tried everything. Definitely caching somewhere but I couldn't identify. Eventually just created a db with adiff name
automatic-azure•2y ago
one thing you could try to do to narrow down the problem is use psql to connect to your deleted database
then you could confirm that it is somewhere else in your stack or it is neon being wonky
sensitive-blueOP•2y ago
Thanks - I confirmed that I couldn't access db to write
exotic-emerald•2y ago
That's great to hear!