1 year ago

Purpose of Builder query

Posted 1 year ago by oroalej


Just want to ask what is the purpose of Builder in

$model::when(condition, function(Builder $query){

Because sometimes I get an error using it and by removing it fixed the issue.

Please sign in or create an account to participate in this conversation.