SQLALCHEMY storing a list of rows in a table

Using SQLAlchemy I have to store the list of string values ​​in a separate table. This separate table will only contain the primary key of the first table and a list of string values. How can this be classified in a classical way? I cannot change the class as it is generated from xsd.

+3


source to share


1 answer


You have to add every entry for every item in your list. You can implement "One to Large" between these two tables.



+1


source







All Articles