K
Kysely•13mo ago
ohmi

Using column aliases in `.where()`

This is a supported feature in MySQL, but having issues here: https://kyse.link/?p=s&i=xxyMrfnfJ6CjbRlQZpMA Do I need to do something special for it to recognize the alias?
Solution:
Hey 👋 Are you sure this is supported in MySQL? https://dev.mysql.com/doc/refman/8.0/en/problems-with-alias.html...
Jump to solution
3 Replies
Solution
Igal
Igal•13mo ago
Hey 👋 Are you sure this is supported in MySQL? https://dev.mysql.com/doc/refman/8.0/en/problems-with-alias.html
ohmi
ohmi•13mo ago
i may have seen the You can use the alias in GROUP BY, ORDER BY, or HAVING clauses to refer to the column part of that page and jumped the gun woops, sorry
Igal
Igal•13mo ago
no worries
Want results from more Discord servers?
Add your server
More Posts