there isn't any order defined between left and "normal" joins. the exact same select would be created either with
db().select(left=[], join=[]) or db().select(join=[], left=[]) If that's what you're pointing, you're out of luck ^_^ On Tuesday, May 6, 2014 10:19:51 PM UTC+2, Richard wrote: > > Hello, > > I just struggle more than I would with this : > > db(...).select(..., > left=[left1, > left2, > ...], > join=join) > > I would expect that the JOIN be after the LEFT JOINS in SQL generated, > since one of my left join was required to be before the join... > > Is there a reason why web2py change the order of join and left join ? > > Thanks > > Richard > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.