I am using Web2py on an appengine project and each of my tables include two 
'datetime' fields cDate and mDate to record when the record was created and 
modified respectively.

Last time I used Web2py I'd check if  a record existed and call insert() or 
update_record() appropriately.

Now, I can potentially use update_or_insert() but I don't see how I can 
pass in cDate and mDate for "insert" but mDate only for "update_record"

Does web2py have create/modify fields like it adds an "id" to all tables 
and handle this for me?

-- 
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/d/optout.

Reply via email to