Eloquent firstWhere () method
firstWhereDevelopers A method developed, which is shortcut
This new method is only available in the constructor and cannot be used in the query.
Optimize Redis Multichannel Streaming
Josias Montag provided an optimization for broadcasting to multiple channels in Redis:
At Laravel, it is quite common to send activity to multiple channels at the same time. Currently, all result in multiple broadcast commands that send the same load to the Redis server. This causes unnecessary data transfer (costs), especially if the load is quite large.
Details of this you can check .
At GitHub 6.10.0 and 6.11.0 Between Difference you can see the whole . All version notes for Laravel 6.0 on GitHub v6 change log :
Illuminate\Database\Eloquent\Builder::firstWhere() method ( # 31089 )
- Redis Broadcaster: Stream to multiple channels at a time ( # 31108 )