TAY
笔记 · · 阅读 125

laravel 目前最大楼层 即 获取某列的最大值

$thread->posts()->max('position');
目录