Skip to content

Commit

Permalink
#115. Remove GROUP BY
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantine Rafikov committed Dec 26, 2022
1 parent 75e5f93 commit 832a2d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/models/gene.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ class GeneCommon(BaseModel):
LEFT JOIN gene_to_ontology ON gene.id = gene_to_ontology.gene_id
LEFT JOIN gene_ontology_to_aging_mechanism_visible ON gene_to_ontology.gene_ontology_id = gene_ontology_to_aging_mechanism_visible.gene_ontology_id
INNER JOIN aging_mechanism ON gene_ontology_to_aging_mechanism_visible.aging_mechanism_id = aging_mechanism.id AND aging_mechanism.name_en != ''
GROUP BY aging_mechanism.id
""",
)
]
Expand Down

0 comments on commit 832a2d5

Please sign in to comment.