Laravel how to return single column value using Query Builder

前端 未结 0 1705
死守一世寂寞
死守一世寂寞 2021-02-11 21:52

I want to use the data from the SQL Query, to explain it further here is my code:

    $myquery = DB::table(\'attendances\')->select(\'user_id\')->where(\'d         


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