Thread: [SQLObject] Creating composite fields
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Chris C. <eve...@gm...> - 2006-08-07 16:05:14
|
Hello all! I'm in the process of developing a tracking application. We are tracking 3 data elements for each of 13 characteristics. The 3 elements are: status = Enum('Present Correct', 'Present Incorrect', 'Missing') data_found = StringCol() corrected_data = StringCol() Is there a way to have sqlobject generate this structure w/o having to create 39 elements in my table? I suppose I could use 1-to-1 joins for each record, but that seems less than elegant as well. Thanks! Chris -- "A little government and a little luck are necessary in life, but only a fool trusts either of them." -- P. J. O'Rourke |