Mutable ARRAY

22 views
Skip to first unread message

Alex Grönholm

unread,
May 3, 2014, 9:02:04 AM5/3/14
to sqlal...@googlegroups.com
There doesn't seem to be a class like MutableDict that provides equivalent functionality for the ARRAY column type. Any particular reason why? I'd like to be able to do .append() and .remove() on an array column. Do I have to roll my own?

Michael Bayer

unread,
May 3, 2014, 9:04:27 AM5/3/14
to sqlal...@googlegroups.com
I'd like to provide mutablearray though, so if someone can roll it with some tests it can go right in.

Sent from my iPhone

On May 3, 2014, at 9:02 AM, Alex Grönholm <alex.g...@nextday.fi> wrote:

There doesn't seem to be a class like MutableDict that provides equivalent functionality for the ARRAY column type. Any particular reason why? I'd like to be able to do .append() and .remove() on an array column. Do I have to roll my own?

--
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.
To post to this group, send email to sqlal...@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Alex Grönholm

unread,
May 3, 2014, 9:05:39 AM5/3/14
to sqlal...@googlegroups.com
03.05.2014 16:04, Michael Bayer kirjoitti:
I'd like to provide mutablearray though, so if someone can roll it with some tests it can go right in.

I'll look into it.
Sent from my iPhone

On May 3, 2014, at 9:02 AM, Alex Grönholm <alex.g...@nextday.fi> wrote:

There doesn't seem to be a class like MutableDict that provides equivalent functionality for the ARRAY column type. Any particular reason why? I'd like to be able to do .append() and .remove() on an array column. Do I have to roll my own?
--
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.
To post to this group, send email to sqlal...@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "sqlalchemy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sqlalchemy/QP4IBjzk9i8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sqlalchemy+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages