Re: [sqlalchemy] How to add comments inside a big query using Classical SQLAlchemy?

2017-10-27 Thread Matthew Moisen
Hi Mike, Thanks so much - this is excellent. Best regards, Matthew On Fri, Oct 27, 2017 at 10:30 AM, Mike Bayer wrote: > On Thu, Oct 26, 2017 at 8:23 PM, Matthew Moisen > wrote: > > Hi Mike, > > > > Thanks for your reply. > > > > I now have

Re: [sqlalchemy] How to add comments inside a big query using Classical SQLAlchemy?

2017-10-27 Thread Mike Bayer
On Thu, Oct 26, 2017 at 8:23 PM, Matthew Moisen wrote: > Hi Mike, > > Thanks for your reply. > > I now have comments activated for my joins and exists and some other > functions. I'm still at a loss for how to add comments to an indivdiual > column, function, or CASE in the

Re: [sqlalchemy] How to add comments inside a big query using Classical SQLAlchemy?

2017-10-26 Thread Matthew Moisen
Hi Mike, Thanks for your reply. I now have comments activated for my joins and exists and some other functions. I'm still at a loss for how to add comments to an indivdiual column, function, or CASE in the select statment. Would you mind giving me a pointer? Any idea how I can go about monkey

Re: [sqlalchemy] How to add comments inside a big query using Classical SQLAlchemy?

2017-10-04 Thread Mike Bayer
On Wed, Oct 4, 2017 at 5:57 PM, Matthew Moisen wrote: > I'm using Classic SQLAlchemy to create SQL statements, which are later > formatted with sqlparse and stored in a file. I'm not executing the SQL > through SQLAlchemy. > > > Some of the queries have complexities that would

[sqlalchemy] How to add comments inside a big query using Classical SQLAlchemy?

2017-10-04 Thread Matthew Moisen
I'm using Classic SQLAlchemy to create SQL statements, which are later formatted with sqlparse and stored in a file. I'm not executing the SQL through SQLAlchemy. Some of the queries have complexities that would benefit from a comments. Is there any way to get SQLAlchemy to output a query