use a python function as your column default ?

http://www.sqlalchemy.org/docs/metadata.myt#metadata_defaults_oninsert


On Feb 28, 6:00 pm, "askel" <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Is there a way to access current record from DefaultGenerator? I have
> balances table that collect information on daily basis. Whenever a new
> record inserted in that table it has to "inherit" some information
> from previous day record. Of course, I can implement that using SQL-
> server capabilities but I'd rather not go that way.
>
> So basically, I need an access to a record to be inserted when
> generator is asked for a value.
>
> Thanks


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

Reply via email to