apdevelop / linq2db-postgis-extensions

.NET Standard 2.0 library with extensions methods for PostGIS geometries methods access with linq2db
MIT License
18 stars 5 forks source link

Different method definition on various versions PostGIS #22

Open sharkAndshark opened 3 years ago

sharkAndshark commented 3 years ago

Notice that some methods have different definitions on various versions PostGIS,eg

PostGIS 2.5

geometry ST_GeneratePoints( g geometry , npoints numeric );

PostGIS 3.0

geometry ST_GeneratePoints( g geometry , npoints integer ); geometry ST_GeneratePoints( g geometry , npoints integer , seed integer );

Maybe comment tag or attribution about supported version should be added?

sharkAndshark commented 3 years ago

No idea about best practice on this

apdevelop commented 3 years ago

Adding comment with min version will be enough... not sure, how to do it better

sharkAndshark commented 3 years ago

ok.