CrunchyData / pg_featureserv

Lightweight RESTful Geospatial Feature Server for PostGIS in Go
Apache License 2.0
462 stars 91 forks source link

Function Overloading #160

Open jeff-bradley opened 8 months ago

jeff-bradley commented 8 months ago

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 commented 8 months ago

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).