Use pickle to serialize the list, then use any DB that takes strings of arbitrary length. You will probably be frustrated if you seek a (useful) DB that has native support for such things.
Cheers On Wednesday, March 13, 2013, Dave Angel wrote: > I presume you meant this for the tutor list. I don't have any answers > for the question. > > > -------- Original Message -------- > Subject: [Tutor] Which databases allow lists as record fields? > Date: Thu, 14 Mar 2013 10:59:27 +1100 > From: DoanVietTrungAtGmail <[email protected]> > To: Dave Angel <[email protected]> > > Dear tutors > > To elaborate on my above question, I mean: Which database (which a Python > program can access) allows a record to have not just simple fields but also > fields that are variable-length lists? > > For my application, records in one database table might have 1 list, those > in another have, say, 4. Each list has a variable number of integers, no > list contains embedded lists. > > The purpose of asking this question is to know which database to learn. > > Before asking this question, I looked at Alan Gauld's SQLite > tutorial<http://www.alan-g.me.uk/tutor/tutdbms.htm>and the list > of data types in W3school's SQL > tute<http://www.w3schools.com/sql/sql_datatypes.asp>, > plus a few Google searches. > > Trung Doan > > > > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
