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
It's automatically prefixed to make it easier to add the alias after the fact without changing the entire query (when used in models etc) - when joining another table and so on.
It happening because the query builder doesn't recognize the alias docDate. Maybe the feature should be optional or have the alias automatically parsed from any raw statements.
If the table has alias defined, the
having()
method adds the prefix before thekey
.I think it shouldnt.
I have the error:
Unknown column 'p.docDate' in 'having clause'
The text was updated successfully, but these errors were encountered: