How can I efficiently retrieve settings from my database?
I am saving certain setting keys in my database using a model called "Settings," which has fields for "id," "server_id," "key," and "value." I often need to retrieve multiple settings at the same time, such as "applications enabled" and "applications channel." I think this method is not efficient, so I want to know if there are other ways to retrieve data from this table using Prisma that would be more efficient.

2 Replies