Re: [sqlalchemy] mysql table partitioning in SA

2013-07-30 Thread Michal Nowikowski
It works! Thanks, Godfryd On Friday, July 26, 2013 4:31:54 PM UTC+2, Michael Bayer wrote: > > these keywords aren't built into the mysql options at the moment so here > is a @compiles recipe: > > from sqlalchemy import * > from sqlalchemy.schema import CreateTable > from sqlalchemy.ext.compiler

Re: [sqlalchemy] mysql table partitioning in SA

2013-07-26 Thread Michael Bayer
these keywords aren't built into the mysql options at the moment so here is a @compiles recipe: from sqlalchemy import * from sqlalchemy.schema import CreateTable from sqlalchemy.ext.compiler import compiles @compiles(CreateTable, "mysql") def add_partition_scheme(element, compiler, **kw): t

[sqlalchemy] mysql table partitioning in SA

2013-07-26 Thread Michal Nowikowski
Hello, MySQL supports partitioning: http://dev.mysql.com/doc/refman/5.5/en/partitioning-overview.html It requires special CREATE TABLE statement. Is it possible to make use of this partitioning in SA? How to do this? Regards, Godfryd -- You received this message because you are subscribed to t