How to add size of the postgres array in SQLAlchemy?
Like SQL type Integer[2]:
column = Column(postgresql.ARRAY(Integer), size=2)
How to add size of the postgres array in SQLAlchemy? Like SQL type Integer[2]:
| |||
feedback
|
In PostgreSQL you just define the column as ARRAY of some base type, like
| |||
feedback
|