On May 25, 2006, at 1:39 PM, John Siracusa wrote:
On 5/25/06, Guillermo Roditi <[EMAIL PROTECTED]> wrote:
I'd like to alter Rose::DB to be able to tabe a subref as a
default value
for a column in the table object classes so that upon insertion of
a new row
the default value can be dinamically calculated.
Yeah, I've been considering that feature. It's currently not possible
but I may add it. That said...
If you do create that, it would be really nice to implement it using
postgres type NOW() behavior for mysql
ie: mysql NOW() is whenever a NOW() is executed. postgres NOW() is
the transaction start time (though you can override with a standard
function for the actual time).
what i was thinking is this:
mysql-> connect
mysql-> select NOW()
rose-> store NOW() as default dynamic value
user-> override time or leave as-is
just a thought....
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object