public function post($slug) { // order by reason: LIMIT without ORDER BY causes // non-deterministic results, depending on // the query execution plan return Article::selectSingularColumns()->whereSlug($slug)->published()->orderByDate('created')->firstOrFail(); }