簡體   English   中英

調用成員函數where()對整數

[英]Call to a member function where() on integer

我收到此錯誤:

調用成員函數where()對整數

當我運行此代碼時:

DB::table('level_one_models')
  ->increment('followers', 1)
  ->where('active', '=', 1);

我究竟做錯了什么?

撥打whereincrement

DB::table('level_one_models')
  ->where('active', 1)
  ->increment('followers', 1);
$org = organization_model::where('status',1)
->count('I'd);
return view('home')
->with('org',$org);

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM