How to define a table without primary key with SQLAlchemy?

There is only one way that I know of to circumvent the primary key constraint in SQL Alchemy – it’s to map specific column or columns to your table as a primary keys, even if they aren’t primary key themselves.
http://docs.sqlalchemy.org/en/latest/faq/ormconfiguration.html#how-do-i-map-a-table-that-has-no-primary-key.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)