字段比较查询wherecolumnDB::table('article')->whereColumn('updated_at', '>', 'created_at')->get();本文转载至 laravel字段比较查询wherecolumn