On 14/11/2013 16:52, Richard Vézina wrote:
Johann, what about creating a postgres view with you query and then just
interface it as table in web2py... Of course you will not be able to do
any of CRUD, but you can select/consult you data. I do that for many
usage, for instance get a subset of membership user id, for reporting
(my report is a build up of many different views, it slow but it work
until I hack a function/stored procedure)

Thanks Richard,

I am already using several views. But a view has exactly the same problem as a temporary table - it can be overwritten with different contents or dropped.

Regards
Johann

--
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4699(w)
             Posbus 4668, Tygervallei 7536

     "Submit yourselves therefore to God. Resist the devil,
      and he will flee from you."          James 4:7

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 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