Skip to content

Invalidate cached INSERT metadata  #295

@slvrtrn

Description

@slvrtrn

Something to be careful with this kind of caching is the user may make concurrent changes to the table which invalidates the cached metadata. This could easily happen if they run migrations during a rolling upgrade of an application.

We've had problems with this in SQLx WRT prepared statement caching.

This isn't necessarily a bad idea, but at the very least you should provide a method for the user to manually invalidate the cache.

Originally posted by @abonander in #244 (comment)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions