On Sun, Nov 3, 2013 at 5:30 AM, Jussi Piitulainen
<jpiit...@ling.helsinki.fi> wrote:
> Suppose a database allowed structured values like lists of strings,
> lists of numbers, or even lists of such lists and more. Then it would
> actually be a Python issue how best to support that database.

PostgreSQL supports some higher-level structures like arrays.
Personally, though, I think the most general representation of a
Python list in a database is either a varchar field with some form of
structure (eg the repr of a list), or a separate table with a foreign
key back to this one.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to