On 4月24日, 下午5时09分, [EMAIL PROTECTED] wrote:
> orm-wise, u can probably use MapperExtension.before_insert(), and set
> up the value there. but this is worst as speed, synchronisation etc.

Seems workable. I will try this. Although a solution on the SQL level
would be better.

> At lower level (SQL) - wait for other answers.
> There were some threads about using sql-functions for primary keys,
> see last week or so.

I tried to use a default sql-function, but the problem is again that I
can find no way to pass a column as parameter to the sql function.


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