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
As you can see to remove the table name from the column the method is splitting by dot or space and then take the last item.
I know that the regex should check for space not within `` because that is used to allow for having column names with space but i do not know how to update the regex.
The text was updated successfully, but these errors were encountered:
Description:
When using the query builder to pluck some column with a space an error will occur.
For exemple
Will give this error
I found the source of the bug in this method
stripTableForPluck()
of the query builderframework/src/Illuminate/Database/Query/Builder.php
Line 2313 in fc844ce
As you can see to remove the table name from the column the method is splitting by dot or space and then take the last item.
I know that the regex should check for space not within `` because that is used to allow for having column names with space but i do not know how to update the regex.
The text was updated successfully, but these errors were encountered: