https://kotlinlang.org logo
#ktor
Title
# ktor
j

Jeff

06/10/2021, 9:14 AM
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

crummy

06/10/2021, 9:14 AM
no idea but there's an #exposed channel FYI 🙂
j

Jeff

06/10/2021, 9:17 AM
TY @crummy
2 Views