[sqlalchemy] sqlalchemy returns None for sqlite tables which already have data

2023-05-22 Thread m7mđ ĕğý
Hello mates, As my last msg had a so bad format i will keep the link of my original question on stackoverflow : https://stackoverflow.com/questions/76304295/sqlalchemy-returns-none-for-sqlite-tables-which-already-have-data i hope i get answers from you mates. Thanks -- SQLAlchemy -

[sqlalchemy] sqlalchemy returns None for sqlite tables which already have data

2023-05-22 Thread m7mđ ĕğý
there is something wrong with those two sqlite tables: select method returns none but the table already have data. is that because product class is Primary key and a foreign key at the same time? - i use sqlalchemy - those two tables returns none every time i try to query them. -