mdipierro wrote:
> It should not be too difficult to support this in web2py
> 
> What about the syntax:
> 
> db.define_view('myview',db.Field('col1'),db.Field('col2'),select=db
> (...)._select(....))
> 
> and access it as a table db.myview as a normal table.
> A view would be a special table that does not have an "id" field and
> does not support insert.
> Comments? Suggestions?

^ This is why I love web2py (well *one* reason anyway) :)

Nicol

-- 
Calm a llama down
Calm a llama Deep down in the ocean blue
Like a barnacle sitting in a tight place
Laughing like a monkey arm
Pulling like a china boy

Carraway
Carraway
Carraway
Noise

Boing Tikka Masala
Boing Tikka Masala

Ooh tooth, tooth


--~--~---------~--~----~------------~-------~--~----~
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