Re: [sqlalchemy] Re: join relationship

2018-02-04 Thread sum abiut
Thanks for pointing me to the resource. will check that out. On Fri, Feb 2, 2018 at 7:36 AM, Jonathan Vanasco wrote: > at the very least, you are not using a "join" on the tables. > > i suggest first going through the tutorial again, and paying attention to > the section

Re: [sqlalchemy] check for None with == , within join, raises argument error

2018-02-04 Thread Jonathan Vanasco
On Sunday, February 4, 2018 at 11:07:49 AM UTC-5, Mike Bayer wrote: > > You test for NULL with == None. I have no idea what your issue is can you > please share complete mappings, complete stack trace and a reproducible > example? Thanks > This definitely needs a reproduction testcase to

[sqlalchemy] Re: Doubt about server_onupdate=FetchedValue()

2018-02-04 Thread Lele Gaifax
Mike Bayer writes: > That's the normal mechanics of how the ORM does inserts. For columns that > have no default value, it supplies None explicitly. There's some obscure > history behind that and I'm not sure there's much of a rationale beyond > that it makes it

Re: [sqlalchemy] check for None with == , within join, raises argument error

2018-02-04 Thread Mike Bayer
You test for NULL with == None. I have no idea what your issue is can you please share complete mappings, complete stack trace and a reproducible example? Thanks On Feb 4, 2018 9:53 AM, "Rajesh Rolo" wrote: I have a query which tries to get list of users for a particular