3 ms·
Define “use sql”? Most of the time on $client project we use a query builder, so it’s expressing the intended query as methods. You’d have a hard time using i
by stephenr 6y ago
Define “use sql”?
Most of the time on $client project we use a query builder, so it’s expressing the intended query as methods.
You’d have a hard time using it without understanding what operations you want - it just handles all the repetitive stuff for you.
Then there’s times when we need a query that’s too complex for what the QB methods support, so we use the custom query mode, where we can mix specific parts of a custom query with some of the stuff the QB generates.