Fix a filtering function inside a postgresql function script
$30-250 USD
Paid on delivery
We have a postgresql function that selects from tree tables.
Now we also have a "filter" field telling if we should return data from all tree tables, or just one of them.
Therefore we need some sort of
IF filter = 'case 1' OR filter = 'case 2' THEN
SELECT ....
IF filter = 'case 1' OR filter = 'case 3' THEN
SELECT ....
IF filter = 'case 1' OR filter = 'case 4' THEN
SELECT ....
Since I'm not that good with Postgres I was hoping someone can have a look at this.
Thanks.
Project ID: #17468537
About the project
10 freelancers are bidding on average $77 for this job
Hello how are you ? I hope you are well, I am very interested in your project and in solving your query problem I have enough experience in postgresql I have made many queries, triggers, views, complete development of More
If your script use language plpgsql, just copy to me, I will help you to fixed. If it do not take more time, I can free for you.
I will solve your problem! We need to have a discution to clarify some problems and then I will solve your problem!