Re: [SQLObject] sqlobject - python question/issue
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: bruce <bed...@ea...> - 2007-12-30 21:33:25
|
Hi Petr.. Thanks for the replies.. In my case, the ID is used to store a generated uuid, as a completely = unique string. The overall process, is that I have multiple systems, and = they each run a local process, with a local db/tbl structure.. I then = reconcile all the processes on a centralized mysql db process at a later = time..=20 My process enforces that the ID is essentually unique across all my = systems. I don't want to change this approach. Nor do I simply want to = have an ID that's an int, simply to use SQLObject... So.. my goal is to be able to use sqlobject to interface with the = existing mysql db/tbl, and to be able to modify/handle an id that's a = string... thanks!!! I don't want to=20 -----Original Message----- From: pet...@gm... [mailto:pet...@gm...]On = Behalf Of Petr Jake=C5=A1 Sent: Sunday, December 30, 2007 1:06 PM To: bruce Cc: sql...@li... Subject: Re: [SQLObject] sqlobject - python question/issue One more thing.=20 If it is possible I strongly recommend to use ID which has "no meaning" = and the best choice is an integer of course!!! (Try to find somes = articles about IDs etc. on the web) So using automaticaly generated IDs (it does not matter if it is = generated by your code or by SQLobject) is highly recommended.=20 Petr |