Skip to content

Instantly share code, notes, and snippets.

@leben-jp
Created November 14, 2021 14:51
Show Gist options
  • Save leben-jp/b60bb1c731e7267d017776d77b50d30f to your computer and use it in GitHub Desktop.
Save leben-jp/b60bb1c731e7267d017776d77b50d30f to your computer and use it in GitHub Desktop.
//もっとも最近に更新されたレコード
$lastUpdatedUser = User::newest('updated_at')->first();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment