Re: [web2py] Re: DAL and DB VIEWS

2018-10-29 Thread Ben Duncan
Ok, found the answer ... https://groups.google.com/forum/#!topic/web2py/DCsnCkQnIoA On Mon, Oct 29, 2018 at 12:27 PM Ben Duncan wrote: > I'm thinking it should be no different than defining a table, since these > are all external / predefined tables. > The difference is that Postgres handles

Re: [web2py] Re: DAL and DB VIEWS

2018-10-29 Thread Ben Duncan
I'm thinking it should be no different than defining a table, since these are all external / predefined tables. The difference is that Postgres handles the sql and I'm guessing with DAL, it's just data returned. Ben Duncan On Mon, Oct 29, 2018 at 12:14 PM 黄祥 wrote: > had you try DAL's execute

[web2py] Re: DAL and DB VIEWS

2018-10-29 Thread 黄祥
had you try DAL's execute sql ? ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#executesql best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -