I want to create a table in my SQLAlchemy Pyramid app that stores a multidimensional array of values. I'm using PostgreSQL and I know that it has an array type. I'm just not quite sure of how to define the table in my models.py. Maybe something like:
class MyTable:
__tablename__ = 'mytable'
id = Column(Integer, primary_key=True)
text_array = Column([Unicode])
def __init__(self, text_array):
self.text_array = text_array