Join Slack
Powered by
Hello. Is there any way to determinate "LIMIT" by ...
# exposed
r
Rafał Kuźmiński
11/10/2023, 3:19 PM
Hello. Is there any way to determinate "LIMIT" by expression in Exposed? In plain SQL from Postgres I can do subquery and CASE WHEN to calculate current limit, but "limit" method in Exposed accepts only integer
g
Giuliopime
11/10/2023, 4:23 PM
You can always use raw sql if stuff is not supported in exposed
https://github.com/JetBrains/Exposed/wiki/FAQ#q-how-to-get-a-plain-sql-query-which-will-be-executed
2
Views
Open in Slack
Previous
Next