Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

query builder laravel

use IlluminateDatabaseEloquentBuilder;

public function scopeFakePersons(Builder $query): Builder
{
  return $query->where('is_fake', 1);
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #query #builder #laravel
ADD COMMENT
Topic
Name
1+2 =