Post (Laravel / Cache::memo() or Arr::accessible / Eloquent toSql()):
Calling $query->toRawSql() in Laravel Tinker when debugging a weird Eloquent scope beats guessing where the bindings go in toSql(). Seeing the exact interpolated SQL string ready to paste straight into psql or TablePlus saves so much back-and-forth.
commit cfc03fc