Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlalchemy filter by relationship

patients = Patient.query.filter(Patient.mother.has(phenoscore=10))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sqlalchemy #filter #relationship
ADD COMMENT
Topic
Name
5+4 =