>
> According to wikipidia, DAL-object-attributes are not referencing an 
> object-graph in memory, as ORM ones do.
>
You may say anything to avoid admitting that, but it would sill be the case.
>
First, as far as I can tell, Wikipedia does not say that about DAL's (it 
doesn't say all DAL's *do* have object attributes that reference an 
object-graph in memory, but nor does it say they don't or can't *in 
principle* have such attributes). Furthermore, it doesn't even appear to 
say that about ORM's. Second, even if Wikipedia did say that, it would have 
no bearing on this discussion, as we have not been discussing Wikipedia's 
definitions of DAL and ORM, but rather the actual web2py DAL and the actual 
SQLA ORM. web2py does have Reference and LazySet fields that allow you to 
traverse the relations. Their retrieved values do not stay in memory, but 
that doesn't mean such persistence could not in principle be implemented. I 
won't speak for all DAL's, but what you describe could be implemented at 
least in the web2py DAL. You may say anything to avoid admitting that, but 
it will still be the case.
 

> As for lazy-set objects, existing in row-objects and pointing to a 
> backwards-foreign-key records, I dont remember seeing anything about that 
> in the documentation. Can you post a link?
>
http://web2py.com/books/default/chapter/29/06#Recursive-selects

Anthony 

-- 

--- 
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/groups/opt_out.


Reply via email to