5
Tôi cần thực thi 2 chọn trong SQLAlchemy. Ví dụ:Liên kết SQLAlchemy với số cột khác nhau
select1 = Session.query(col1, col2, col3, col4).filter(...)
select2 = Session.query(col1, "", "", col4).filter(...)
result = select1.union(select2).all()
Vấn đề là vậy. Tôi không biết cách viết giá trị "" trong select2 với SQLAlchemy.
Cảm ơn.