I want to use an alias for the order by clause in ...
# ktor
j
I want to use an alias for the order by clause in Exposed Kotlin like so:
Copy code
6371 * ACOS(COS(RADIANS(:latitude)) * COS(RADIANS(`lat`)) * COS(RADIANS(:longitude) - RADIANS(`lng`)) + SIN(RADIANS(:latitude)) * SIN(RADIANS(`lat`))) AS `distance`
Anyone with an idea on how to implement this?
c
no idea but there's an #exposed channel FYI 🙂
j
TY @crummy