Podcast Lookup

Referencing specific database records in your code

Over Engineered

  • March 31, 2023
  • 1 h 1 min
  • Episode 3

About this episode

Season 1 continues with a discussion of how to deal with special database records that need to be referenced directly in code.

We've all been there before: you've got a specific vendor that you need to write a custom command for, or a certain category that needs special handling, so you either hard-code the ID or slug and shudder slightly before moving on with your life. In this episode, we imagine a better—perhaps the best, even—way!