[sqlalchemy] scalar() works with outerjoin()?

2015-02-01 Thread Dennis
Does scalar() work with outerjoin()? I have an outerjoin sql statement that will only return 1 row. I used scalar(), but then I could not get the column values of the 2nd table. I fixed it, but just wondering if scalar() and outerjoin() are not to be mixed in the same sql statement? -- You

Re: [sqlalchemy] scalar() works with outerjoin()?

2015-02-01 Thread Dennis Fogg
oh, I found the function: first() which seems to work fine with joined queries. On Mon, Feb 2, 2015 at 12:21 AM, Dennis dennisf...@gmail.com wrote: Does scalar() work with outerjoin()? I have an outerjoin sql statement that will only return 1 row. I used scalar(), but then I could not get