I have a command that runs in an while(1) loop, which occasionally needs to send an email alert usin...
I'm not sure you need queues to do this I would set a "last_scraped_at" timestamp against...
$dbPost = Post::select('id, name'); if(isset($post['author_id'])) { $dbPost = $dbPost->where(...
I would design this as join rather than putting multiple tables in a DB::raw What sql is it generati...
Your where clauses are not the same: Setter.id = status.setter_id and ->where('setter.id','=','...
On my phone, but you can prefix the field with the table: ->where('categories.id','=',$category_i...
The Laravel portal for problem solving, knowledge sharing and community building.