How to select from a function with parameters? - Kysely