0

I'm trying to convert this query to SQLAlchemy

SELECT count(*) FILTER(where condition) as cnt FROM table

Can someone give me minimal example of this? Can't find anything in the docs.

double-beep
  • 5,031
  • 17
  • 33
  • 41
karambaq
  • 631
  • 3
  • 9
  • 24

0 Answers0