Hi,

With TurboGears, Elixir, and PostgreSQL, is there an easy way to take
> advantage of the views I've already created?  I'm not the most savvy
> SQL user, but have worked out these ugly-looking SQL select
> statements, and would like them not to go to waste.
>

Create a table that matches the name of the view, and set it to autoload (
i.e. get the structure from the database).

This mostly works for me, although there are some corner cases.

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to