Why are you using db.sessions instead of db.person in the exmples
below? I feel like I am missing something.

> del db.sessions[0] -> clear table

not explicit so dangerous, imagine del db.sessions[id] and id==0 by
mistake? do you really want to clear the table?

> del db.sessions[id] -> drop row

works, in trunk

> db.sessions[0] = db.sessions(**attrs) -> insert

insert must return a id.

> db.sessions[id]  -> fetch

this works already

> db.sessions[id] = attrs -> update (could contain lambdas for txn)

this works but the lambda part is not implemented yet....

Massimo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to