> Let's keep at this - for as I read, and have all my reactions (both
> positive, and spotting potential trouble) one thing that is beginning to
> emerge - this has the potential to be very useful.

Thanks Yarko, forgive my lack of clarity but this is still a Swiss
cheese to me, full of holes (I wish I had Massimo's brain).
As a I said, this need to be refined, a lot, and if the end product
does not bear any resemblance to the original post, that is fine by me
too.

As you point out, this calls for an external table definition.

Some snips from http://en.wikipedia.org/wiki/Database_view :

In database theory, a view consists of a stored query accessible as a
virtual table composed of the result set of a query. Unlike ordinary
tables (base tables) in a relational database, a view does not form
part of the physical schema: it is a dynamic, virtual table computed
or collated from data in the database. Changing the data in a table
alters the data shown in subsequent invocations of the view.

Just as functions (in programming) can provide abstraction, so
database users can create abstraction by using views.

Database practitioners can define views as read-only or updatable. If
the database system can determine the reverse mapping from the view
schema to the schema of the underlying base tables, then the view is
updatable. INSERT, UPDATE, and DELETE operations can be performed on
updatable views. Read-only views do not support such operations
because the DBMS cannot map the changes to the underlying base tables.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to