Re: [sqlalchemy] Custom type compilers interplace with with_variant

2018-11-06 Thread Mike Bayer
On Tue, Nov 6, 2018 at 6:11 PM 'Van Klaveren, Brian N.' via sqlalchemy wrote: > > Hi, > > I want to create a custom type for TINYINT and DOUBLE. > > I've defined them as custom types. > > I want to use with_variant for them, so that in sqlite they print out as > TINYINT and DOUBLE. > > But I

[sqlalchemy] Custom type compilers interplace with with_variant

2018-11-06 Thread 'Van Klaveren, Brian N.' via sqlalchemy
Hi, I want to create a custom type for TINYINT and DOUBLE. I've defined them as custom types. I want to use with_variant for them, so that in sqlite they print out as TINYINT and DOUBLE. But I also want them to use the variants defined for other databases, like Oracle and Postgres. The