Hi all,

I'm looking for a good possibility to handle integer and decimal
arrays in a database. I'm using postgresql, which seems to have array
types; but since I'm not very familiar with sql (or databases at all),
I won't like to fall back to code it directly. So is there any other
easy way to implement this without manually having to create say 20
Integer or DecimalFields? Since the CommaSeparatedIntegerField is a
subclass of CharField, I suppose it will be a char or varchar at db-
level, which doesn't seem to be the best solution regarding space and
speed (or am I wrong here?).

Of course, something like an IntegerArrayField or DecimalArrayField
that creates its db-fields automatically and gives back a python tuple
(or list) would be nice :-)  Does someone know if anything like this
is planned? At least I haven't found a ticket...

Thanks,
Andreas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to