How do you handle models with custom route keys?

I have articles, their route key is a slug column - I can't see anywhere in the filament docs how to handle this. I'm fine if filament wants to fetch models based on their id, rather than the slug - but it trips over itself:

SELECT
  *
FROM
  "articles"
WHERE
  "id" = getting - acquainted - WITH - brevant
limit
  1


How is this meant to be handled?
Was this page helpful?