RE: [sqlalchemy] tsvector

2012-12-06 Thread Gery .
if it is NOT necessary. Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie NICHT, wenn es NICHT notwendig ist. From: mike...@zzzcomputing.com Subject: Re: [sqlalchemy] tsvector Date: Wed, 5 Dec 2012 18:31:37 -0500 To: sqlalchemy@googlegroups.com sanjay's approach there is hardcoded SQL

Re: [sqlalchemy] tsvector

2012-12-05 Thread Michael Bayer
sanjay's approach there is hardcoded SQL which isn't necessary with SQLAlchemy (though always supported as a quick approach to something). tsvector here as a type can be implemented with UserDefinedType: http://docs.sqlalchemy.org/en/rel_0_8/core/types.html#sqlalchemy.types.UserDefinedType and