Kraigie / nostrum

Elixir Discord Library
https://kraigie.github.io/nostrum/
MIT License
588 stars 125 forks source link

Cache Adapters & QLC: Example Postgres Adapter #563

Open jb3 opened 2 months ago

jb3 commented 2 months ago

We should document some hypothetical custom cache adapters for things like PostgreSQL or other databases.

We need to show how to get a QLC handle on these external stores so that cache querying can continue.

In doing this, we should ensure that the implementation burden for QLC handles does not make cache adapters "unadaptable".