Re: [sqlalchemy] custom compiler for GenericFunction

2017-10-23 Thread Антонио Антуан
Yes, it works. Thank you. пн, 23 окт. 2017 г. в 17:43, Mike Bayer : > On Mon, Oct 23, 2017 at 6:40 AM, Антонио Антуан > wrote: > > Hello guys. > > > > I try to make my own GenericFunction with default compiler and custom > > compiler for particular

Re: [sqlalchemy] custom compiler for GenericFunction

2017-10-23 Thread Mike Bayer
On Mon, Oct 23, 2017 at 6:40 AM, Антонио Антуан wrote: > Hello guys. > > I try to make my own GenericFunction with default compiler and custom > compiler for particular dialect. As you see below, always used custom > compiler: > > from sqlalchemy import func, create_engine,

[sqlalchemy] custom compiler for GenericFunction

2017-10-23 Thread Антонио Антуан
Hello guys. I try to make my own GenericFunction with default compiler and custom compiler for particular dialect. As you see below, always used custom compiler: from sqlalchemy import func, create_engine, Integer from sqlalchemy.ext.compiler import compiles from sqlalchemy.orm import