Re: [sqlalchemy] Is ARRAY supported in MySQL?

2017-10-20 Thread Mike Bayer
On Fri, Oct 20, 2017 at 1:35 PM, sqlalchemy_mysql wrote: > That's correct. MySQL doesn't support. I see people workaround by > serializing it to string/text and store and retrieve so was wondering > SQLAlchemy has some support like that. Seems like NO. You use a TypeDecorator

Re: [sqlalchemy] Is ARRAY supported in MySQL?

2017-10-20 Thread sqlalchemy_mysql
That's correct. MySQL doesn't support. I see people workaround by serializing it to string/text and store and retrieve so was wondering SQLAlchemy has some support like that. Seems like NO. On Friday, October 20, 2017 at 10:25:33 AM UTC-7, Mike Bayer wrote: > > On Thu, Oct 19, 2017 at 6:38 PM,

Re: [sqlalchemy] Is ARRAY supported in MySQL?

2017-10-20 Thread Mike Bayer
On Thu, Oct 19, 2017 at 6:38 PM, sqlalchemy_mysql wrote: > Sorry I don't see any references in doc. I tried using array type but got > this error > > can't render element of type > > Compiler 0x110949e90> can't render element of type 'sqlalchemy.sql.sqltypes.ARRAY'> > > Here

[sqlalchemy] Is ARRAY supported in MySQL?

2017-10-19 Thread sqlalchemy_mysql
Sorry I don't see any references in doc. I tried using array type but got this error can't render element of type Compiler can't render element of type Here is my column defintion sqla.Column(sqla_types.ARRAY(sqla_types.String), default=[], nullable=False) -- SQLAlchemy - The Python