You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a selectRaw method for query builder, I think this should be renamed to addSelectRaw, so it will be consistent with addSelect(DB::raw(...)) as documentation says.
selectRaw feels more like the raw version of the select method itself.
I suggest we deprecate selectRaw and add a new addSelectRaw method.
This discussion was converted from issue #34236 on September 09, 2020 19:07.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
There is a
selectRaw
method for query builder, I think this should be renamed toaddSelectRaw
, so it will be consistent withaddSelect(DB::raw(...))
as documentation says.selectRaw
feels more like the raw version of theselect
method itself.I suggest we deprecate
selectRaw
and add a newaddSelectRaw
method.Beta Was this translation helpful? Give feedback.
All reactions