[Sqlalchemy-tickets] Issue #3540: @Column updatable and/or insertable (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
|
From: Arcadiy I. <iss...@bi...> - 2015-09-23 23:41:08
|
New issue 3540: @Column updatable and/or insertable https://bitbucket.org/zzzeek/sqlalchemy/issues/3540/column-updatable-and-or-insertable Arcadiy Ivanov: In JPA in addition to *nullable* supported by SQLAlchemy the specification supports attributes **updatable** and **insertable**, allowing to have non-updatable and non-insertable columns that never appear in UPDATE or INSERT statements respectively: http://docs.oracle.com/javaee/7/api/javax/persistence/Column.html Reading documentation I can figure out whether this capability, at least for **updatable** columns already exists or the only thing you can do is to specify a default updatable value somehow. It's essential for us to make sure that some columns once inserted are never updated, or are never inserted or updated, or never inserted. |