from query builder with alias to eloquent

后端 未结 0 855
谎友^
谎友^ 2021-01-31 08:20

I have this query builder object:

$items = DB::table(\'messages as t1\')
    ->join(DB::raw(\'(
    SELECT max(send_date) MaxPostDate, user_id
    FROM message         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题