How to enter "desc" parameter in postgresql function?
I need to enter value for direction of sort in a function, but how to do it? Tried like that, but this doesn't work of course. create or replace function invest_ideas (order_by_direction varchar default 'desc') create or replace function invest_ideas…