On 11/18/2012 03:48 PM, Michael Bayer wrote:
There's a lot of documentation on this, not sure how you're not finding it,
unless you're not using 0.8 (which is required):
1. documentation for SQL bind/result column processing:
Hello list,
I can't find an example for a user defined type that has to produce
custom SQL. What I want is to implement a PostGIS geometry column and it
basically has to do two things:
1. Implement own SQL for insert/update, to produce for example:
INSERT INTO (..., xyzzy, )
There's a lot of documentation on this, not sure how you're not finding it,
unless you're not using 0.8 (which is required):
1. documentation for SQL bind/result column processing:
http://docs.sqlalchemy.org/en/latest/core/types.html#types-sql-value-processing
2. a full example using PostGIS: