Some of you have missed Mirek's point, and he has a very valid one.
The problem is circular references.
There are ways around it but no elegant solution yet.

There was discussion some time ago about lazy evaluation of tables.

I also would like to see this solved in web2py.

Denes.


On Nov 11, 10:36 am, Mirek Zvolský <[email protected]> wrote:
> >> Here's a link to the section in the book:
> >>http://www.web2py.com/book/default/chapter/06#Self-Reference-and-Aliases
>
> Yes, I know this, and from that reason I always use 'reference..'
> style syntax.
>
> However this is about very special foreign keys, which targets to same
> table (to the primary key in same table).
>
> And if there is some cycle in joins in the model (and of course it
> always is, except of very, very simple models), this will not help.
> And there is realy no solution for this in web2py ??

Reply via email to