Good Prompts

Select only the database fields you need

Database queries fetch whole rows while using only a few fields.

Posted by
@_dylanga
Added
Scope
Performance · runs in a repo
  • 927likes
  • 13replies
  • 31shares
  • 108Kviews

prompt

find every place we load a whole row from the database just to read a couple of fields. instead, select only what we need

verified·fix it on github