Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Overloading #160

Open
jeff-bradley opened this issue Feb 28, 2024 · 1 comment
Open

Function Overloading #160

jeff-bradley opened this issue Feb 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@jeff-bradley
Copy link

is it possible to overload a function and have the same name but with different parameters? I am able to create both functions and pg_featureserv reads them both but when I check the functions in the UI they both accept the same parameters and when it gets called it only uses the function without the additional parameter.

@dr-jts dr-jts added the question Further information is requested label Mar 4, 2024
@dr-jts
Copy link
Collaborator

dr-jts commented Mar 4, 2024

I don't think this would be easy to implement, since it would require disambiguation logic in the server logic (but happy to be shown wrong).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants