Re:PHP in 2023
by spiderfarmer on Tuesday January 17, 2023 @08:08AM
(#34411942)
I'm rebuilding an old online community / forum in the TALL stack. It's awesome. I do have to do a lot of raw sql query building to keep it performant though.
[ Parent
| on HN ]
Re:PHP in 2023
by BuckyBeaver on Tuesday January 17, 2023 @08:17AM
(#34412019)
So do you just not use Laravel’s ORM?
It's possible to combine query builder, orm and raw sql any way you want
Re:PHP in 2023
by spiderfarmer on Tuesday January 17, 2023 @08:23AM
(#34412066)
I do use it, but for some of the more complex queries I use the Raw SQL part of it.
Re:PHP in 2023
by BuckyBeaver on Tuesday January 17, 2023 @08:28AM
(#34412116)
OK, good to know that you can do both.
Re:PHP in 2023
by francislavoie on Tuesday January 17, 2023 @12:20PM
(#34415370)
It has a full-fledged query builder: https://laravel.com/docs/9.x/queries