IMvhO:
- table / columns are DB-side terms, relations -
sqlalchemy.orm.relation() - are not really. They are more ORM.
Foreign keys/Constraints are DB-side, yes.
But if annotate relations, then mappers should follow... as they talk
of mappers and then keys/joins.
TO me, keeping the OO
we were talking conceptually, of course :)
[EMAIL PROTECTED] wrote:
IMvhO:
- table / columns are DB-side terms, relations -
sqlalchemy.orm.relation() - are not really. They are more ORM.
Foreign keys/Constraints are DB-side, yes.
But if annotate relations, then mappers should
Hi,
http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table
shows info as a parameter in the kwargs to a table.
So it does, so it's tables and columns. The column info setting is in the
same page as you sent across, just a bit further up.
What other
hi paul,
the relations should follow, indeed.
thanks again,
alex
Paul Johnston wrote:
Hi,
http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table
shows info as a parameter in the kwargs to a table.
So it does, so it's tables and
i read info is such a table option, but i'm not sure it's not deprecating?
alex bodnaru wrote:
hello friends,
however sa stands at the model foundation of an application, i'd be
interested
to add additional information to some columns/tables/keys.
is there a way to insert arbitrary
Alex,
The info bucket is available just on columns at the moment, and it is a
supported feature. I think we're open to adding it to other types, such as
tables, if someone has a requirement.
My desire for this was exactly the same as yours - the SA model serving as
the authoritative master
hi paul,
thanks for your attention.
http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table
shows info as a parameter in the kwargs to a table.
it would be great if there were info for other objects too. please point me to
the column info setting.
best