Re: [web2py] Will web2py support database view? When?

2010-08-26 Thread Mohamed Zenadi
Hey, I don't know if you can just follow the Django way, in which you simply create a model for your db view. Cheers On Thu, Aug 26, 2010 at 7:05 AM, heidan wrote: > hi, > > Is there a way to work with database views using the DAL? I've got a > bunch of views in my database that handle common

Re: [web2py] Will web2py support database view? When?

2010-08-26 Thread Vasile Ermicioi
if you can query your views with sql that should be possible with dal too, just declare your views as web2py tables and set migrate=False (no need to create tables) something like db.define_table('your_view_name', Field('field1'), Field('field2'), migrate=False)

[web2py] Will web2py support database view? When?

2010-08-25 Thread heidan
hi, Is there a way to work with database views using the DAL? I've got a bunch of views in my database that handle common queries. BUt didn't see good answers and neither find interface in DAL. Is there any plan to support database view and when? Anyway accessing view is performing better than qu