正在加载视频...

视频加载失败

Laravel 10.47 got some sweet new updates to the query builder!

38,089 次观看 • 2 年前 •via X (Twitter)

10 条评论

Laravel News 的头像
Laravel News2 年前

Read more about this release here:

Rafael Grube (Rafilzi) 的头像
Rafael Grube (Rafilzi)2 年前

I always wondered why Laravel didn't have a feature like this yet. Now I can rest in peace.

Laravel News 的头像
Laravel News2 年前

Haha. Laravel always provides.

Philip Moore 的头像
Philip Moore2 年前

Really nice. Much more readable too 🫶

Laravel News 的头像
Laravel News2 年前

Agree 💯!

viktr 🦀 的头像
viktr 🦀2 年前

LARAVEL is all about making life easier.

Laravel News 的头像
Laravel News2 年前

💯

Steve Bauman 的头像
Steve Bauman2 年前

Dope!

Rafał B 的头像
Rafał B2 年前

Instead of using or in () Select * from table where ( phone like "%search%" OR name like "%search%") Use : Select * from table where phone like "%search%" Union Select * from table where name like "%search%" Should be much faster.

Laravel News 的头像
Laravel News2 年前

Yeah if you want raw performance it’s probably best to write the sql by hand. A lot of ORMs probably struggle with making every query faster.

相关视频