> Using the DAL for selects can make things easier, though using executesql 
> can be a bit faster (especially for large numbers of recrods) because it 
> doesn't parse the results into a Rows object (of course, then you lose the 
> benefits of working with Rows and Row objects).
>

Of course, the other benefit of the DAL is that it is an *abstraction* layer, 
so the code is portable across different database backends. If you write 
your own SQL, it might not be portable if you decide to change your data 
store.

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