Re: [sqlalchemy] Call Microsoft SQL Server static methods with double colons

2019-11-26 Thread Sebastian Eckweiler
Hi thanks for the quick reply - this works just fine. The whitespace appears to be okay. It also helped solving the next issue of calling functions with method-like dot-notation like in: https://docs.microsoft.com/en-us/sql/t-sql/spatial-geography/stastext-geography-data-type?view=sql-server-ver

Re: [sqlalchemy] Call Microsoft SQL Server static methods with double colons

2019-11-26 Thread Mike Bayer
On Tue, Nov 26, 2019, at 10:45 AM, Sebastian Eckweiler wrote: > Hi there, > > I'm trying to do with Microsoft SQL Server what this snippet: > https://docs.sqlalchemy.org/en/13/core/custom_types.html#types-sql-value-processing > does for PostGIS. > > Unfortunately in MSSQL "ST_GeomFromText" does

[sqlalchemy] Call Microsoft SQL Server static methods with double colons

2019-11-26 Thread Sebastian Eckweiler
Hi there, I'm trying to do with Microsoft SQL Server what this snippet: https://docs.sqlalchemy.org/en/13/core/custom_types.html#types-sql-value-processing does for PostGIS. Unfortunately in MSSQL "ST_GeomFromText" does not exist in the default function namespace, but is a static method of the g