質問するログイン新規登録

回答編集履歴

2

修正

2019/06/12 06:58

投稿

CHERRY
CHERRY

スコア25234

answer CHANGED
@@ -1,8 +1,7 @@
1
- 以前、調べたときに下記のドキュメント見つけました。
1
+ 以前、調べたときに下記のドキュメント見つけました。
2
2
 
3
-
4
3
  [How do I map a table that has no primary key?](https://docs.sqlalchemy.org/en/13/faq/ormconfiguration.html#how-do-i-map-a-table-that-has-no-primary-key)
5
4
 
6
5
  > The SQLAlchemy ORM, in order to map to a particular table, needs there to be at least one column denoted as a primary key column; multiple-column, i.e. composite, primary keys are of course entirely feasible as well. These columns do not need to be actually known to the database as primary key columns, though it’s a good idea that they are. It’s only necessary that the columns behave as a primary key does, e.g. as a unique and not nullable identifier for a row.
7
6
 
8
- と記載されていたので、無理ではないかと判断しています。
7
+ と記載されていたので、無理と判断しています。

1

修正

2019/06/12 06:58

投稿

CHERRY
CHERRY

スコア25234

answer CHANGED
@@ -1,4 +1,4 @@
1
- 以前、探したときに下記のドキュメントが見つけました。
1
+ 以前、調べたときに下記のドキュメントが見つけました。
2
2
 
3
3
 
4
4
  [How do I map a table that has no primary key?](https://docs.sqlalchemy.org/en/13/faq/ormconfiguration.html#how-do-i-map-a-table-that-has-no-primary-key)